Browse Source

ethash_io tests and bug fixes

- Adding tests for the functionality offered by ethash_io

- ethash_io_write() now accepts ethash_params and seedhash instead of a
  block number. This is for better modularity but first and foremost for
  testability via unit tests
cl-refactor
Lefteris Karapetsas 10 years ago
parent
commit
8e2f9a3ea4
  1. 1
      io.h

1
io.h

@ -54,6 +54,7 @@ enum ethash_io_rc {
* @return For possible return values @see enum ethash_io_rc
*/
enum ethash_io_rc ethash_io_prepare(char const *dirname, ethash_blockhash_t seedhash);
/**
* Fully computes data and writes it to the file on disk.
*

Loading…
Cancel
Save