BestBlock |
BestBlock.clone() |
Creates a copy of the BestBlock
|
BestBlock |
ChannelManager.current_best_block() |
Gets the latest best block which was connected either via the [`chain::Listen`] or
[`chain::Confirm`] interfaces.
|
BestBlock |
ChannelMonitor.current_best_block() |
Gets the latest best block which was connected either via the [`chain::Listen`] or
[`chain::Confirm`] interfaces.
|
static BestBlock |
BestBlock.from_genesis(Network network) |
Constructs a `BestBlock` that represents the genesis block at height 0 of the given
network.
|
BestBlock |
ChainParameters.get_best_block() |
The hash and height of the latest block successfully connected.
|
static BestBlock |
BestBlock.of(byte[] block_hash,
int height) |
Returns a `BestBlock` as identified by the given block hash and height.
|