Bitcoin Core 30.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
PrivateBroadcast::Priority Struct Reference

Cumulative stats from all the send attempts for a transaction. Used to prioritize transactions. More...

Public Member Functions

auto operator<=> (const Priority &other) const
 

Public Attributes

size_t num_picked {0}
 Number of times the transaction was picked for sending. More...
 
NodeClock::time_point last_picked {}
 The most recent time when the transaction was picked for sending. More...
 
size_t num_confirmed {0}
 Number of nodes that have confirmed reception of a transaction (by PONG). More...
 
NodeClock::time_point last_confirmed {}
 The most recent time when the transaction was confirmed. More...
 

Detailed Description

Cumulative stats from all the send attempts for a transaction. Used to prioritize transactions.

Definition at line 109 of file private_broadcast.h.

Member Function Documentation

◆ operator<=>()

auto PrivateBroadcast::Priority::operator<=> ( const Priority other) const
inline

Definition at line 115 of file private_broadcast.h.

Member Data Documentation

◆ last_confirmed

NodeClock::time_point PrivateBroadcast::Priority::last_confirmed {}

The most recent time when the transaction was confirmed.

Definition at line 113 of file private_broadcast.h.

◆ last_picked

NodeClock::time_point PrivateBroadcast::Priority::last_picked {}

The most recent time when the transaction was picked for sending.

Definition at line 111 of file private_broadcast.h.

◆ num_confirmed

size_t PrivateBroadcast::Priority::num_confirmed {0}

Number of nodes that have confirmed reception of a transaction (by PONG).

Definition at line 112 of file private_broadcast.h.

◆ num_picked

size_t PrivateBroadcast::Priority::num_picked {0}

Number of times the transaction was picked for sending.

Definition at line 110 of file private_broadcast.h.


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