Another tweak, hopefully final, to reduce variance on identity generation times.

This commit is contained in:
Adam Ierymenko 2013-10-07 14:31:13 -04:00
parent 343b7f44fc
commit 2fa2796f2a
5 changed files with 13 additions and 8 deletions

View file

@ -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 {