Packages

abstract class SyncUtil extends BitcoinSLogger

Useful utilities to use in the chain project for syncing things against bitcoind

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SyncUtil
  2. BitcoinSLogger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SyncUtil()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def getBestBlockHashFunc(bitcoind: BitcoindRpcClient): () => Future[DoubleSha256DigestBE]

    Creates a function that will retrun bitcoin's best block hash when called

  10. def getBlockFunc(bitcoind: BitcoindRpcClient): (DoubleSha256DigestBE) => Future[Block]
  11. def getBlockHeaderFunc(bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): (DoubleSha256DigestBE) => Future[BlockHeader]

    Creates a function that you can pass a hash to and it returns the block header

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getFilterFunc(bitcoind: BlockchainRpc, filterType: FilterType)(implicit ec: ExecutionContext): (BlockHeader) => Future[FilterWithHeaderHash]

    Creates a function that you can pass a block header to and it's return's it's GolombFilter

  14. def getNodeApi(bitcoindRpcClient: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeApi
  15. def getNodeApiWalletCallback(bitcoindRpcClient: BitcoindRpcClient, walletF: Future[Wallet])(implicit system: ActorSystem): NodeApi
  16. def getNodeChainQueryApi(bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeChainQueryApi
  17. def getNodeChainQueryApiWalletCallback(bitcoind: BitcoindRpcClient, walletF: Future[Wallet])(implicit system: ActorSystem): NodeChainQueryApi
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def logger: Logger
    Definition Classes
    BitcoinSLogger
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def syncBitcoindWithChainHandler(bitcoindWithChainHandler: BitcoindBaseVersionChainHandlerViaRpc)(implicit ec: ExecutionContext, chainAppConfig: ChainAppConfig): Future[BitcoindBaseVersionChainHandlerViaRpc]

    Syncs the given chain handler to the given bitcoind node.

    Syncs the given chain handler to the given bitcoind node. This also syncs block filters since we know a bitcoind v19 node has block filter capability

  25. def syncWalletFullBlocks(wallet: WalletApi, bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[WalletApi]

    Syncs a wallet against bitcoind by retrieving full blocks and then calling Wallet.processBlock()

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped