You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (m_txreconciliation->IsPeerRegistered(pfrom.GetId())) {
3523
3514
// A peer is already registered, meaning we already received SENDTXRCNCL from them.
3524
3515
LogPrintLevel(BCLog::NET, BCLog::Level::Debug, "txreconciliation protocol violation from peer=%d (sendtxrcncl received from already registered peer); disconnecting\n", pfrom.GetId());
3525
3516
pfrom.fDisconnect = true;
3526
3517
return;
3527
3518
}
3528
3519
3520
+
uint32_t peer_txreconcl_version;
3521
+
uint64_t remote_salt;
3522
+
vRecv >> peer_txreconcl_version >> remote_salt;
3523
+
3529
3524
const ReconciliationRegisterResult result = m_txreconciliation->RegisterPeer(pfrom.GetId(), pfrom.IsInboundConn(),
3530
-
is_peer_initiator, is_peer_responder,
3531
-
peer_txreconcl_version,
3532
-
remote_salt);
3525
+
peer_txreconcl_version, remote_salt);
3533
3526
3534
3527
// If it's a protocol violation, disconnect.
3535
3528
// If the peer was not found (but something unexpected happened) or it was registered,
0 commit comments