| 111 | } |
| 112 | |
| 113 | void TestOnlyResetTimeData() |
| 114 | { |
| 115 | LOCK(g_timeoffset_mutex); |
| 116 | nTimeOffset = 0; |
| 117 | g_sources.clear(); |
| 118 | g_time_offsets = CMedianFilter<int64_t>{BITCOIN_TIMEDATA_MAX_SAMPLES, 0}; |
| 119 | g_warning_emitted = false; |
| 120 | } |
no test coverage detected