Skip to content

Commit c7e8bfc

Browse files
committed
Add BlockHeader Bitcoin Core reference link
1 parent e12329d commit c7e8bfc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/blockdata/block.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ use crate::VarInt;
3939

4040
/// A block header, which contains all the block's information except
4141
/// the actual transactions
42+
///
43+
/// # Bitcoin Core References
44+
///
45+
/// * [CBlockHeader definition](https://github.com/bitcoin/bitcoin/blob/345457b542b6a980ccfbc868af0970a6f91d1b82/src/primitives/block.h#L20)
4246
#[derive(Copy, PartialEq, Eq, Clone, Debug)]
4347
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
4448
pub struct BlockHeader {

0 commit comments

Comments
 (0)