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

Allows providing orphan information externally. More...

#include <txorphanage.h>

Inheritance diagram for TxOrphanage::OrphanTxBase:
[legend]

Public Member Functions

unsigned int GetUsage () const
 Get the weight of this transaction, an approximation of its memory usage. More...
 

Public Attributes

CTransactionRef tx
 
std::set< NodeIdannouncers
 Peers added with AddTx or AddAnnouncer. More...
 
NodeSeconds nTimeExpire
 

Detailed Description

Allows providing orphan information externally.

Definition at line 82 of file txorphanage.h.

Member Function Documentation

◆ GetUsage()

unsigned int TxOrphanage::OrphanTxBase::GetUsage ( ) const
inline

Get the weight of this transaction, an approximation of its memory usage.

Definition at line 89 of file txorphanage.h.

Here is the call graph for this function:

Member Data Documentation

◆ announcers

std::set<NodeId> TxOrphanage::OrphanTxBase::announcers

Peers added with AddTx or AddAnnouncer.

Definition at line 85 of file txorphanage.h.

◆ nTimeExpire

NodeSeconds TxOrphanage::OrphanTxBase::nTimeExpire

Definition at line 86 of file txorphanage.h.

◆ tx

CTransactionRef TxOrphanage::OrphanTxBase::tx

Definition at line 83 of file txorphanage.h.


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