5 #ifndef BITCOIN_NODE_TXRECONCILIATION_H 6 #define BITCOIN_NODE_TXRECONCILIATION_H 55 const std::unique_ptr<Impl>
m_impl;
75 uint32_t peer_recon_version, uint64_t remote_salt);
89 #endif // BITCOIN_NODE_TXRECONCILIATION_H TxReconciliationTracker(uint32_t recon_version)
ReconciliationRegisterResult RegisterPeer(NodeId peer_id, bool is_peer_inbound, uint32_t peer_recon_version, uint64_t remote_salt)
Step 0.
ReconciliationRegisterResult
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)...
~TxReconciliationTracker()
bool IsPeerRegistered(NodeId peer_id) const
Check if a peer is registered to reconcile transactions with us.
Actual implementation for TxReconciliationTracker's data structure.
const std::unique_ptr< Impl > m_impl
Transaction reconciliation is a way for nodes to efficiently announce transactions.
static constexpr uint32_t TXRECONCILIATION_VERSION
Supported transaction reconciliation protocol version.