Struct bitcoind::BitcoinD [−][src]
pub struct BitcoinD { pub client: Client, pub params: ConnectParams, // some fields omitted }
Expand description
Struct representing the bitcoind process with related information
Fields
client: Client
Rpc client linked to this bitcoind process
params: ConnectParams
Contains information to connect to this node
Implementations
Launch the bitcoind process from the given exe
executable with default args.
Waits for the node to be ready to accept connections before returning
Launch the bitcoind process from the given exe
executable with given Conf param
Returns the rpc URL including the schema eg. http://127.0.0.1:44842
Returns the rpc URL including the schema and the given wallet_name
eg. http://127.0.0.1:44842/wallet/my_wallet
Returns the P2P enum to connect to this node p2p port
Stop the node, waiting correct process termination