Package 

Class RcpSyncParams

  • All Implemented Interfaces:

    
    public final class RcpSyncParams
    
                        

    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      RcpSyncParams(ULong startScriptCount, <Error class: unknown class> startTime, Boolean forceStartTime, ULong pollRateSec)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ULong getStartScriptCount() The minimum number of scripts to scan for on initial sync.
      final <Error class: unknown class> getStartTime() Time in unix seconds in which initial sync will start scanning from (0 to start from genesis).
      final Boolean getForceStartTime() Forces every sync to use start_time as import timestamp.
      final ULong getPollRateSec() RPC poll rate (in seconds) to get state updates.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RcpSyncParams

        RcpSyncParams(ULong startScriptCount, <Error class: unknown class> startTime, Boolean forceStartTime, ULong pollRateSec)
    • Method Detail

      • getStartTime

         final <Error class: unknown class> getStartTime()

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