Skip to content

Commit

Permalink
Accept proofs excluding the added time buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Doy-lee authored and jcktm committed Aug 2, 2018
1 parent e364882 commit 049ce2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cryptonote_core/quorum_cop.cpp
Expand Up @@ -152,7 +152,7 @@ namespace service_nodes
return false;

CRITICAL_REGION_LOCAL(m_lock);
if (m_uptime_proof_seen[pubkey] > now - UPTIME_PROOF_MAX_TIME_IN_SECONDS)
if (m_uptime_proof_seen[pubkey] >= now - (UPTIME_PROOF_FREQUENCY_IN_SECONDS / 2))
return false; // already received one uptime proof for this node recently.

crypto::hash hash = make_hash(pubkey, timestamp);
Expand Down

0 comments on commit 049ce2d

Please sign in to comment.