Documentation ¶
Index ¶
Constants ¶
View Source
const ( RPC_USER = "testuser" RPC_PASSWORD = "testpassword" BITCOIND_RPC_PORT = "18443" BITCOIND_ZMQPUBRAWBLOCK_PORT = "28334" BITCOIND_ZMQPUBRAWTX_PORT = "28335" )
View Source
const ( LND_GRPC_PORT = "10009" LND_REST_PORT = "8080" LND_P2P_PORT = "9735" )
Variables ¶
This section is empty.
Functions ¶
func SetupLndClient ¶
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 // These are the mapped ports which are exposed to the host RpcPort string ZmqpubrawblockPort string ZmqpubrawtxPort string // contains filtered or unexported fields }
type Lnd ¶
type Lnd struct { testcontainers.Container Client lnrpc.LightningClient // ContainerIP is to be used when communicating between containers in the network ContainerIP string Host string // These are the mapped ports which are exposed to the host GrpcPort string RestPort string P2PPort string LndDir string AdminMacaroon []byte }
Click to show internal directories.
Click to hide internal directories.