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

Helper for PackageTRUCChecks, storing info for a mempool or package parent. More...

Collaboration diagram for ParentInfo:
[legend]

Public Member Functions

 ParentInfo ()=delete
 
 ParentInfo (const Txid &txid, const Wtxid &wtxid, decltype(CTransaction::version) version, bool has_mempool_descendant)
 

Public Attributes

const Txidm_txid
 Txid used to identify this parent by prevout. More...
 
const Wtxidm_wtxid
 Wtxid used for debug string. More...
 
decltype(CTransaction::versionm_version
 version used to check inheritance of TRUC and non-TRUC More...
 
bool m_has_mempool_descendant
 If parent is in mempool, whether it has any descendants in mempool. More...
 

Detailed Description

Helper for PackageTRUCChecks, storing info for a mempool or package parent.

Definition at line 41 of file truc_policy.cpp.

Constructor & Destructor Documentation

◆ ParentInfo() [1/2]

ParentInfo::ParentInfo ( )
delete

◆ ParentInfo() [2/2]

ParentInfo::ParentInfo ( const Txid txid,
const Wtxid wtxid,
decltype(CTransaction::version version,
bool  has_mempool_descendant 
)
inline

Definition at line 52 of file truc_policy.cpp.

Member Data Documentation

◆ m_has_mempool_descendant

bool ParentInfo::m_has_mempool_descendant

If parent is in mempool, whether it has any descendants in mempool.

Definition at line 49 of file truc_policy.cpp.

◆ m_txid

const Txid& ParentInfo::m_txid

Txid used to identify this parent by prevout.

Definition at line 43 of file truc_policy.cpp.

◆ m_version

decltype(CTransaction::version) ParentInfo::m_version

version used to check inheritance of TRUC and non-TRUC

Definition at line 47 of file truc_policy.cpp.

◆ m_wtxid

const Wtxid& ParentInfo::m_wtxid

Wtxid used for debug string.

Definition at line 45 of file truc_policy.cpp.


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