o

org.bitcoins.server

BitcoindRpcBackendUtil

object BitcoindRpcBackendUtil extends Logging

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitcoindRpcBackendUtil
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 buildBitcoindNodeApi(bitcoindRpcClient: BitcoindRpcClient, walletF: Future[WalletApi], chainCallbacksOpt: Option[ChainCallbacks])(implicit system: ActorSystem): NodeApi

    Creates an anonymous NodeApi that downloads blocks using akka streams from bitcoind, and then calls NeutrinoWalletApi.processBlock

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def createDLCWalletWithBitcoindCallbacks(bitcoind: BitcoindRpcClient, wallet: DLCWallet, chainCallbacksOpt: Option[ChainCallbacks])(implicit system: ActorSystem): DLCWallet
  8. def createWalletWithBitcoindCallbacks(bitcoind: BitcoindRpcClient, wallet: Wallet, chainCallbacksOpt: Option[ChainCallbacks])(implicit system: ActorSystem): Wallet
  9. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  11. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  24. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  25. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  28. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  29. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  30. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def startBitcoindBlockPolling(wallet: WalletApi, bitcoind: BitcoindRpcClient, chainCallbacksOpt: Option[ChainCallbacks], interval: FiniteDuration = 10.seconds)(implicit system: ActorSystem): Cancellable

    Starts the ActorSystem to poll the BitcoindRpcClient for its block count, if it has changed, it will then request those blocks to process them

    Starts the ActorSystem to poll the BitcoindRpcClient for its block count, if it has changed, it will then request those blocks to process them

    interval

    The amount of time between polls, this should not be too aggressive as the wallet will need to process the new blocks

  35. def startBitcoindMempoolPolling(wallet: WalletApi, bitcoind: BitcoindRpcClient, interval: FiniteDuration = 10.seconds)(processTx: (Transaction) => Future[Unit])(implicit system: ActorSystem, ec: ExecutionContext): Cancellable
  36. def startZMQWalletCallbacks(wallet: NeutrinoHDWalletApi, zmqConfig: ZmqConfig)(implicit ec: ExecutionContext): Unit
  37. def syncWalletToBitcoind(bitcoind: BitcoindRpcClient, wallet: NeutrinoHDWalletApi, chainCallbacksOpt: Option[ChainCallbacks])(implicit system: ActorSystem): Future[Unit]

    Has the wallet process all the blocks it has not seen up until bitcoind's chain tip

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped