prysm-pulse/beacon-chain/core/helpers
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
..
spectest Removed active count and shuffling cache (#4266) 2019-12-12 01:15:44 +00:00
attestation_aggregation_bench_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
attestation_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
attestation.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
block_test.go Add Block Generation Util to testutil package (#3674) (#3709) 2019-10-04 16:07:46 -07:00
block.go Add Block Generation Util to testutil package (#3674) (#3709) 2019-10-04 16:07:46 -07:00
BUILD.bazel Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
committee_test.go Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
committee.go Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
randao_test.go Removed active count and shuffling cache (#4266) 2019-12-12 01:15:44 +00:00
randao.go Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
rewards_penalties_test.go Apply Patch Rules to Use EthereumAPIs Generated Protos in Prysm (#4112) 2019-11-27 05:08:18 +00:00
rewards_penalties.go Remove dead cache (#3584) 2019-09-25 18:23:15 -07:00
shuffle_test.go Move SplitOffset to Sliceutil (#3606) 2019-09-26 16:25:55 -07:00
shuffle.go Update run time to v0.9 (#3935) 2019-11-11 17:03:43 -05:00
slot_epoch_test.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
slot_epoch.go Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
validators_test.go Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
validators.go Efficiently add proposer indices to cache (#4548) 2020-01-16 15:03:49 +00:00