oxen-core/src/common
Jason Rhinelander 2fb0dbcaa3 Tweak uptime proof times; reduce times for testnet
This makes uptime proof times network-dependent, and tweaks them a bit.
Also converts the times to type-safe std::chrono types rather than
macros.

Mainnet/testnet/devnet:

- Send the first proof 30s after startup rather than waiting 2 minutes.
- Check for whether we need to send a proof every 30s rather than every
5mins.

Mainnet:

Other times unchanged.

Testnet/devnet:

- Send proofs every 10min instead of 1h, and consider nodes to be down
after 21m instead of 2h5m.

Fakechain:

- Send 5s after startup, check every 5s, and send every 1min.
- Expiry after 2min5s

Also remove the cmake debug option for short proofs since the fakechain
changes above basically incorporate what it did.
2021-03-25 11:46:23 -03:00
..
compat Support docker for gitian builds 2019-02-14 23:14:34 +01:00
CMakeLists.txt Rename lokimq -> oxenmq 2021-01-14 19:35:00 -04:00
aligned.c Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
aligned.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
apply_permutation.h Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
base58.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
base58.h Replace boost::string_ref with std::string_view 2020-07-02 12:52:12 -03:00
boost_serialization_helper.h Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
combinator.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
combinator.h Miscellaneous header updates via iwyu 2020-07-02 12:52:13 -03:00
command_line.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
command_line.h Allow vector cli options to have defaults 2020-11-06 11:48:20 -04:00
common_fwd.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
dns_utils.cpp executable names changed 2021-01-04 14:19:42 +11:00
dns_utils.h Miscellaneous header updates via iwyu 2020-07-02 12:52:13 -03:00
error.cpp Work around gcc-8 compiler segfault 2020-08-11 11:18:31 -03:00
error.h Work around gcc-8 compiler segfault 2020-08-11 11:18:31 -03:00
expect.cpp Adding expect<T> - a value-or-error implementation 2018-09-12 22:44:34 +00:00
expect.h Misc. C++ modernization 2020-07-02 12:52:12 -03:00
file.cpp Eliminate tools::create_directories_if_necessary 2021-01-07 15:26:30 -04:00
file.h Eliminate tools::create_directories_if_necessary 2021-01-07 15:26:30 -04:00
fs.h std::filesystem 2020-10-24 12:45:37 -03:00
hex.h Rename lokimq -> oxenmq 2021-01-14 19:35:00 -04:00
i18n.cpp executable names changed 2021-01-04 14:19:42 +11:00
i18n.h Rewrite translation file generation using cmake 2020-06-15 12:49:33 -03:00
json_util.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
lock.h C++17 2020-07-02 12:52:12 -03:00
meta.h Rename lokimq -> oxenmq 2021-01-14 19:35:00 -04:00
notify.cpp executable names changed 2021-01-04 14:19:42 +11:00
notify.h std::filesystem 2020-10-24 12:45:37 -03:00
oxen.cpp initial loki -> oxen pass 2021-01-04 11:09:45 +11:00
oxen.h Tweak uptime proof times; reduce times for testnet 2021-03-25 11:46:23 -03:00
oxen_integration_test_hooks.h initial loki -> oxen pass 2021-01-04 11:09:45 +11:00
password.cpp executable names changed 2021-01-04 14:19:42 +11:00
password.h Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
perf_timer.cpp executable names changed 2021-01-04 14:19:42 +11:00
perf_timer.h executable names changed 2021-01-04 14:19:42 +11:00
periodic_task.h Merge commit 'dcff02e4c3b1214143b19685361c3c6cffa62be7' into MergeUpstream3 2020-05-26 15:15:25 +10:00
pruning.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
pruning.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
random.cpp Move randomness into new common/random.h 2019-11-27 14:07:52 -04:00
random.h quorumnet message for timestamp requests 2020-12-18 16:05:51 +11:00
rules.cpp config: Convert DIFFICULTY_BLOCKS_V2 to TARGET_BLOCK_TIME 2020-08-18 11:59:53 +10:00
rules.h Per output unlock time rebased (#114) 2018-08-03 11:39:28 +10:00
scoped_message_writer.cpp executable names changed 2021-01-04 14:19:42 +11:00
scoped_message_writer.h executable names changed 2021-01-04 14:19:42 +11:00
sha256sum.cpp std::filesystem 2020-10-24 12:45:37 -03:00
sha256sum.h std::filesystem 2020-10-24 12:45:37 -03:00
signal_handler.h Split up common/util.h 2020-07-02 12:52:12 -03:00
spawn.cpp executable names changed 2021-01-04 14:19:42 +11:00
spawn.h std::filesystem 2020-10-24 12:45:37 -03:00
stack_trace.cpp executable names changed 2021-01-04 14:19:42 +11:00
stack_trace.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
string_util.cpp lowercase_ascii_string - take a string_view instead of a string value 2020-09-17 10:24:09 -03:00
string_util.h Serialize the uptime proof using btencoding 2021-02-09 11:54:00 +11:00
threadpool.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
threadpool.h Replace (most) boost::thread with std::thread 2020-07-02 12:52:13 -03:00
unordered_containers_boost_serialization.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
util.cpp executable names changed 2021-01-04 14:19:42 +11:00
util.h std::filesystem 2020-10-24 12:45:37 -03:00
varint.h Address PR feedback 2020-07-02 12:56:37 -03:00