RcpSyncParams

data class RcpSyncParams(    val startScriptCount: ULong,     val startTime: <Error class: unknown class>,     val forceStartTime: Boolean,     val pollRateSec: ULong)

Sync parameters for Bitcoin Core RPC.

In general, BDK tries to sync scriptPubKeys cached in Database with scriptPubKeys imported in the Bitcoin Core Wallet. These parameters are used for determining how the importdescriptors RPC calls are to be made.

Constructors

Link copied to clipboard
fun RcpSyncParams(    startScriptCount: ULong,     startTime: <Error class: unknown class>,     forceStartTime: Boolean,     pollRateSec: ULong)

Properties

Link copied to clipboard
val forceStartTime: Boolean

Forces every sync to use start_time as import timestamp.

Link copied to clipboard
val pollRateSec: ULong

RPC poll rate (in seconds) to get state updates.

Link copied to clipboard
val startScriptCount: ULong

The minimum number of scripts to scan for on initial sync.

Link copied to clipboard
val startTime: <Error class: unknown class>

Time in unix seconds in which initial sync will start scanning from (0 to start from genesis).