object SyncUtil extends SyncUtil
- Alphabetic
- By Inheritance
- SyncUtil
- SyncUtil
- BitcoinSLogger
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getBestBlockHashFunc(bitcoind: BitcoindRpcClient): () => Future[DoubleSha256DigestBE]
Creates a function that will retrun bitcoin's best block hash when called
Creates a function that will retrun bitcoin's best block hash when called
- Definition Classes
- SyncUtil
- def getBlockFunc(bitcoind: BitcoindRpcClient): (DoubleSha256DigestBE) => Future[Block]
- Definition Classes
- SyncUtil
- 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
Creates a function that you can pass a hash to and it returns the block header
- Definition Classes
- SyncUtil
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
Creates a function that you can pass a block header to and it's return's it's GolombFilter
- Definition Classes
- SyncUtil
- def getNodeApi(bitcoindRpcClient: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeApi
- Definition Classes
- SyncUtil
- def getNodeApiWalletCallback(bitcoindRpcClient: BitcoindRpcClient, walletF: Future[Wallet])(implicit system: ActorSystem): NodeApi
- Definition Classes
- SyncUtil
- def getNodeChainQueryApi(bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeChainQueryApi
- Definition Classes
- SyncUtil
- def getNodeChainQueryApiWalletCallback(bitcoind: BitcoindRpcClient, walletF: Future[Wallet])(implicit system: ActorSystem): NodeChainQueryApi
- Definition Classes
- SyncUtil
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- Definition Classes
- SyncUtil
- 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()
Syncs a wallet against bitcoind by retrieving full blocks and then calling Wallet.processBlock()
- Definition Classes
- SyncUtil
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()