Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove compute_dataset_item_512() #210

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Remove compute_dataset_item_512() #210

merged 1 commit into from
Nov 10, 2021

Conversation

chfast
Copy link
Owner

@chfast chfast commented Nov 9, 2021

The Ethash spec defines the full dataset (DAG) in terms of 512-bit
items. However, the items are always used in pairs. The implementation
always uses calculate_dataset_item_1024() and
calculate_dataset_item_512() was only used in tests.

The Ethash spec defines the full dataset (DAG) in terms of 512-bit
items. However, the items are always used in pairs. The implementation
always uses calculate_dataset_item_1024() and
calculate_dataset_item_512() was only used in tests.
@codecov-commenter
Copy link

Codecov Report

Merging #210 (a725a2f) into master (b197650) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
- Coverage   98.64%   98.63%   -0.01%     
==========================================
  Files          17       17              
  Lines        1332     1323       -9     
==========================================
- Hits         1314     1305       -9     
  Misses         18       18              
Flag Coverage Δ
be 85.35% <ø> (-0.10%) ⬇️
default 98.39% <ø> (-0.02%) ⬇️
x86_64 84.99% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/ethash/ethash-internal.hpp 100.00% <ø> (ø)
lib/ethash/ethash.cpp 100.00% <ø> (ø)
test/unittests/test_ethash.cpp 95.85% <ø> (-0.05%) ⬇️

@chfast chfast merged commit a725a2f into master Nov 10, 2021
@chfast chfast deleted the remove_leftovers branch November 10, 2021 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants