diff options
| author | rbrunner7 <rbrunner@dreamshare.ch> | 2019-12-27 14:31:13 +0100 |
|---|---|---|
| committer | rbrunner7 <rbrunner@dreamshare.ch> | 2020-03-21 07:32:55 +0100 |
| commit | 387fd668d18526329c051ad2ba6202fd79846971 (patch) | |
| tree | dd9f5bbf4f96b460ec0d268b682a82b1b9c1df86 /src/common/util.h | |
| parent | d1cf16364fb1901c2940ce66024688ea3fe3fc48 (diff) | |
| download | monzero-core-387fd668d18526329c051ad2ba6202fd79846971.tar.gz monzero-core-387fd668d18526329c051ad2ba6202fd79846971.tar.xz monzero-core-387fd668d18526329c051ad2ba6202fd79846971.zip | |
Daemon: Print estimates for time until fully synced
Diffstat (limited to 'src/common/util.h')
| -rw-r--r-- | src/common/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index b794d7908..25137ab64 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -46,6 +46,7 @@ #endif #include "crypto/hash.h" +#include "cryptonote_config.h" /*! \brief Various Tools * @@ -252,4 +253,6 @@ namespace tools void clear_screen(); std::vector<std::pair<std::string, size_t>> split_string_by_width(const std::string &s, size_t columns); + + uint64_t cumulative_block_sync_weight(cryptonote::network_type nettype, uint64_t start_block, uint64_t num_blocks); } |
