prysm-pulse/beacon-chain/powchain
Radosław Kapka ec0af98a9e
Cache ETH1 headers on startup for eth1data voting (#7541)
* initial commit

* branch cleanup

* gzl

* underscore for unused parameteres

* caching implemented

* BlockExistsWithCache - tests

* add missing method to mock POWChain

* add missing method to faulty mock POWChain

* fix failing test

* add underflow checks

* change warning to error

* use helper to calculate end block

Co-authored-by: nisdas <nishdas93@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-20 05:10:27 +00:00
..
testing Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
block_cache_test.go Request Headers From ETH1 Node Instead of Blocks (#7121) 2020-08-27 16:27:08 +00:00
block_cache.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
block_reader_test.go Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
block_reader.go Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
BUILD.bazel Fix reported anti patterns (#7501) 2020-10-12 16:12:00 +00:00
deposit_test.go Numeric conversion cleanup (#7465) 2020-10-13 12:43:49 +00:00
deposit.go Replace context.Background() with more appropriate context (#7136) 2020-09-09 09:48:52 +00:00
log_processing_test.go Numeric conversion cleanup (#7465) 2020-10-13 12:43:49 +00:00
log_processing.go Numeric conversion cleanup (#7465) 2020-10-13 12:43:49 +00:00
powchain_test.go Fix reported anti patterns (#7501) 2020-10-12 16:12:00 +00:00
service_test.go Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
service.go Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00