mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
flood to 2 next day closest floodfills before UTC midnight
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user