prysm-pulse/shared
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
..
attestationutil Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
benchutil Refactor generated benchmark files to allow for more general usage (#4436) 2020-01-17 12:25:35 -05:00
bls Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
bytesutil Validator keymanager refactor (#4340) 2020-01-04 03:51:53 +00:00
cmd add flag (#4622) 2020-01-23 11:25:10 +08:00
debug Update Phore Dependency to the latest version (#2792) 2019-06-12 11:06:39 -05:00
event Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
featureconfig Replace no-genesis-delay with custom-genesis-delay (#4678) 2020-01-28 21:07:43 +00:00
hashutil Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
interop Revert 4372 and 4373 (#4375) 2019-12-30 01:21:08 +00:00
iputils Advanced peer tracking (#4233) 2019-12-11 18:31:36 +08:00
keystore Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
logutil Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
mathutil Update To Latest Eth API (#4028) 2019-11-18 10:15:45 -06:00
mclockutil Standardize Naming of Shared Packages, Remove Deprecated Packages (#1435) 2019-01-31 10:53:58 +08:00
messagehandler Handle Pubsub Panics (#4350) 2019-12-24 04:59:08 +00:00
mock Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
mputil Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
pagination Update API to return empty next page token on last page response (#4176) 2019-12-03 17:45:43 +00:00
params Enable RPCMaxPageSize via Beacon Node Flag (#4539) 2020-01-16 21:19:43 +00:00
prometheus log buf.String() instead of map[reflect.Type]error (#3681) 2019-10-02 08:51:11 +08:00
roughtime remove roughtime servers hardcode (#3666) 2019-09-30 15:30:45 -05:00
runutil Fix typos and inconsistencies (#4453) 2020-01-07 20:36:55 -06:00
sliceutil Moved /shared/ test code in different package (#3714) 2019-10-04 15:46:49 -07:00
slotutil Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
stateutil fix bug (#4650) 2020-01-25 09:19:50 -08:00
testutil Slasher data update from archive (#4563) 2020-01-29 07:14:51 +05:30
traceutil Handle Runtime Error Type (#3954) 2019-11-09 05:53:20 -08:00
tracing Move p2p to deprecated-p2p (#3191) 2019-08-13 14:52:04 -04:00
trieutil Update run time to v0.9.3 (#4154) 2020-01-07 18:47:39 +00:00
version Added 'Prysm' to version information. (#4281) 2019-12-13 18:52:28 +00:00
BUILD.bazel Complain about improperly sized tests (#2873) 2019-06-30 09:00:22 -07:00
service_registry_test.go Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
service_registry.go Minor runtime fixes for --next (#3265) 2019-08-21 16:58:38 -04:00