prysm-pulse/beacon-chain/db/kv
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
..
testdata Embedded mainnet genesis state + load genesis.ssz from file (#8614) 2021-03-18 21:00:00 +00:00
archived_point_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
archived_point.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
backup_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
backup.go Use BeaconBlockIsNil helper more (#9834) 2021-11-01 14:13:05 +00:00
block_altair_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
block_merge_test.go make db merge compatible (#9987) 2021-12-07 18:51:05 +00:00
blocks_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
blocks.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
BUILD.bazel allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
checkpoint_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
checkpoint.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
deposit_contract_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
deposit_contract.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
encoding_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
encoding.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
error_test.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
error.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
finalized_block_roots_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
finalized_block_roots.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
genesis_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
genesis.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
init_test.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
key.go make db merge compatible (#9987) 2021-12-07 18:51:05 +00:00
kv_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
kv.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
migration_archived_index_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migration_archived_index.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
migration_block_slot_index_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migration_block_slot_index.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
migration_state_validators_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migration_state_validators.go Create config package for Shared/featureconfig (#9593) 2021-09-15 01:18:39 +00:00
migration.go Reduce memory overhead during DB migrations (#9298) 2021-07-30 08:38:54 -05:00
powchain_test.go Eliminate Proto V2 Namespace (#9297) 2021-07-28 21:23:44 +00:00
powchain.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
schema.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
state_summary_cache.go Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
state_summary_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
state_summary.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
state_test.go make db merge compatible (#9987) 2021-12-07 18:51:05 +00:00
state.go make db merge compatible (#9987) 2021-12-07 18:51:05 +00:00
utils_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
utils.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
wss.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00