#include <algorithm>
#include <cassert>
#include <cstdint>
#include <vector>
Go to the source code of this file.
◆ AddTimeData()
void AddTimeData |
( |
const CNetAddr & |
ip, |
|
|
int64_t |
nTime |
|
) |
| |
◆ GetAdjustedTime()
int64_t GetAdjustedTime |
( |
| ) |
|
◆ GetTimeOffset()
int64_t GetTimeOffset |
( |
| ) |
|
Functions to keep track of adjusted P2P time.
Functions to keep track of adjusted P2P time.
- System clock
- Median of other nodes clocks
- The user (asking the user to fix the system clock if the first two disagree)
Definition at line 29 of file timedata.cpp.
◆ DEFAULT_MAX_TIME_ADJUSTMENT
const int64_t DEFAULT_MAX_TIME_ADJUSTMENT = 70 * 60 |
|
static |