From 7c2ca3d20beaae670c0a99a3dcd425c353ebe99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ci=C4=99=C5=BCarkiewicz?= Date: Fri, 27 May 2022 16:50:07 -0700 Subject: [PATCH] Add `BlockHeader` Bitcoin Core reference link --- src/blockdata/block.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/blockdata/block.rs b/src/blockdata/block.rs index eec8425b..18140c50 100644 --- a/src/blockdata/block.rs +++ b/src/blockdata/block.rs @@ -39,6 +39,10 @@ use crate::VarInt; /// A block header, which contains all the block's information except /// the actual transactions +/// +/// # Bitcoin Core References +/// +/// * [CBlockHeader definition](https://github.com/bitcoin/bitcoin/blob/345457b542b6a980ccfbc868af0970a6f91d1b82/src/primitives/block.h#L20) #[derive(Copy, PartialEq, Eq, Clone, Debug)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct BlockHeader {