Packages

abstract class NodeTestUtil extends P2PLogger

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeTestUtil
  2. P2PLogger
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NodeTestUtil()

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 awaitBestHash(hash: DoubleSha256DigestBE, node: Node)(implicit system: ActorSystem): Future[Unit]

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

  6. def awaitCompactFilterHeadersSync(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit sys: ActorSystem): Future[Unit]

    Awaits sync between the given node and bitcoind client

  7. def awaitCompactFiltersSync(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit sys: ActorSystem): Future[Unit]

    Awaits sync between the given node and bitcoind client

  8. def awaitSync(node: Node, rpc: BitcoindRpcClient)(implicit sys: ActorSystem): Future[Unit]

    Awaits sync between the given node and bitcoind client

  9. def client(peer: Peer, peerMsgReceiver: PeerMessageReceiver)(implicit ref: ActorRefFactory, conf: NodeAppConfig): P2PClient
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. def debug(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  13. def debug(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. val emptyBloomFilter: BloomFilter
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def error(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def error(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. lazy val firstFiveTestNetBlockHeaders: List[BlockHeader]

    These are the first 5 block headers on testnet, this does NOT include the genesis block header

  22. def getBitcoindPeer(bitcoindRpcClient: BitcoindRpcClient): Peer

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

  23. def getBitcoindSocketAddress(bitcoindRpcClient: BitcoindRpcClient): InetSocketAddress

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

  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def getHeadersMsg: GetHeadersMessage
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def info(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def info(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def isDebugEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  31. def isErrorEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  32. def isInfoEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def isSameBestFilterHeaderHeight(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]
  35. def isSameBestFilterHeight(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]
  36. def isSameBestHash(node: Node, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]

    Checks if the given node and bitcoind is synced

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

  38. def isTraceEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  39. def isWarnEnabled: Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. def logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  41. def loggerName: String
    Attributes
    protected
    Definition Classes
    Logging
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. def networkMessage: NetworkMessage
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. def rawGetHeadersMsg: String

    This is a get headers message taken from wireshark off of a node that sent the message

  47. def rawNetworkMessage: String

    This is a raw network message indicating the version a node is using on the p2p network This has BOTH the header and the payload

  48. def rawTransaction: String
  49. def rawVersionMessage: String

    Random version message bitcoins created when connecting to a testnet seed This does not include the header

  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def trace(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  54. def trace(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging
  55. def transaction: Transaction
  56. def versionMessage: VersionMessage
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def warn(msg: => Any, t: => Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  62. def warn(msg: => Any): Unit
    Attributes
    protected
    Definition Classes
    Logging

Inherited from P2PLogger

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped