Whether a validation is still current.
bool isCurrent( ValidationParms const& p, NetClock::time_point now, NetClock::time_point signTime, NetClock::time_point seenTime);
Determines whether a validation can still be considered the current validation from a node based on when it was signed by that node and first seen by this node.
Name |
Description |
---|---|
|
|6|ValidationParms with timing parameters |
|
Current time |
|
When the validation was signed |
|
When the validation was first seen locally |
#include <ripple/consensus/Validations.h>