Trait bdk::blockchain::GetBlockHash
source · [−]pub trait GetBlockHash {
fn get_block_hash(&self, height: u64) -> Result<BlockHash, Error>;
}
Expand description
Trait for getting block hash by block height
Required Methods
Implementations on Foreign Types
sourceimpl<T: GetBlockHash> GetBlockHash for Arc<T>
impl<T: GetBlockHash> GetBlockHash for Arc<T>
Implementors
impl GetBlockHash for AnyBlockchain
impl GetBlockHash for CompactFiltersBlockchain
Available on crate feature
compact_filters
only.impl GetBlockHash for ElectrumBlockchain
Available on crate feature
electrum
only.impl GetBlockHash for EsploraBlockchain
Available on crate feature
esplora
only.impl GetBlockHash for RpcBlockchain
Available on crate feature
rpc
only.