prysm-pulse/shared/attestationutil
terence tsao af3122a9e8
Fork choice avoids redundant call to get_ancestor (#6282)
* Add helper to prevent zero hashes

* Test

* Add cacheJustifiedStateBalances

* Cache justifed balances

* Use cached justified balances

* Remove unncessary justification checks during initial syncing

* Test

* Proper locking

* Use getter

* Add CheckPointIsEqual helper

* Test CheckPointIsEqual helper

* Update finalizedImpliesNewJustified

* Better tests for finalizedImpliesNewJustified

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-06-17 08:50:10 -05:00
..
attestation_utils_test.go Fork choice avoids redundant call to get_ancestor (#6282) 2020-06-17 08:50:10 -05:00
attestation_utils.go Fork choice avoids redundant call to get_ancestor (#6282) 2020-06-17 08:50:10 -05:00
BUILD.bazel Update to v0.12 (#5614) 2020-06-09 15:40:48 -07:00