We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BestBlock::new
1 parent 1890e80 commit 3fc3166Copy full SHA for 3fc3166
lightning/src/chain/mod.rs
@@ -52,6 +52,9 @@ impl BestBlock {
52
}
53
54
/// Returns a `BestBlock` as identified by the given block hash and height.
55
+ ///
56
+ /// This is not exported to bindings users directly as the bindings auto-generate an
57
+ /// equivalent `new`.
58
pub fn new(block_hash: BlockHash, height: u32) -> Self {
59
BestBlock { block_hash, height }
60
0 commit comments