brk_rpc 0.12.2

A thin wrapper around Bitcoin Core's JSON-RPC
Documentation
1
2
3
4
5
6
7
8
9
10
11
use brk_types::{BlockHash, FeeRate, Height, Txid};

/// Mempool snapshot data that survives one fetch cycle.
pub struct MempoolState {
    pub live_txids: Vec<Txid>,
    pub min_fee: FeeRate,
    /// Chain tip's hash from the block template.
    pub tip_hash: BlockHash,
    /// Chain tip's height from the block template.
    pub tip_height: Height,
}