32 Commits (b58c15b9fbbca4152e588f81f9f7d8092e7c28da)

Author SHA1 Message Date
Duke Leto b58c15b9fb update copyrights 3 years ago
Duke Leto 609b223e90 Hush Equihash (N,K) implementation 4 years ago
Duke Leto 8a5130713d Hush them headers 4 years ago
Duke Leto be16f80abc Hush Full Node is now GPLv3 4 years ago
Duke Leto a7f88a87aa Update copyright URL to be https 4 years ago
jahway603 8558fa1c8d Added stdexcept to src/crypto/equihash.h to enable compiling hush3 in Arch Linux with gcc 10 4 years ago
blackjok3r 18854e2af7 ac_nk params 5 years ago
Jack Grigg 2cc0a252ad
Add compile flag to disable compilation of mining code 8 years ago
Daira Hopwood c6a7e897bc Add mostly-static checks on consistency of Equihash parameters, MAX_HEADERS_RESULTS, and MAX_PROTOCOL_MESSAGE_LENGTH. 8 years ago
Jack Grigg 5be6abbf84 Store the Equihash solution in minimal representation in the block header 8 years ago
Jack Grigg 20abe2083c Extend byte array expansion and compression methods with optional padding 8 years ago
Jack Grigg caa0348f04 Update Equihash hash generation to match the Zcash spec 8 years ago
Jack Grigg 881ffbfc87 Add methods for byte array expansion and compression 8 years ago
Jack Grigg eeb4177843 Add Equihash support for n = 200, k = 9 8 years ago
Jack Grigg 036dcbd94a Remove the assumption that n/(k+1) is a multiple of 8. 8 years ago
Jack Grigg 51eb5273f5 Equihash: Pass each obtained solution to a callback for immediate checking 8 years ago
Jack Grigg 215b9e139d Use std::shared_ptr to deallocate partialSolns automatically 8 years ago
Jack Grigg 1655db285d Move initialisations to simplify cancelled checks 8 years ago
Jack Grigg 5b4ebcd5e2 Add tests that exercise the cancellation code branches 8 years ago
Jack Grigg 2dbabb1159 Make Equihash solvers cancellable 8 years ago
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) 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 a3361e778b Refactor StepRow to make optimisation easier 8 years ago
Jack Grigg 6d25662f25 Implement validator and basic solver for Equihash 8 years ago