Skip to content

Commit

Permalink
Fix comment of rep_crawler::process function
Browse files Browse the repository at this point in the history
  • Loading branch information
dsiganos committed Mar 8, 2024
1 parent 1f0fd2e commit 49a6b41
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nano/node/repcrawler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ class rep_crawler final
void stop ();

/**
* Called when a non-replay vote on a block previously sent by query() is received. This indicates
* with high probability that the endpoint is a representative node.
* The force flag can be set to skip the active check in unit testing when we want to force a vote in the rep crawler.
* @return false if any vote passed the checks and was added to the response queue of the rep crawler
* Called when a non-replay vote arrives that might be of interest to rep crawler.
* @return true, if the vote was of interest and was processed, this indicates that the rep is likely online and voting
*/
bool process (std::shared_ptr<nano::vote> const &, std::shared_ptr<nano::transport::channel> const &);

Expand Down

0 comments on commit 49a6b41

Please sign in to comment.