prysm-pulse/beacon-chain/db
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
..
filters Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
kv Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
testing Create a testing db method that can be used with the new database interface (#3217) 2019-08-15 17:41:51 -04: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 Deprecate the old, and add new DB setup util for tests (#3208) 2019-08-14 11:48:28 -07:00
db_test.go Deprecate the old, and add new DB setup util for tests (#3208) 2019-08-14 11:48:28 -07:00
db.go Create a testing db method that can be used with the new database interface (#3217) 2019-08-15 17:41:51 -04: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
schema.go Refactor DB Package to Enable Multiple Blocks/States at Slots (#2540) 2019-05-09 10:42:12 -05:00
setup_db.go Create a testing db method that can be used with the new database interface (#3217) 2019-08-15 17:41:51 -04: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