Fix comment of rep_crawler::process function
This commit is contained in:
parent
1f0fd2e816
commit
49a6b4119b
1 changed files with 2 additions and 4 deletions
|
|
@ -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 &);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue