prysm-pulse/beacon-chain/sync
shayzluf ade61717a4
Slasher data update from archive (#4563)
* first version

* cli context

* fix service

* starting change to ccache

* ristretto cache

* added test

* test on evict

* remove evict test

* test onevict

* comment for exported flag

* update all span maps on load

* fix setup db

* span cache added to help flags

* start save cache on exit

* save cache to db before close

* comment fix

* fix flags

* setup db new

* data update from archive node

* gaz

* slashing detection on old attestations

* un-export

* rename

* nishant feedback

* workspace cr

* lint fix

* fix calls

* start db

* fix test

* Update slasher/db/db.go

Co-Authored-By: Nishant Das <nishdas93@gmail.com>

* add flag

* fix fail to start beacon client

* mock beacon service

* fix imports

* gaz

* goimports

* add clear db flag

* print finalized epoch

* better msg

* Update slasher/db/attester_slashings.go

Co-Authored-By: Raul Jordan <raul@prysmaticlabs.com>

* raul feedback

* raul feedback

* raul feedback

* raul feedback

* raul feedback

* add detection in runtime

* fix tests

* raul feedbacks

* raul feedback

* raul feedback

* goimports

* Update beacon-chain/blockchain/process_attestation_helpers.go

* Update beacon-chain/blockchain/receive_block.go

* Update beacon-chain/core/blocks/block_operations_test.go

* Update beacon-chain/core/blocks/block_operations.go

* Update beacon-chain/core/epoch/epoch_processing.go

* Update beacon-chain/sync/validate_aggregate_proof_test.go

* Update shared/testutil/block.go

* Update slasher/service/data_update.go

* Update tools/blocktree/main.go

* Update slasher/service/service.go

* Update beacon-chain/core/epoch/precompute/attestation_test.go

* Update beacon-chain/core/helpers/committee_test.go

* Update beacon-chain/core/state/transition_test.go

* Update beacon-chain/rpc/aggregator/server_test.go

* Update beacon-chain/sync/validate_aggregate_proof.go

* Update beacon-chain/rpc/validator/proposer_test.go

* Update beacon-chain/blockchain/forkchoice/process_attestation.go

Co-Authored-By: terence tsao <terence@prysmaticlabs.com>

* Update slasher/db/indexed_attestations.go

Co-Authored-By: terence tsao <terence@prysmaticlabs.com>

* Update slasher/service/data_update.go

Co-Authored-By: terence tsao <terence@prysmaticlabs.com>

* terence feedback

* terence feedback

* goimports

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Nishant Das <nish1993@hotmail.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2020-01-29 07:14:51 +05:30
..
initial-sync Fix initial sync cache state (#4677) 2020-01-28 12:43:54 -08:00
BUILD.bazel Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
deadlines.go Initial Sync: Round robin (#3538) 2019-09-25 12:00:04 -05:00
decode_pubsub.go Use libp2p gossipsub upstream validator framework (#4318) 2019-12-20 03:18:08 +00:00
doc.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
error_test.go Service as proper names (#4293) 2019-12-16 19:53:55 -06:00
error.go Rate limiter for rpc beacon blocks (#4549) 2020-01-15 17:19:06 -08:00
log.go Regular Sync - First Pass (#3201) 2019-08-16 13:13:04 -04:00
metrics.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
pending_blocks_queue_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
pending_blocks_queue.go Part 1 of proto array fork choice - docs and interfaces (#4615) 2020-01-22 10:50:16 -06:00
rpc_beacon_blocks_by_range_test.go Rate limiter for rpc beacon blocks (#4549) 2020-01-15 17:19:06 -08:00
rpc_beacon_blocks_by_range.go Rate limiter for rpc beacon blocks (#4549) 2020-01-15 17:19:06 -08:00
rpc_beacon_blocks_by_root_test.go Rate limiter for rpc beacon blocks (#4549) 2020-01-15 17:19:06 -08:00
rpc_beacon_blocks_by_root.go Rate limiter for rpc beacon blocks (#4549) 2020-01-15 17:19:06 -08:00
rpc_chunked_response.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
rpc_goodbye_test.go Service as proper names (#4293) 2019-12-16 19:53:55 -06:00
rpc_goodbye.go Service as proper names (#4293) 2019-12-16 19:53:55 -06:00
rpc_status_test.go unskip test (#4411) 2020-01-05 13:39:14 +08:00
rpc_status.go Ensure initial sync is initialised (#4587) 2020-01-20 10:38:27 -06:00
rpc_test.go Service as proper names (#4293) 2019-12-16 19:53:55 -06:00
rpc.go p2p: Increment RPC metrics (#4547) 2020-01-14 17:02:50 +00:00
service.go Wire voluntary exits pool (#4613) 2020-01-22 22:27:44 +00:00
subscriber_beacon_aggregate_proof_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber_beacon_aggregate_proof.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber_beacon_blocks_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber_beacon_blocks.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber_committee_index_beacon_attestation_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber_committee_index_beacon_attestation.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber_handlers.go Wire voluntary exits pool (#4613) 2020-01-22 22:27:44 +00:00
subscriber_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
subscriber.go Use a better skip slots cache with a lock around it for identical parallel ProcessSlots requests (#4597) 2020-01-21 02:19:42 +00:00
validate_aggregate_proof_test.go Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
validate_aggregate_proof.go Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
validate_attester_slashing_test.go Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
validate_attester_slashing.go Use libp2p gossipsub upstream validator framework (#4318) 2019-12-20 03:18:08 +00:00
validate_beacon_attestation_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_beacon_attestation.go Use libp2p gossipsub upstream validator framework (#4318) 2019-12-20 03:18:08 +00:00
validate_beacon_blocks_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_beacon_blocks.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_committee_index_beacon_attestation_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_committee_index_beacon_attestation.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_proposer_slashing_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_proposer_slashing.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validate_voluntary_exit_test.go Wire voluntary exits pool (#4613) 2020-01-22 22:27:44 +00:00
validate_voluntary_exit.go Refactor block operations for validating exits slightly (#4612) 2020-01-22 13:49:38 -08:00