mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use published timestamp for blinding
This commit is contained in:
parent
5d5cd71714
commit
6cc6849ccc
4 changed files with 22 additions and 10 deletions
|
@ -16,6 +16,7 @@ namespace util
|
|||
uint64_t GetSecondsSinceEpoch ();
|
||||
|
||||
void GetCurrentDate (char * date); // returns date as YYYYMMDD string, 9 bytes
|
||||
void GetDateString (uint64_t timestamp, char * date); // timestap is seconds since epoch, returns date as YYYYMMDD string, 9 bytes
|
||||
|
||||
class NTPTimeSync
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue