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

Helper for PackageV3Checks, 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::nVersion) 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::nVersionm_version
 nVersion used to check inheritance of v3 and non-v3 More...
 
bool m_has_mempool_descendant
 If parent is in mempool, whether it has any descendants in mempool. More...
 

Detailed Description

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

Definition at line 41 of file v3_policy.cpp.

Constructor & Destructor Documentation

◆ ParentInfo() [1/2]

ParentInfo::ParentInfo ( )
delete

◆ ParentInfo() [2/2]

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

Definition at line 52 of file v3_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 v3_policy.cpp.

◆ m_txid

const Txid& ParentInfo::m_txid

Txid used to identify this parent by prevout.

Definition at line 43 of file v3_policy.cpp.

◆ m_version

decltype(CTransaction::nVersion) ParentInfo::m_version

nVersion used to check inheritance of v3 and non-v3

Definition at line 47 of file v3_policy.cpp.

◆ m_wtxid

const Wtxid& ParentInfo::m_wtxid

Wtxid used for debug string.

Definition at line 45 of file v3_policy.cpp.


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