From 49a6b4119be34b6f9fa4e2922522650173d35840 Mon Sep 17 00:00:00 2001 From: Dimitrios Siganos Date: Fri, 8 Mar 2024 15:52:09 +0000 Subject: [PATCH] Fix comment of rep_crawler::process function --- nano/node/repcrawler.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nano/node/repcrawler.hpp b/nano/node/repcrawler.hpp index e850b8f68..0855a7bde 100644 --- a/nano/node/repcrawler.hpp +++ b/nano/node/repcrawler.hpp @@ -57,10 +57,8 @@ public: 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 const &, std::shared_ptr const &);