mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
flood to 2 next day closest floodfills before UTC midnight
This commit is contained in:
parent
bc8adf1433
commit
a1995c13cd
6 changed files with 49 additions and 16 deletions
|
@ -28,7 +28,8 @@ namespace util
|
|||
uint64_t GetMonotonicMilliseconds ();
|
||||
uint64_t GetMonotonicSeconds ();
|
||||
|
||||
void GetCurrentDate (char * date); // returns date as YYYYMMDD string, 9 bytes
|
||||
void GetCurrentDate (char * date); // returns UTC date as YYYYMMDD string, 9 bytes
|
||||
void GetNextDayDate (char * date); // returns next UTC day as YYYYMMDD string, 9 bytes
|
||||
void GetDateString (uint64_t timestamp, char * date); // timestamp is seconds since epoch, returns date as YYYYMMDD string, 9 bytes
|
||||
void AdjustTimeOffset (int64_t offset); // in seconds from current
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue