NetworkConstants

public protocol NetworkConstants

Undocumented

  • The height of the first sapling block. When it comes to shielded transactions, we do not need to consider any blocks prior to this height, at all.

    Declaration

    Swift

    static var saplingActivationHeight: BlockHeight { get }
  • Default Name for LibRustZcash data.db

    Declaration

    Swift

    static var defaultDataDbName: String { get }
  • Default Name for Compact Block caches db

    Declaration

    Swift

    static var defaultCacheDbName: String { get }
  • Default name for pending transactions db

    Declaration

    Swift

    static var defaultPendingDbName: String { get }
  • Undocumented

    Declaration

    Swift

    static var defaultDbNamePrefix: String { get }
  • fixed height where the SDK considers that the ZIP-321 was deployed. This is a workaround for librustzcash not figuring out the tx fee from the tx itself.

    Declaration

    Swift

    static var feeChangeHeight: BlockHeight { get }
  • defaultFee(for:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    static func defaultFee(for height: BlockHeight) -> Int64