prysm-pulse/beacon-chain/sync
Potuz 57a323f083
Forkchoice featureflag (#10299)
* Compiling main beacon-chain binary

* Add feature flag

* passing protoarray tests

* passing nodetree tests

* passing blockchain package tests

* passing rpc tests

* go fmt

* re-export forkchoice store from blockchain package

* remove duplicated import

* remove unused var

* add nodetree rpc method

* remove slot from IsOptimisticForRoot

* release lock in IsOptimistic

* change package name

* Revert "change package name"

This reverts commit 679112f9ef795922c631e7823dbdfb3746838f3c.

* rename package

* Update doc

* Fix span names

* Terence + Raul review

* remove go:build flags

* add errors dep

* spec tests

* fix call to IsOptimisticForRoot

* fix test

* Fix conflict

* change name of function

* remove ctx from store.head

Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-03-09 03:05:51 +00:00
..
initial-sync Revert "Replace a Few IntFlags with Uint64Flags (#9959)" (#10163) 2022-02-01 08:51:17 +00:00
batch_verifier_test.go Rename To Signature Batch (#9926) 2021-11-23 17:57:06 +01:00
batch_verifier.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
BUILD.bazel Integration of Vectorized Sha256 In Prysm (#10166) 2022-02-28 21:56:12 +08:00
context_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
context.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
deadlines.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
decode_pubsub_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00: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 Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
fork_watcher.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
fuzz_exports.go Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +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 Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
pending_attestations_queue.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
pending_blocks_queue_test.go Prevent Reprocessing of a Block From Our Pending Queue (#9904) 2021-11-17 10:05:50 -05:00
pending_blocks_queue.go Integration of Vectorized Sha256 In Prysm (#10166) 2022-02-28 21:56:12 +08: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 Revert "Replace a Few IntFlags with Uint64Flags (#9959)" (#10163) 2022-02-01 08:51:17 +00:00
rpc_beacon_blocks_by_range.go Revert "Replace a Few IntFlags with Uint64Flags (#9959)" (#10163) 2022-02-01 08:51:17 +00:00
rpc_beacon_blocks_by_root_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc_beacon_blocks_by_root.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc_chunked_response_test.go Bellatrix sync changes (#10097) 2022-01-28 16:26:52 +00:00
rpc_chunked_response.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
rpc_goodbye_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc_goodbye.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc_metadata_test.go Integration of Vectorized Sha256 In Prysm (#10166) 2022-02-28 21:56:12 +08:00
rpc_metadata.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
rpc_ping_test.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc_ping.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
rpc_send_request_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
rpc_send_request.go Refactor: move functions beacon-chain/core/time -> time/slots (#9719) 2021-10-01 15:17:57 -05:00
rpc_status_test.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
rpc_status.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +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 [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +00:00
service.go [Service Config Revamp] - Sync Service With Functional Options (#9859) 2021-11-05 19:08:58 +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 Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
subscriber_beacon_blocks_test.go Use beacon state interfaces instead of concrete structs (#10195) 2022-02-08 09:30:06 +00:00
subscriber_beacon_blocks.go Bellatrix sync changes (#10097) 2022-01-28 16:26:52 +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 Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
subscriber.go Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00: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_test.go Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06: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
validate_aggregate_proof_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_aggregate_proof.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_attester_slashing_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_attester_slashing.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_beacon_attestation_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_beacon_attestation.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_beacon_blocks_test.go cherry picked PR of #10233 (#10301) 2022-03-07 13:19:07 +00:00
validate_beacon_blocks.go Forkchoice featureflag (#10299) 2022-03-09 03:05:51 +00:00
validate_proposer_slashing_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_proposer_slashing.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_sync_committee_message_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_sync_committee_message.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_sync_contribution_proof_test.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00
validate_sync_contribution_proof.go cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +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 cherry picked PR for #10274 (#10300) 2022-03-06 08:09:12 +00:00