pub struct BitcoinNode { /* private fields */ }Implementations§
Source§impl BitcoinNode
impl BitcoinNode
pub fn new(config: &NodeConfig) -> Result<Self, Error>
Trait Implementations§
Source§impl NodeClient for BitcoinNode
impl NodeClient for BitcoinNode
fn get_blockchain_info(&self) -> Result<GetBlockchainInfo, Error>
fn get_mempool_info(&self) -> Result<GetMempoolInfo, Error>
fn get_network_info(&self) -> Result<GetNetworkInfo, Error>
fn get_peer_info(&self) -> Result<GetPeerInfo, Error>
fn get_mining_info(&self) -> Result<MiningInfo, Error>
fn get_chain_tx_stats(&self) -> Result<ChainTxStats, Error>
fn get_net_totals(&self) -> Result<GetNetTotals, Error>
fn estimate_smart_fee( &self, conf_target: u32, ) -> Result<EstimateSmartFee, Error>
fn get_chain_tips(&self) -> Result<GetChainTips, Error>
fn uptime(&self) -> Result<u32, Error>
fn get_block_stats_by_height(&self, height: u32) -> Result<GetBlockStats, Error>
Auto Trait Implementations§
impl !Freeze for BitcoinNode
impl !RefUnwindSafe for BitcoinNode
impl Send for BitcoinNode
impl Sync for BitcoinNode
impl Unpin for BitcoinNode
impl !UnwindSafe for BitcoinNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more