Configuration
public struct Configuration
Compact Block Processor configuration
Property: cacheDbPath absolute file path of the DB where raw, unprocessed compact blocks are stored. Property: dataDbPath absolute file path of the DB where all information derived from the cache DB is stored.
-
Undocumented
Declaration
Swift
public var cacheDb: URL
-
Undocumented
Declaration
Swift
public var dataDb: URL
-
Undocumented
Declaration
Swift
public var downloadBatchSize: Int
-
Undocumented
Declaration
Swift
public var blockPollInterval: TimeInterval { get }
-
Undocumented
Declaration
Swift
public var retries: Int
-
Undocumented
Declaration
Swift
public var maxBackoffInterval: TimeInterval
-
Undocumented
Declaration
Swift
public var rewindDistance: Int
-
Undocumented
Declaration
Swift
public var walletBirthday: BlockHeight
-
Undocumented
Declaration
Swift
public init(cacheDb: URL, dataDb: URL, walletBirthday: BlockHeight = ZcashSDK.SAPLING_ACTIVATION_HEIGHT)
-
Standard configuration for most compact block processors
Declaration
Swift
static var standard: CompactBlockProcessor.Configuration { get }