object NodeTestUtil extends NodeTestUtil

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeTestUtil
  2. NodeTestUtil
  3. P2PLogger
  4. BitcoinSLogger
  5. AnyRef
  6. 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 awaitAllSync(node: NeutrinoNode, bitcoind: BitcoindRpcClient, bestBlockHashBE: Option[DoubleSha256DigestBE] = None)(implicit system: ActorSystem): Future[Unit]

    Awaits header, filter header and filter sync between the neutrino node and rpc client

    Awaits header, filter header and filter sync between the neutrino node and rpc client

    bitcoind

    the node we are syncing against

    bestBlockHashBE

    the best block hash we are expected to sync to, this is useful for reorg situations. If None given, we use bitcoind's best block header

    Definition Classes
    NodeTestUtil
  6. def awaitBestHash(node: Node, bitcoind: BitcoindRpcClient, bestHashOpt: Option[DoubleSha256DigestBE] = None)(implicit system: ActorSystem): Future[Unit]

    The future doesn't complete until the nodes best hash is the given hash

    The future doesn't complete until the nodes best hash is the given hash

    Definition Classes
    NodeTestUtil
  7. def awaitCompactFilterHeadersSync(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit sys: ActorSystem): Future[Unit]

    Awaits sync between the given node and bitcoind client

    Awaits sync between the given node and bitcoind client

    Definition Classes
    NodeTestUtil
  8. def awaitCompactFiltersSync(node: NeutrinoNode, rpc: BitcoindRpcClient, bestBlockHashBEOpt: Option[DoubleSha256DigestBE] = None)(implicit sys: ActorSystem): Future[Unit]

    Awaits sync between the given node and bitcoind client

    Awaits sync between the given node and bitcoind client

    Definition Classes
    NodeTestUtil
  9. def awaitConnectionCount(node: Node, expectedConnectionCount: Int, interval: FiniteDuration = 1.second, maxTries: Int = 30)(implicit ec: ExecutionContext): Future[Unit]

    returns a Future that isn't completed until the peer manager has expectedConnectionCount connections

    returns a Future that isn't completed until the peer manager has expectedConnectionCount connections

    Definition Classes
    NodeTestUtil
  10. def awaitSync(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit sys: ActorSystem): Future[Unit]

    Awaits sync between the given node and bitcoind client

    Awaits sync between the given node and bitcoind client

    Definition Classes
    NodeTestUtil
  11. def awaitSyncAndIBD(node: NeutrinoNode, bitcoind: BitcoindRpcClient)(implicit system: ActorSystem): Future[Unit]
    Definition Classes
    NodeTestUtil
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def disconnectNode(bitcoind: BitcoindRpcClient, node: NeutrinoNode)(implicit system: ActorSystem): Future[Unit]
    Definition Classes
    NodeTestUtil
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def getBitcoindPeer(bitcoindRpcClient: BitcoindRpcClient)(implicit executionContext: ExecutionContext): Future[Peer]

    Gets the Peer that corresponds to org.bitcoins.rpc.client.common.BitcoindRpcClient

    Gets the Peer that corresponds to org.bitcoins.rpc.client.common.BitcoindRpcClient

    Definition Classes
    NodeTestUtil
  18. def getBitcoindSocketAddress(bitcoindRpcClient: BitcoindRpcClient)(implicit executionContext: ExecutionContext): Future[InetSocketAddress]

    Helper method to get the java.net.InetSocketAddress we need to connect to to make a p2p connection with bitcoind

    Helper method to get the java.net.InetSocketAddress we need to connect to to make a p2p connection with bitcoind

    Definition Classes
    NodeTestUtil
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def getNodeURIFromBitcoind(bitcoind: BitcoindRpcClient, localAddressBitcoinS: InetSocketAddress)(implicit system: ActorSystem): Future[URI]

    get our neutrino node's uri from a test bitcoind instance to send rpc commands for our node.

    get our neutrino node's uri from a test bitcoind instance to send rpc commands for our node. The peer must be initialized by the node.

    Definition Classes
    NodeTestUtil
  21. def getSocks5ProxyParams: Option[Socks5ProxyParams]
    Definition Classes
    NodeTestUtil
  22. def getStartedNodeCustomConfig(initNode: NeutrinoNode, config: Config)(implicit ec: ExecutionContext): Future[NeutrinoNode]
    Definition Classes
    NodeTestUtil
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isSameBestFilterHeaderHeight(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]
    Definition Classes
    NodeTestUtil
  26. def isSameBestFilterHeight(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]
    Definition Classes
    NodeTestUtil
  27. def isSameBestHash(node: Node, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]

    Checks if the given node and bitcoind is synced

    Checks if the given node and bitcoind is synced

    Definition Classes
    NodeTestUtil
  28. def isSameBlockCount(node: Node, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]

    Checks if the given light client and bitcoind has the same number of blocks in their blockchains

    Checks if the given light client and bitcoind has the same number of blocks in their blockchains

    Definition Classes
    NodeTestUtil
  29. def logger: Logger
    Definition Classes
    BitcoinSLogger
  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. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from NodeTestUtil

Inherited from P2PLogger

Inherited from BitcoinSLogger

Inherited from AnyRef

Inherited from Any

Ungrouped