prysm-pulse/shared/htrutils
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
..
BUILD.bazel Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
hashers_test.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
hashers.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
helpers_test.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
helpers.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
htrutils_test.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
htrutils.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
merkleize_test.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00
merkleize.go Move generic HashTreeRoot funcs to //shared (#6167) 2020-06-18 10:15:13 +08:00