object NodeTestUtil extends NodeTestUtil
- Alphabetic
- By Inheritance
- NodeTestUtil
- NodeTestUtil
- P2PLogger
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
The future doesn't complete until the nodes best hash is the given hash
- Definition Classes
- NodeTestUtil
- 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
- def awaitCompactFiltersSync(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
- def awaitSync(node: Node, 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
- def client(peer: Peer, peerMsgReceiver: PeerMessageReceiver)(implicit ref: ActorRefFactory, conf: NodeAppConfig): P2PClient
- Definition Classes
- NodeTestUtil
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def debug(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def debug(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val emptyBloomFilter: BloomFilter
- Definition Classes
- NodeTestUtil
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def error(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- lazy val firstFiveTestNetBlockHeaders: List[BlockHeader]
These are the first 5 block headers on testnet, this does NOT include the genesis block header
These are the first 5 block headers on testnet, this does NOT include the genesis block header
- Definition Classes
- NodeTestUtil
- def getBitcoindPeer(bitcoindRpcClient: BitcoindRpcClient): Peer
Gets the org.bitcoins.node.models.Peer that corresponds to org.bitcoins.rpc.client.common.BitcoindRpcClient
Gets the org.bitcoins.node.models.Peer that corresponds to org.bitcoins.rpc.client.common.BitcoindRpcClient
- Definition Classes
- NodeTestUtil
- 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
Helper method to get the java.net.InetSocketAddress we need to connect to to make a p2p connection with bitcoind
- Definition Classes
- NodeTestUtil
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHeadersMsg: GetHeadersMessage
- Definition Classes
- NodeTestUtil
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def info(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSameBestFilterHeaderHeight(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]
- Definition Classes
- NodeTestUtil
- def isSameBestFilterHeight(node: NeutrinoNode, rpc: BitcoindRpcClient)(implicit ec: ExecutionContext): Future[Boolean]
- Definition Classes
- NodeTestUtil
- 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
- 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
- def isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def networkMessage: NetworkMessage
- Definition Classes
- NodeTestUtil
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def rawGetHeadersMsg: String
This is a get headers message taken from wireshark off of a node that sent the message
This is a get headers message taken from wireshark off of a node that sent the message
- Definition Classes
- NodeTestUtil
- 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
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
- Definition Classes
- NodeTestUtil
- def rawTransaction: String
- Definition Classes
- NodeTestUtil
- def rawVersionMessage: String
Random version message bitcoins created when connecting to a testnet seed This does not include the header
Random version message bitcoins created when connecting to a testnet seed This does not include the header
- Definition Classes
- NodeTestUtil
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def trace(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def transaction: Transaction
- Definition Classes
- NodeTestUtil
- def versionMessage: VersionMessage
- Definition Classes
- NodeTestUtil
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def warn(mkr: Marker, msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any, t: => Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def warn(msg: => Any): Unit
- Attributes
- protected
- Definition Classes
- Logging