diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-07 14:31:13 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-07 14:31:13 -0400 |
commit | 2fa2796f2abbf48e1f8c6b10a7a0fd99e6985862 (patch) | |
tree | b54105e958472973023258bec9776542673df1e0 /node/Identity.cpp | |
parent | 343b7f44fc52e6f467b75100cb670b1a4ae48d75 (diff) | |
download | infinitytier-2fa2796f2abbf48e1f8c6b10a7a0fd99e6985862.tar.gz infinitytier-2fa2796f2abbf48e1f8c6b10a7a0fd99e6985862.zip |
Another tweak, hopefully final, to reduce variance on identity generation times.
Diffstat (limited to 'node/Identity.cpp')
-rw-r--r-- | node/Identity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Identity.cpp b/node/Identity.cpp index c46321e0..e0d5afd7 100644 --- a/node/Identity.cpp +++ b/node/Identity.cpp @@ -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 { |