Another tweak, hopefully final, to reduce variance on identity generation times.
This commit is contained in:
parent
343b7f44fc
commit
2fa2796f2a
5 changed files with 13 additions and 8 deletions
|
@ -40,13 +40,13 @@
|
|||
// parameters of the hashcash hashing/searching algorithm.
|
||||
|
||||
// Hashcash halting criteria
|
||||
#define ZT_IDENTITY_GEN_HASHCASH_FIRST_BYTE_LESS_THAN 5
|
||||
#define ZT_IDENTITY_GEN_HASHCASH_FIRST_BYTE_LESS_THAN 7
|
||||
|
||||
// Amount of memory for memory-hardness
|
||||
#define ZT_IDENTITY_GEN_MEMORY 8388608
|
||||
|
||||
// Step distance for mixing genmem[]
|
||||
#define ZT_IDENTITY_GEN_MEMORY_MIX_STEP 128
|
||||
#define ZT_IDENTITY_GEN_MEMORY_MIX_STEP 1024
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue