Bitcoin Core  25.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
TestHeaderAndShortIDs Class Reference
Collaboration diagram for TestHeaderAndShortIDs:

Public Member Functions

 TestHeaderAndShortIDs (const CBlockHeaderAndShortTxIDs &orig)
 TestHeaderAndShortIDs (const CBlock &block)
uint64_t GetShortID (const uint256 &txhash) const
 SERIALIZE_METHODS (TestHeaderAndShortIDs, obj)

Public Attributes

CBlockHeader header
uint64_t nonce
std::vector< uint64_t > shorttxids
std::vector< PrefilledTransactionprefilledtxn

Detailed Description

Definition at line 113 of file blockencodings_tests.cpp.

Constructor & Destructor Documentation

◆ TestHeaderAndShortIDs() [1/2]

TestHeaderAndShortIDs::TestHeaderAndShortIDs ( const CBlockHeaderAndShortTxIDs orig)

Definition at line 121 of file blockencodings_tests.cpp.

◆ TestHeaderAndShortIDs() [2/2]

TestHeaderAndShortIDs::TestHeaderAndShortIDs ( const CBlock block)

Definition at line 126 of file blockencodings_tests.cpp.

Member Function Documentation

◆ GetShortID()

uint64_t TestHeaderAndShortIDs::GetShortID ( const uint256 txhash) const

Definition at line 129 of file blockencodings_tests.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:


TestHeaderAndShortIDs::SERIALIZE_METHODS ( TestHeaderAndShortIDs  ,

Definition at line 137 of file blockencodings_tests.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ header

CBlockHeader TestHeaderAndShortIDs::header

Definition at line 116 of file blockencodings_tests.cpp.

◆ nonce

uint64_t TestHeaderAndShortIDs::nonce

Definition at line 117 of file blockencodings_tests.cpp.

◆ prefilledtxn

std::vector<PrefilledTransaction> TestHeaderAndShortIDs::prefilledtxn

Definition at line 119 of file blockencodings_tests.cpp.

◆ shorttxids

std::vector<uint64_t> TestHeaderAndShortIDs::shorttxids

Definition at line 118 of file blockencodings_tests.cpp.

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