prysm-pulse/beacon-chain/db/kv
Raul Jordan 8d8849feed
Implement Attestations DB Methods (#3183)
* 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

* save attestation implementation

* attestation basic methods

* batch  save

* all buckets

* refactor with ok bool

* retrieval by root working

* todo for has attestations

* all tests passing, fmt, imports

* generate key use helper

* most att methods complete

* crud tests passing

* closer and closer to filtering all atts

* default no filter

* filter criteria functioning

* simplified conditional

* filter criteria func

* filter criteria

* filter criteria for atts there

* query filter map strategy

* internal filter api complete

* comments

* complete the passing of all other tests using criteria met

* imports

* fix broken build:

* breaking arg

* import sort groups

* keygen outside tx

* address feedback
2019-08-13 11:04:33 -05:00
..
attestations_test.go Implement Attestations DB Methods (#3183) 2019-08-13 11:04:33 -05:00
attestations.go Implement Attestations DB Methods (#3183) 2019-08-13 11:04:33 -05:00
blocks.go Save head block root for new DB refactor (#3182) 2019-08-12 12:13:30 -04:00
BUILD.bazel Implement Attestations DB Methods (#3183) 2019-08-13 11:04:33 -05:00
kv_test.go Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00
kv.go Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00
schema.go Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00
state.go Define Interface Stubs for New DB Interface (#3164) 2019-08-10 20:50:10 -04:00
validators_test.go Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00
validators.go Implement Validator DB Methods (#3172) 2019-08-12 14:33:07 -05:00