prysm-pulse/beacon-chain/sync
Jie Hou 6c878b1665
Refactor: Continue reducing cognitive complexity (#10862)
* Refactor beacon-chain/db/kv/state.go

* Refactor api/gateway/apimiddleware/process_field.go

* Refactor beacon-chain/sync/initial-sync/blocks_queue.go

* Refactor validator/db/kv/migration_optimal_attester_protection.go

* goimports

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-06-15 18:34:59 +00:00
..
backfill Move BeaconBlockNil Checker Function to Consensus-Types/Wrapper Package (#10731) 2022-05-20 23:29:16 +00:00
checkpoint Ignore genesis state url and checkpoint sync flags after first run of prysm (#10881) 2022-06-14 23:23:25 +00:00
genesis Ignore genesis state url and checkpoint sync flags after first run of prysm (#10881) 2022-06-14 23:23:25 +00:00
initial-sync Refactor: Continue reducing cognitive complexity (#10862) 2022-06-15 18:34:59 +00:00
batch_verifier_test.go Rename To Signature Batch (#9926) 2021-11-23 17:57:06 +01:00
batch_verifier.go Update Batch Verification Routine (#10127) 2022-05-04 04:47:53 +00:00
BUILD.bazel More selective on marking block as bad (#10681) 2022-05-20 17:05:39 +00:00
context_test.go Update libp2p to latest release (#10423) 2022-04-19 12:53:58 +00:00
context.go Update libp2p to latest release (#10423) 2022-04-19 12:53:58 +00:00
deadlines.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
decode_pubsub_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
decode_pubsub.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
error.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
fork_watcher_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
fork_watcher.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
fuzz_exports.go Use go:build lines and remove obsolete +build lines (#10704) 2022-06-14 11:47:27 +00:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Update Batch Verification Routine (#10127) 2022-05-04 04:47:53 +00:00
options.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
pending_attestations_queue_test.go Refactor and use has_block getter (#10592) 2022-05-04 00:17:40 +00:00
pending_attestations_queue.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
pending_blocks_queue_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
pending_blocks_queue.go Sync: don't process pending blocks w/o genesis time (#10750) 2022-06-10 05:02:47 +00:00
rate_limiter_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
rate_limiter.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
rpc_beacon_blocks_by_range_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_beacon_blocks_by_range.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_beacon_blocks_by_root_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_beacon_blocks_by_root.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_chunked_response_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_chunked_response.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_goodbye_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
rpc_goodbye.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
rpc_metadata_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
rpc_metadata.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_ping_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
rpc_ping.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
rpc_send_request_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_send_request.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_status_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
rpc_status.go Chain info: Return err if checkpoint is nil (#10729) 2022-05-20 18:41:33 +00:00
rpc_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
service_test.go Move Consensus Type Wrappers Into Consensus Types Package (#10598) 2022-05-02 15:43:40 +00:00
service.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
subscriber_beacon_aggregate_proof_test.go Use signature length from fieldparams (#10019) 2021-12-15 15:14:30 -05:00
subscriber_beacon_aggregate_proof.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_beacon_attestation.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
subscriber_beacon_blocks_test.go Fix error.Is ordering (#10685) 2022-05-12 22:43:34 +00:00
subscriber_beacon_blocks.go Graduate Prune Canonical Attestations Feature (#10623) 2022-06-15 09:05:19 +00:00
subscriber_handlers.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_sync_committee_message.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_sync_contribution_proof.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
subscriber_test.go Config registry (#10683) 2022-05-20 07:16:53 +00:00
subscriber.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
subscription_topic_handler_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
subscription_topic_handler.go Various clean up before v2 (#9672) 2021-09-24 17:42:16 +00:00
sync_fuzz_test.go Use go:build lines and remove obsolete +build lines (#10704) 2022-06-14 11:47:27 +00:00
sync_test.go Replace ioutil with io and os (#10541) 2022-04-18 20:42:07 +00:00
utils_test.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
utils.go Rename Block Package in Consensus-Types to Interfaces (#10605) 2022-05-02 14:32:37 -04:00
validate_aggregate_proof_test.go Refactor and use has_block getter (#10592) 2022-05-04 00:17:40 +00:00
validate_aggregate_proof.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_attester_slashing_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_attester_slashing.go Insert over-the-wire slashing to forkchoice (#10615) 2022-05-07 15:56:34 +00:00
validate_beacon_attestation_test.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_beacon_attestation.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_beacon_blocks_test.go Fix Tests in sync/validate_beacon_blocks.go to Pass for the Right Reasons (#10711) 2022-05-19 03:45:45 +00:00
validate_beacon_blocks.go Move BeaconBlockNil Checker Function to Consensus-Types/Wrapper Package (#10731) 2022-05-20 23:29:16 +00:00
validate_proposer_slashing_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_proposer_slashing.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_sync_committee_message_test.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_sync_committee_message.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00
validate_sync_contribution_proof_test.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_sync_contribution_proof.go Ignore subset aggregates (#10674) 2022-05-25 05:40:06 +00:00
validate_voluntary_exit_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_voluntary_exit.go Remove Eth2-Types Dependency in Prysm (#10578) 2022-04-29 10:32:11 -04:00