Skip to content

ethash 0.8.0

Compare
Choose a tag to compare
@chfast chfast released this 09 Nov 08:32
· 57 commits to master since this release
v0.8.0
e3e002e
  • Added: The new set of functions which verify Ethash hashes against difficulty has been added to the library: verify_against_difficulty() and verify_final_hash_against_difficulty(). These functions improve usability by omitting previously required difficulty to boundary conversion. The old verification function is still available under the verify_against_boundary() name but its usage is discouraged. #195
  • Added: The dedicated procedure to convert difficulty to boundary ethash_difficulty_to_boundary() has been added to the testing infrastructure but can be promoted to the public API if requested. #191
  • Deprecated: verify() has been deprecated and replaced with verify_against_boundary(). #193
  • Deprecated: verify_final_hash() has been replaced by verify_final_hash_against_difficulty(). #200
  • Deprecated: The ProgPoW support has been deprecated and will be removed in the next release. #201
  • Changed: The internal hash type comparison operators have been optimized and the dependency on the memcmp() function has been dropped. #186
  • Changed: Verification functions now return error codes instead of bool with additional information about which verification check has failed. #187
    • In C API error codes are represented by the ethash_errc enum,
    • In C++ the error codes are wrapped into std::error_code.
  • Changed: Some build requirements have been increased.
    • C11 is required (previously C99), #188
    • C++14 is required (previously C++11), #189
    • CMake 3.16 is required (previously 3.13), #205
    • Python wheels are now built with manylinux_2_24. #194