Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <timedata.h>
#include <netaddress.h>
#include <sync.h>
#include <ui_interface.h>
#include <util.h>
#include <utilstrencodings.h>
#include <warnings.h>
Go to the source code of this file.
Macros | |
#define | FABCOIN_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) |
#define FABCOIN_TIMEDATA_MAX_SAMPLES 200 |
Definition at line 45 of file timedata.cpp.
void AddTimeData | ( | const CNetAddr & | ip, |
int64_t | nOffsetSample | ||
) |
Definition at line 47 of file timedata.cpp.
int64_t GetAdjustedTime | ( | ) |
Definition at line 35 of file timedata.cpp.
int64_t GetTimeOffset | ( | ) |
"Never go to sea with two chronometers; take one or three." Our three time sources are:
Functions to keep track of adjusted P2P time.
Definition at line 29 of file timedata.cpp.