mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
pow-testgiver support
This commit is contained in:
parent
dbde9c1c40
commit
f064b1047a
257 changed files with 6665 additions and 2608 deletions
|
@ -20,21 +20,12 @@
|
|||
|
||||
namespace td {
|
||||
|
||||
class ClocksBase {
|
||||
public:
|
||||
using Duration = double;
|
||||
struct Clocks {
|
||||
static double monotonic();
|
||||
|
||||
static double system();
|
||||
|
||||
static int tz_offset();
|
||||
};
|
||||
|
||||
// TODO: (maybe) write system specific functions.
|
||||
class ClocksDefault {
|
||||
public:
|
||||
using Duration = ClocksBase::Duration;
|
||||
|
||||
static Duration monotonic();
|
||||
|
||||
static Duration system();
|
||||
};
|
||||
|
||||
using Clocks = ClocksDefault;
|
||||
|
||||
} // namespace td
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue