9 #include <boost/test/unit_test.hpp> 16 const uint64_t salt = 0;
ReconciliationRegisterResult RegisterPeer(NodeId peer_id, bool is_peer_inbound, uint32_t peer_recon_version, uint64_t remote_salt)
Step 0.
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)...
BOOST_AUTO_TEST_SUITE_END()
bool IsPeerRegistered(NodeId peer_id) const
Check if a peer is registered to reconcile transactions with us.
BOOST_AUTO_TEST_CASE(RegisterPeerTest)
#define BOOST_CHECK_EQUAL(v1, v2)
Transaction reconciliation is a way for nodes to efficiently announce transactions.
#define BOOST_CHECK(expr)
static constexpr uint32_t TXRECONCILIATION_VERSION
Supported transaction reconciliation protocol version.