Fix comment of rep_crawler::process function

This commit is contained in:
Dimitrios Siganos 2024-03-08 15:52:09 +00:00
commit 49a6b4119b

View file

@ -57,10 +57,8 @@ public:
void stop (); void stop ();
/** /**
* Called when a non-replay vote on a block previously sent by query() is received. This indicates * Called when a non-replay vote arrives that might be of interest to rep crawler.
* with high probability that the endpoint is a representative node. * @return true, if the vote was of interest and was processed, this indicates that the rep is likely online and voting
* 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
*/ */
bool process (std::shared_ptr<nano::vote> const &, std::shared_ptr<nano::transport::channel> const &); bool process (std::shared_ptr<nano::vote> const &, std::shared_ptr<nano::transport::channel> const &);