opendht-2.1.4/src/node.cpp
/* This is our definition of a known-good node. */
This is our definition of a known-good node.
This is our definition of a known - good node .
bool
Node::isGood(time_point now) const
{
    return not expired_ &&
        reply_time >= now - NODE_GOOD_TIME &&
        time >= now - NODE_EXPIRE_TIME;
}
bool Node :: isGood ( time_point now ) const { return not expired_ && reply_time >= now - NODE_GOOD_TIME && time >= now - NODE_EXPIRE_TIME ; }
This is our definition of a known-good node.
This is our definition of a known - good node .