std::chrono::seconds Median() const EXCLUSIVE_LOCKS_REQUIRED(!m_mutex)
Compute and return the median of the collected time offset samples.
Manages warning messages within a node.
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
static const int64_t offsets[]
std::unique_ptr< T > MakeNoLogFileContext(const ChainType chain_type=ChainType::REGTEST, TestOpts opts={})
Make a test setup that has disk access to the debug.log file disabled.
void initialize_timeoffsets()