object SyncUtil extends SyncUtil
- Alphabetic
- By Inheritance
- SyncUtil
- SyncUtil
- Logging
- 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()
- def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- 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: BitcoindV19RpcClient, 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 ec: ExecutionContext): NodeApi
- Definition Classes
- SyncUtil
- def getNodeChainQueryApi(bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeChainQueryApi
- Definition Classes
- SyncUtil
- def getNodeChainQueryApiWalletCallback(bitcoind: BitcoindRpcClient, walletF: Future[Wallet])(implicit ec: ExecutionContext): NodeChainQueryApi
- Definition Classes
- SyncUtil
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- 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 syncBitcoindV19WithChainHandler(bitcoindWithChainHandler: BitcoindV19ChainHandler)(implicit ec: ExecutionContext, chainAppConfig: ChainAppConfig): Future[BitcoindV19ChainHandler]
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 syncBitcoindWithChainHandler(bitcoindWithChainHandler: BitcoindChainHandlerViaRpc)(implicit ec: ExecutionContext): Future[BitcoindBaseVersionChainHandlerViaRpc]
Syncs the given chain handler to the given bitcoind node.
Syncs the given chain handler to the given bitcoind node. This does NOT sync this like block filters, as we cannot determine if the bitcoind version passed to us has support for block filters
- Definition Classes
- SyncUtil
- def syncWalletFullBlocks(wallet: Wallet, bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Wallet]
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
- def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- 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()
- def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging