Non‐owning view over a btck_BlockHeader.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
class BlockHeaderView
: public View<btck_BlockHeader>
, public BlockHeaderApi<BlockHeaderView>
Base Classes
Name |
Description |
Non‐owning view over a const C handle of type |
|
CRTP mixin adding block‐header accessors shared by the view and owning types. |
Member Functions
Name |
Description |
|
Constructs a view over |
Returns the compact difficulty target. |
|
Returns the hash of this header's block. |
|
Returns the proof‐of‐work nonce. |
|
Returns the hash of the previous block. |
|
Returns the header timestamp. |
|
Serializes the header to its 80‐byte form. |
|
Returns the block version. |
|
Returns the borrowed C handle. |
Protected Data Members
Name |
Description |
The borrowed C handle. |
Created with MrDocs