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({required int startScriptCount, required int startTime, required bool forceStartTime, required int 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 setterinherited
- pollRateSec → int
-
RPC poll rate (in seconds) to get state updates.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startScriptCount → int
-
The minimum number of scripts to scan for on initial sync.
final
- startTime → int
-
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.
inherited