Packages

abstract class SyncUtil extends Logging

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. Logging
  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. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  7. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  8. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def getBestBlockHashFunc(bitcoind: BitcoindRpcClient): () => Future[DoubleSha256DigestBE]

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

  16. def getBlockFunc(bitcoind: BitcoindRpcClient): (DoubleSha256DigestBE) => Future[Block]
  17. 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

  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. 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

  20. def getNodeApi(bitcoindRpcClient: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeApi
  21. def getNodeApiWalletCallback(bitcoindRpcClient: BitcoindRpcClient, walletF: Future[Wallet])(implicit ec: ExecutionContext): NodeApi
  22. def getNodeChainQueryApi(bitcoind: BitcoindRpcClient)(implicit ec: ExecutionContext): NodeChainQueryApi
  23. def getNodeChainQueryApiWalletCallback(bitcoind: BitcoindRpcClient, walletF: Future[Wallet])(implicit ec: ExecutionContext): NodeChainQueryApi
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  29. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  30. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  34. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  35. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. 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

  40. 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

  41. 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()

  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped