Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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.
NodeClock::time_point last_picked {}
 The most recent time when the transaction was picked for sending.
size_t num_confirmed {0}
 Number of nodes that have confirmed reception of a transaction (by PONG).
NodeClock::time_point last_confirmed {}
 The most recent time when the transaction was confirmed.

Detailed Description

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

Definition at line 129 of file private_broadcast.h.

Member Function Documentation

◆ operator<=>()

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

Definition at line 135 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 133 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 131 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 132 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 130 of file private_broadcast.h.


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