Actual implementation for TxReconciliationTracker's data structure.
More...
Actual implementation for TxReconciliationTracker's data structure.
Definition at line 63 of file txreconciliation.cpp.
◆ Impl()
TxReconciliationTracker::Impl::Impl |
( |
uint32_t |
recon_version | ) |
|
|
inlineexplicit |
◆ ForgetPeer()
void TxReconciliationTracker::Impl::ForgetPeer |
( |
NodeId |
peer_id | ) |
|
|
inline |
◆ GUARDED_BY()
std::unordered_map< NodeId, std::variant< uint64_t, TxReconciliationState > > m_states TxReconciliationTracker::Impl::GUARDED_BY |
( |
m_txreconciliation_mutex |
| ) |
|
|
private |
Keeps track of txreconciliation states of eligible peers.
For pre-registered peers, the locally generated salt is stored. For registered peers, the locally generated salt is forgotten, and the state (including "full" salt) is stored instead.
◆ IsPeerRegistered()
bool TxReconciliationTracker::Impl::IsPeerRegistered |
( |
NodeId |
peer_id | ) |
const |
|
inline |
◆ PreRegisterPeer()
uint64_t TxReconciliationTracker::Impl::PreRegisterPeer |
( |
NodeId |
peer_id | ) |
|
|
inline |
◆ RegisterPeer()
◆ m_recon_version
uint32_t TxReconciliationTracker::Impl::m_recon_version |
|
private |
◆ m_txreconciliation_mutex
Mutex TxReconciliationTracker::Impl::m_txreconciliation_mutex |
|
mutableprivate |
The documentation for this class was generated from the following file: