prysm-pulse/beacon-chain/db
Raul Jordan 1c8ac6658e
Implement Block DB Methods (#3221)
* include new getter for block

* create block filters from indices

* give every block index a unique bucket

* construct block indices by bucket mmap

* almost done save for the block filters

* include block filters, need a few more small touches for fetching the proper indices by bucket

* full functionality to filter by parent root

* tests pass when using the same logic as attestations

* todo

* proper todo formatting

* first minimum slot range filter

* slot range filters pass

* more filter criteria passing

* tests passing

* add todos

* all block tests pass and work

* rem fmt

* range retrieval test

* fixed test conditions

* instantiate the other buckets

* simplify bucket lookups

* deprecate non map code

* revamp to remove old index prefixes

* create indices from data

* create indices from data

* fetch block roots by slot range

* better abstractions

* simpler abstractions

* roots rename

* comment

* preston feedback

* allow blocks without parent root
2019-08-19 19:34:53 -05:00
..
filters Utilize Indices for Key Lookup and Filtering Attestations in DB (#3202) 2019-08-15 19:57:43 -05:00
kv Implement Block DB Methods (#3221) 2019-08-19 19:34:53 -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