prysm-pulse/validator/db
Ivan Martinez ad8716a58e
Refactor validator protection for attesters (#5695)
* Finish refactor for attestation protection

* Finish refactor for proposal history

* Revert "Finish refactor for proposal history"

This reverts commit 2f13720063da8c9bd972d2007d673ab8b8f1b44e.

* Fix tests

* Implement UpdateProtections

* Implement refactor

* Fixes

* fix

* Undo proposer changes

* Fix test

* Final look through

* Add tests for protections function

* Add lock

* Add flag in front of attester protection code

* Add proper rwlocks and fix flags

* fix

* fix build

* Fix atestation tests

* Fix deprecated flags

* Add protect attester to standard attesting test

* Remove comment

* gofmt

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-05-08 10:16:53 -05:00
..
iface Refactor validator protection for attesters (#5695) 2020-05-08 10:16:53 -05:00
attestation_history_test.go Refactor validator protection for attesters (#5695) 2020-05-08 10:16:53 -05:00
attestation_history.go Refactor validator protection for attesters (#5695) 2020-05-08 10:16:53 -05:00
BUILD.bazel libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
db.go Other Package Godocs for Prysm (#5681) 2020-04-29 21:32:39 +00:00
proposal_history_test.go Refactor db teardown to testing.TB.Cleanup (#5725) 2020-05-04 01:14:34 +00:00
proposal_history.go Refactor validator protection for attesters (#5695) 2020-05-08 10:16:53 -05:00
schema.go Prepare validator DB for attester protection implementation (#4584) 2020-01-19 22:05:48 +00:00
setup_db_test.go Refactor db teardown to testing.TB.Cleanup (#5725) 2020-05-04 01:14:34 +00:00
setup_db.go Refactor db teardown to testing.TB.Cleanup (#5725) 2020-05-04 01:14:34 +00:00