Jack Grigg
d07cf62991
Speed up FullStepRow index comparison by leveraging big-endian byte layout
8 years ago
Jack Grigg
ae37d2a4cd
Increase Equihash parameters to n = 96, k = 3 (about 430 MiB)
Includes a tweak to set the fixed-width of the rows based on whether the first
or last round is widest. This is necessary for some parameters, these ones
included.
8 years ago
Jack Grigg
0a66f01304
Use depth-first scan for eliminating partial solutions instead of breadth-first
This reduces the peak number of lists in-memory from 2^k to k, and enables the
solver to eliminate most duplicates before it has instantiated the full set of
leaves.
8 years ago
Jack Grigg
447444ae7a
Fix nits after review
8 years ago
Jack Grigg
d4d76536a5
Use fixed-width array for storing hash and indices
8 years ago
Jack Grigg
29d9986c83
Store full indices in the same char* as the hash
8 years ago
Jack Grigg
639c40047f
Use comparator object for sorting StepRows
8 years ago
Jack Grigg
a683cc85d9
Merge *StepRow XOR and trimming operations
8 years ago
Jack Grigg
e95747288a
Use template parameters to statically initialise Equihash
8 years ago
Jack Grigg
39f5cb35f9
Store truncated indices in the same char* as the hash (H/T tromp for the idea!)
8 years ago
Jack Grigg
c92c1f6050
Implement index-truncation Equihash optimisation
8 years ago
Jack Grigg
6afef0dd6d
Cleanups
8 years ago
Jack Grigg
a3361e778b
Refactor StepRow to make optimisation easier
8 years ago
Taylor Hornby
675e17022f
Use left shift instead of floating-point pow() in equihash.
8 years ago
Jack Grigg
6d25662f25
Implement validator and basic solver for Equihash
8 years ago