![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "timedata.h"#include "chainparams.h"#include "guiinterface.h"#include "netaddress.h"#include "sync.h"#include "util/system.h"#include "warnings.h"Go to the source code of this file.
Macros | |
| #define | BITCOIN_TIMEDATA_MAX_SAMPLES 200 |
Functions | |
| int64_t | GetTimeOffset () |
| "Never go to sea with two chronometers; take one or three." Our three time sources are: More... | |
| int64_t | GetAdjustedTime () |
| void | AddTimeData (const CNetAddr &ip, int64_t nOffsetSample, int nOffsetLimit) |
| int64_t | GetTimeSlot (const int64_t nTime) |
| int64_t | GetCurrentTimeSlot () |
| #define BITCOIN_TIMEDATA_MAX_SAMPLES 200 |
Definition at line 41 of file timedata.cpp.
| void AddTimeData | ( | const CNetAddr & | ip, |
| int64_t | nOffsetSample, | ||
| int | nOffsetLimit | ||
| ) |
Definition at line 43 of file timedata.cpp.
| int64_t GetAdjustedTime | ( | ) |
Definition at line 36 of file timedata.cpp.
| int64_t GetCurrentTimeSlot | ( | ) |
Definition at line 106 of file timedata.cpp.
| int64_t GetTimeOffset | ( | ) |
"Never go to sea with two chronometers; take one or three." Our three time sources are:
Definition at line 30 of file timedata.cpp.
| int64_t GetTimeSlot | ( | const int64_t | nTime | ) |
Definition at line 100 of file timedata.cpp.