Releases: chfast/ethash
Releases · chfast/ethash
ethash 1.0.1
ethash 1.0.0
- Removed: Deprecated function
ethash_verify()
has been removed. Useethash_verify_against_boundary()
. #226
ethash 0.9.0
- Added: The constant
ETHASH_MAX_EPOCH_NUMBER = 32639
representing the maximum supported Ethash epoch. #212 - Removed: Previously deprecated ProgPoW implementation. #207 #209 #210
- Removed: Support for using custom hash function for light cache generation. #213
- Removed: The internal header builtins.h. #208
ethash 0.8.0
- Added: The new set of functions which verify Ethash hashes against difficulty has been added to the library:
verify_against_difficulty()
andverify_final_hash_against_difficulty()
. These functions improve usability by omitting previously required difficulty to boundary conversion. The old verification function is still available under theverify_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 withverify_against_boundary()
. #193 - Deprecated:
verify_final_hash()
has been replaced byverify_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
.
- In C API error codes are represented by the
- Changed: Some build requirements have been increased.
ethash 0.7.1
ethash 0.7.0
- Changed: The global context API (aka "managed" API) has been moved to separate library
ethash::global-context
andethash/global_context.hpp
header. #175 - Added: CMake options to disable building of individual libraries:
-DETHASH_BUILD_GLOBAL_CONTEXT=NO
disables buildingethash::global-context
.-DETHASH_BUILD_ETHASH=NO
disables buildingethash::ethash
andethash::global-context
. Onlyethash::keccak
is built then.
- Added: Basic support for building to WebAssembly #175
ethash 0.6.0
ethash 0.5.2
- Fixed: Fix compilation with MSVC/C++17. #154
ethash 0.4.4
- Fixed: [#125] Fix compilation on PowerPC architectures (-mtune=generic not supported there).