mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Refactored consensus into 3 rounds. (#144)
* Refactored consensus into 3 stages and removed stage 0. * Consensus threshold calculation improvements. * Refactored candidate user input processing. * Renamed proposal sent timestamp field. * Introduced comm_session display name.
This commit is contained in:
@@ -131,7 +131,7 @@ namespace p2p
|
||||
session.is_weakly_connected = ex_session.is_weakly_connected;
|
||||
p2p::ctx.peer_connections.try_emplace(session.uniqueid, &session); // add new session.
|
||||
|
||||
LOG_DEBUG << "Replacing existing connection [" << session.uniqueid.substr(0, 10) << "]";
|
||||
LOG_DEBUG << "Replacing existing connection [" << session.display_name() << "]";
|
||||
return 0;
|
||||
}
|
||||
else if (ex_session.known_ipport.first.empty() || !session.known_ipport.first.empty())
|
||||
|
||||
Reference in New Issue
Block a user