o

org.bitcoins.server

BitcoindRpcBackendUtil

object BitcoindRpcBackendUtil extends BitcoinSLogger

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. BitcoinSLogger
  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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def logger: Logger
    Definition Classes
    BitcoinSLogger
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. 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

  20. def startBitcoindMempoolPolling(wallet: WalletApi, bitcoind: BitcoindRpcClient, interval: FiniteDuration = 10.seconds)(processTx: (Transaction) => Future[Unit])(implicit system: ActorSystem, ec: ExecutionContext): Cancellable
  21. def startZMQWalletCallbacks(wallet: NeutrinoHDWalletApi, zmqConfig: ZmqConfig)(implicit ec: ExecutionContext): WalletZmqSubscribers
  22. 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

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped