Documentation
¶
Index ¶
Constants ¶
View Source
const ( RPC_USER = "testuser" RPC_PASSWORD = "testpassword" BITCOIND_RPC_PORT = "18443" BITCOIND_ZMQPUBRAWBLOCK_PORT = "28334" BITCOIND_ZMQPUBRAWTX_PORT = "28335" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitcoind ¶
type Bitcoind struct {
testcontainers.Container
Client *rpcclient.Client
// ContainerIP is to be used when communicating between containers in the network
ContainerIP string
Host string
Network string
// These are the mapped ports which are exposed to the host
RpcPort string
ZmqpubrawblockPort string
ZmqpubrawtxPort string
Dir string
}
Click to show internal directories.
Click to hide internal directories.