![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <algorithm>#include <assert.h>#include <stdint.h>#include <vector>Go to the source code of this file.
Classes | |
| class | CMedianFilter< T > |
| Median filter over a stream of values. More... | |
Functions | |
| int64_t | GetTimeOffset () |
| Functions to keep track of adjusted P2P time. More... | |
| int64_t | GetAdjustedTime () |
| void | AddTimeData (const CNetAddr &ip, int64_t nTime) |
Variables | |
| static const int64_t | DEFAULT_MAX_TIME_ADJUSTMENT = 70 * 60 |
| void AddTimeData | ( | const CNetAddr & | ip, |
| int64_t | nTime | ||
| ) |
Definition at line 42 of file timedata.cpp.
| int64_t GetAdjustedTime | ( | ) |
Definition at line 35 of file timedata.cpp.
| int64_t GetTimeOffset | ( | ) |
Functions to keep track of adjusted P2P time.
Functions to keep track of adjusted P2P time.
Definition at line 29 of file timedata.cpp.
|
static |
Definition at line 13 of file timedata.h.