Prepare validator DB for attester protection implementation (#4584)

* Add flag for attester protection
* Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into protecc-attester-db
* Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into protecc-attester-db
* Remove flags
* Add attestation history DB functions to validator client
* Fix comments
* Update interface to new funcs
* Merge branch 'master' of https://github.com/prysmaticlabs/Prysm into protecc-attester-db
* Fix test
* Merge branch 'master' into protecc-attester-db
This commit is contained in:
Ivan Martinez
2020-01-19 17:05:48 -05:00
committed by prylabs-bulldozer[bot]
parent e7ecd9329a
commit a4db560e55
7 changed files with 293 additions and 9 deletions

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"attestation_history.go",
"db.go",
"proposal_history.go",
"schema.go",
@@ -26,6 +27,7 @@ go_library(
go_test(
name = "go_default_test",
srcs = [
"attestation_history_test.go",
"proposal_history_test.go",
"setup_db_test.go",
],