Paul Nelson
c1c3b75867
Move generic HashTreeRoot funcs to //shared ( #6167 )
...
* Functions that are to be moved to //shared/htrutils captured in separate file.
* Move files into new //shared/htutils package
hash_function.go renamed to hashers.go
* Refactor to reference moved methods in new package
- Added import for htrutils to state and stateutil packages
- Update references to imported funcs (append "htrutils.")
- Updated funcs in htrutils to be exported where necessary
* Add tests
2020-06-18 10:15:13 +08:00
Preston Van Loon
973a0a89b5
Update state root cache to fuzz in parallel ( #5364 )
...
* Update state root cache to fuzz in parallel
* confirmed arrays passing
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
2020-04-10 13:12:59 -05:00
Nishant Das
63df1d0b8d
Add Merkleize With Customized Hasher ( #5234 )
...
* add buffer for merkleizer
* add comment
* Merge refs/heads/master into merkleize
* Merge refs/heads/master into merkleize
* Merge refs/heads/master into merkleize
* Merge refs/heads/master into merkleize
* Merge refs/heads/master into merkleize
* Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into merkleize
* Merge branch 'merkleize' of https://github.com/prysmaticlabs/geth-sharding into merkleize
* lint
* Merge refs/heads/master into merkleize
2020-03-29 06:13:24 +00:00
Nishant Das
431762164e
Add New State Utils ( #5117 )
...
* add new helpers
* make zerohash public
* remove unused method
* add more tests
* cleanup
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-03-17 14:25:17 -05:00
Nishant Das
83945ca54b
Shift Stateutils to State Package ( #4921 )
...
* shift over
* new changes
* imports
* Merge branch 'master' into shiftUtils
2020-02-21 16:52:21 +00:00