Struct lightning::chain::BestBlock [−][src]
pub struct BestBlock { /* fields omitted */ }
Expand description
The best known block as identified by its hash and height.
Implementations
Constructs a BestBlock
that represents the genesis block at height 0 of the given
network.
Returns a BestBlock
as identified by the given block hash and height.
Returns the best block hash.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BestBlock
impl UnwindSafe for BestBlock
Blanket Implementations
Mutably borrows from an owned value. Read more