mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
dd230491db
This tweaks uptime proofs to go out on the first timer tick in the 58.5-62.5 interval (rather than 60-65) which should result in proofs usually being very close to the 60 minute mark. (Currently a fair percentage end up at the 65m mark because the timer fires just before the 60m mark). It also tweaks the first uptime proof to go out after 2 minutes instead of 5 minutes, and uses separate constants (UPTIME_PROOF_INITIAL_DELAY_SECONDS, UPTIME_PROOF_TIMER_SECONDS) for times that were previously overloading the UPTIME_PROOF_BUFFER_IN_SECONDS constant. For debugging this also adds a cmake option LOKI_DEBUG_SHORT_PROOFS that, when enabled, makes the whole proof cycle (sending and acceptance) 20x faster, which is very useful for local testnet debugging. |
||
---|---|---|
.. | ||
blockchain.cpp | ||
blockchain.h | ||
CMakeLists.txt | ||
cryptonote_core.cpp | ||
cryptonote_core.h | ||
cryptonote_tx_utils.cpp | ||
cryptonote_tx_utils.h | ||
miner.cpp | ||
miner.h | ||
service_node_list.cpp | ||
service_node_list.h | ||
service_node_quorum_cop.cpp | ||
service_node_quorum_cop.h | ||
service_node_rules.cpp | ||
service_node_rules.h | ||
service_node_swarm.cpp | ||
service_node_swarm.h | ||
service_node_voting.cpp | ||
service_node_voting.h | ||
tx_blink.cpp | ||
tx_blink.h | ||
tx_pool.cpp | ||
tx_pool.h | ||
tx_sanity_check.cpp | ||
tx_sanity_check.h |