Add missing tests, refactor, improve type specs

This commit is contained in:
Juraj Hlista
2019-02-10 14:30:15 +01:00
parent c2b9873d10
commit d6021504ad
11 changed files with 629 additions and 357 deletions
+8 -2
View File
@@ -1,5 +1,11 @@
-define(HIGHEST_TARGET_SCI, 16#2100ffff).
-define(HIGHEST_TARGET_INT, 16#ffff000000000000000000000000000000000000000000000000000000000000).
-define(NONCE_BITS, 64).
-define(MAX_NONCE, 16#ffffffffffffffff).
-define(DIFFICULTY_INTEGER_FACTOR, 16#1000000).
-define(MAX_NONCE, 16#ffffffffffffffff).
-define(SOLUTION_SIZE, 42).