prysm-pulse/beacon-chain/db
Raul Jordan 6bd8ae8f67
Implement Validator DB Methods (#3172)
* begin db interface

* define the database interface

* interface definition simplifications

* include latest message proto

* modify pbs

* rem kv folder

* add filter interface

* lint

* ctx package is great

* interface getting better

* ctx everywhere...it's everywhere!

* block roots method

* new kv store initialization

* comments

* gaz

* implement interface

* refactor for proper naming conventions

* add todos

* proper comments

* rem unused

* add schema

* implementation simplicity

* has validator latest vote func impl

* retrieve validator latest vote

* has idx

* implement missing validator methods

* missing validator methods and test helpers

* validator index crud tests

* validator tests

* all buckets

* refactor with ok bool

* all tests passing, fmt, imports
2019-08-12 14:33:07 -05:00
..
filters Define Interface Stubs for New DB Interface (#3164) 2019-08-10 20:50:10 -04:00
kv Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00
attestation_test.go Aggregate attestations before adding into the DB (#3149) 2019-08-10 16:13:04 -04:00
attestation.go Aggregate attestations before adding into the DB (#3149) 2019-08-10 16:13:04 -04:00
block_operations_test.go Remove unused proto schemas (#3005) 2019-07-22 10:03:57 -04:00
block_operations.go Remove unused proto schemas (#3005) 2019-07-22 10:03:57 -04:00
block_test.go Remove optional verify signatures argument when verifying deposits (#3052) 2019-07-23 22:19:14 +05:30
block.go Finish error wrapping (#3135) 2019-08-04 15:45:03 -07:00
BUILD.bazel Define Interface Stubs for New DB Interface (#3164) 2019-08-10 20:50:10 -04:00
db_test.go Define Interface Stubs for New DB Interface (#3164) 2019-08-10 20:50:10 -04:00
db.go Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00
deposit_contract_test.go Implement Node gRPC Server (#3049) 2019-07-22 21:19:55 -05:00
deposit_contract.go Implement Node gRPC Server (#3049) 2019-07-22 21:19:55 -05:00
deposits_test.go Add tests for db deposits (#3111) 2019-07-30 12:30:07 -04:00
deposits.go Fixes when Fetching Pending Deposits (#3119) 2019-08-01 11:12:54 -04:00
pending_deposits_test.go Remove unused proto schemas (#3005) 2019-07-22 10:03:57 -04:00
pending_deposits.go Remove unused proto schemas (#3005) 2019-07-22 10:03:57 -04:00
schema.go Refactor DB Package to Enable Multiple Blocks/States at Slots (#2540) 2019-05-09 10:42:12 -05:00
setup_db.go Wrap errors (#3123) 2019-08-01 19:27:38 -07:00
state_metrics.go Remove metrics with high cardinality (#3121) 2019-08-01 12:23:52 -04:00
state_test.go Remove optional verify signatures argument when verifying deposits (#3052) 2019-07-23 22:19:14 +05:30
state.go Wrap errors (#3123) 2019-08-01 19:27:38 -07:00
validator_test.go Remove unused proto schemas (#3005) 2019-07-22 10:03:57 -04:00
validator.go Remove unused proto schemas (#3005) 2019-07-22 10:03:57 -04:00