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

Improve HTR of State #5058

Merged
merged 7 commits into from Mar 10, 2020
Merged

Improve HTR of State #5058

merged 7 commits into from Mar 10, 2020

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Mar 10, 2020

  • Add new hash function so that we can re-use buffer.
  • Add cache for eth1data votes to reduce redundant hashing.

@codecov
Copy link

codecov bot commented Mar 10, 2020

Codecov Report

Merging #5058 into master will increase coverage by 0.82%.
The diff coverage is 71.05%.

@@            Coverage Diff             @@
##           master    #5058      +/-   ##
==========================================
+ Coverage   56.72%   57.54%   +0.82%     
==========================================
  Files         270      270              
  Lines       20312    20214      -98     
==========================================
+ Hits        11522    11633     +111     
+ Misses       7198     6981     -217     
- Partials     1592     1600       +8

@@ -4,6 +4,10 @@ import (
"bytes"
"encoding/binary"

"github.com/prysmaticlabs/prysm/shared/hashutil"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

goimports

beacon-chain/state/stateutil/blocks.go Outdated Show resolved Hide resolved
beacon-chain/state/stateutil/hash_function.go Outdated Show resolved Hide resolved
beacon-chain/state/stateutil/blocks.go Outdated Show resolved Hide resolved
rauljordan and others added 6 commits March 10, 2020 10:03
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
@prylabs-bulldozer prylabs-bulldozer bot merged commit 93195b7 into master Mar 10, 2020
@delete-merged-branch delete-merged-branch bot deleted the improveHTR branch March 10, 2020 16:27
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.

None yet

3 participants