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

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

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

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

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped