prysm-pulse/beacon-chain/db
kasey 3c61cc7d8a
allow checkpoint or genesis origin; refactoring (#9976)
* allow checkpoint or genesis origin; refactoring

some quick readability improvements and simplifying the logic enforcing
the startup ordering of the attestation processing routine

* address PR feedback

* gofmt

* Update beacon-chain/blockchain/receive_attestation.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Apply suggestions from code review

use log.WithError for aggregation friendliness

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

Co-authored-by: kasey <kasey@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-12-09 22:23:00 +00:00
..
filters Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
iface allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
kv allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
slasherkv Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
testing Slasher Simulator Code for Testing Optimized Slasher Behavior (#9695) 2021-09-29 02:27:21 +00:00
alias.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
BUILD.bazel allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
db_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
db.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
errors.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
restore_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
restore.go Miscellaneous Packages from Shared Into Proper Folders (#9638) 2021-09-21 18:11:16 +00:00