Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CompressedHeader Struct Reference

#include <headerssync.h>

Collaboration diagram for CompressedHeader:
[legend]

Public Member Functions

 CompressedHeader ()
 
 CompressedHeader (const CBlockHeader &header)
 
CBlockHeader GetFullHeader (const uint256 &hash_prev_block)
 

Public Attributes

int32_t nVersion {0}
 
uint256 hashMerkleRoot
 
uint32_t nTime {0}
 
uint32_t nBits {0}
 
uint32_t nNonce {0}
 

Detailed Description

Definition at line 21 of file headerssync.h.

Constructor & Destructor Documentation

◆ CompressedHeader() [1/2]

CompressedHeader::CompressedHeader ( )
inline

Definition at line 29 of file headerssync.h.

Here is the call graph for this function:

◆ CompressedHeader() [2/2]

CompressedHeader::CompressedHeader ( const CBlockHeader header)
inline

Definition at line 34 of file headerssync.h.

Member Function Documentation

◆ GetFullHeader()

CBlockHeader CompressedHeader::GetFullHeader ( const uint256 hash_prev_block)
inline

Definition at line 43 of file headerssync.h.

Member Data Documentation

◆ hashMerkleRoot

uint256 CompressedHeader::hashMerkleRoot

Definition at line 24 of file headerssync.h.

◆ nBits

uint32_t CompressedHeader::nBits {0}

Definition at line 26 of file headerssync.h.

◆ nNonce

uint32_t CompressedHeader::nNonce {0}

Definition at line 27 of file headerssync.h.

◆ nTime

uint32_t CompressedHeader::nTime {0}

Definition at line 25 of file headerssync.h.

◆ nVersion

int32_t CompressedHeader::nVersion {0}

Definition at line 23 of file headerssync.h.


The documentation for this struct was generated from the following file: