Crate bitcoind[−][src]
Expand description
Bitcoind
Utility to run a regtest bitcoind process, useful in integration testing environment
use core_rpc::RpcApi;
let bitcoind = bitcoind::BitcoinD::new("/usr/local/bin/bitcoind").unwrap();
assert_eq!(0, bitcoind.client.get_blockchain_info().unwrap().blocks);
Re-exports
Structs
Struct representing the bitcoind process with related information
The node configuration parameters, implements a convenient Default for most common use.
Contains all the information to connect to this node
Enums
Functions
Provide the bitcoind executable path if a version feature has been specified
Returns a non-used local port if available.