prysm-pulse/beacon-chain/rpc/beaconv1
pinglamb 9f423617cb
Added db.BlocksBySlot and db.BlockRootsBySlot (#8184)
* Added blockBySlot and blockRootBySlot

* Changed to BlocksBySlot and BlockRootsBySlot

* Updated to use BlocksBySlot and BlockRootsBySlot

* Added missing passthrough to karfa exporter

* Return hasBlocks/hasBlockRoots in the new getters

* Fixed CI lint

* Replace call to bytes.Compare with bytes.Equal

* Reordered the returns of the new getters

Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-01-12 18:31:15 +00:00
..
blocks_test.go Fix import shadowing of db package (#8158) 2020-12-18 19:12:30 +00:00
blocks.go Added db.BlocksBySlot and db.BlockRootsBySlot (#8184) 2021-01-12 18:31:15 +00:00
BUILD.bazel Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
config.go Eth2 API: Add outline for beacon endpoints (#7408) 2020-10-05 00:15:27 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
pool.go Eth2 API: Add outline for beacon endpoints (#7408) 2020-10-05 00:15:27 +00:00
server_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
server.go Eth2 API: Implement block endpoints (#7433) 2020-10-15 18:00:49 +00:00
state.go Eth2 API: Add outline for beacon endpoints (#7408) 2020-10-05 00:15:27 +00:00
validator.go Remove WaitForSynced (#7835) 2020-11-16 20:48:16 -06:00