Adding work threshold for live network.
This commit is contained in:
parent
cd03839254
commit
207bf38f9b
1 changed files with 1 additions and 0 deletions
|
@ -82,6 +82,7 @@ public:
|
|||
// Local work threshold for rate-limiting publishing blocks. ~5 seconds of work.
|
||||
static uint64_t const publish_test_threshold = 0xff00000000000000;
|
||||
static uint64_t const publish_full_threshold = 0xfffffe0000000000;
|
||||
static uint64_t const publish_live_threshold = 0xfffffff000000000;
|
||||
static uint64_t const publish_threshold = rai::rai_network == rai::rai_networks::rai_test_network ? publish_test_threshold : publish_full_threshold;
|
||||
};
|
||||
class unique_ptr_block_hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue