RpcSyncParams class
Sync parameters for Bitcoin Core RPC.
In general, BDK tries to sync scriptPubKey
s cached in Database
with
scriptPubKey
s imported in the Bitcoin Core Wallet. These parameters are used for determining
how the importdescriptors
RPC calls are to be made.
Constructors
- RpcSyncParams.new({required BigInt startScriptCount, required BigInt startTime, required bool forceStartTime, required BigInt pollRateSec})
-
const
Properties
- forceStartTime → bool
-
Forces every sync to use
start_time
as import timestamp.final - hashCode → int
-
The hash code for this object.
no setteroverride
- pollRateSec → BigInt
-
RPC poll rate (in seconds) to get state updates.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startScriptCount → BigInt
-
The minimum number of scripts to scan for on initial sync.
final
- startTime → BigInt
-
Time in unix seconds in which initial sync will start scanning from (0 to start from genesis).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override