prysm-pulse/beacon-chain/db/kv
Raul Jordan 6ec9d7e6e2
Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202)
* begin indices approach

* use shard bucket

* continue the indices approach

* eliminate the filter checkers in favor of the single loop of root lookups

* elim extraneous println statement

* continue the indices approach

* intersection for multiple filter types works, but is complex, verbose, and nearly unreadable

* remove unused code

* table drive tests for byte slice intersections

* include all table driven tests

* gazelle imports

* better abstractions

* better comments

* variadic approach working

* transform to variadic

* comments

* comments

* separate bucket for indices for faster range scans

* attestation key as hash tree root of data and different indices buckets

* test pass

* default behavior without filter

* appropriate filter criterion errors if criterion does not apply to type

* better abstractions and prune keys on deletion

* better naming

* fix build

* fix build

* rem extraneous code
2019-08-15 19:57:43 -05:00
..
attestations_test.go Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
attestations.go Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
blocks_test.go Implement Blocks DB Methods (#3195) 2019-08-13 09:49:27 -07:00
blocks.go Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
BUILD.bazel Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
kv_test.go Create a testing db method that can be used with the new database interface (#3217) 2019-08-15 17:41:51 -04:00
kv.go Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
schema.go Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
state_test.go Implement State DB Methods (#3193) 2019-08-13 18:33:31 -04:00
state.go Implement State DB Methods (#3193) 2019-08-13 18:33:31 -04:00
utils.go Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05: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