5#ifndef BITCOIN_NODE_TXRECONCILIATION_H
6#define BITCOIN_NODE_TXRECONCILIATION_H
75 uint32_t peer_recon_version, uint64_t remote_salt);
Actual implementation for TxReconciliationTracker's data structure.
Transaction reconciliation is a way for nodes to efficiently announce transactions.
~TxReconciliationTracker()
bool IsPeerRegistered(NodeId peer_id) const
Check if a peer is registered to reconcile transactions with us.
ReconciliationRegisterResult RegisterPeer(NodeId peer_id, bool is_peer_inbound, uint32_t peer_recon_version, uint64_t remote_salt)
Step 0.
const std::unique_ptr< Impl > m_impl
TxReconciliationTracker(uint32_t recon_version)
uint64_t PreRegisterPeer(NodeId peer_id)
Step 0.
void ForgetPeer(NodeId peer_id)
Attempts to forget txreconciliation-related state of the peer (if we previously stored any).
ReconciliationRegisterResult
static constexpr uint32_t TXRECONCILIATION_VERSION
Supported transaction reconciliation protocol version.