prysm-pulse/beacon-chain/db
Manu NALEPA 3d13c69ef3
Slasher: Fix surrounded votes false negative (#13612)
* `LastEpochWrittenForValidators`: Use golang if.

* `SaveLastEpochsWrittenForValidators`: Refactor.

* `SaveLastEpochsWrittenForValidators`: Fix when `epochByValIndex` > `batchSize`.

Before this commit, `TestStore_LastEpochWrittenForValidators` works if `validatorsCount <= 10000`
and stops working if `validatorsCount > 10000`.

* Slasher: Detect surrounded votes in multiple batches.

Fixes https://github.com/prysmaticlabs/prysm/issues/13591.
2024-02-13 15:50:33 +00:00
..
filesystem db: clear blobs when using --clear-db or --force-clear-db (#13605) 2024-02-10 03:52:30 +00:00
filters Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
iface Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
kv db: clear blobs when using --clear-db or --force-clear-db (#13605) 2024-02-10 03:52:30 +00:00
slasherkv Slasher: Fix surrounded votes false negative (#13612) 2024-02-13 15:50:33 +00:00
testing Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
alias.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
BUILD.bazel Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
db_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
db.go Use functional options for --blob-retention-epochs (#13283) 2023-12-06 20:20:34 +00:00
errors.go Block backfilling (#12968) 2024-01-23 07:54:30 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
restore_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
restore.go Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00