prysm-pulse/beacon-chain/core/helpers
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
..
spectest Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
attestation_test.go Remove unused SlotSignature function (#7447) 2020-10-06 23:55:37 +00:00
attestation.go Rename Direct Keymanager to Imported (#7549) 2020-10-16 13:45:14 -05:00
block_test.go Applies assertion funcs to beacon-chain/core/* tests (#6940) 2020-08-10 10:34:33 +00:00
block.go Use StateRoot as Key for Cache (#7540) 2020-10-19 09:13:47 -07:00
BUILD.bazel Replace Roughtime With Timeutils Across Prysm (#7301) 2020-09-22 19:49:58 +08:00
committee_test.go Use StateRoot as Key for Cache (#7540) 2020-10-19 09:13:47 -07:00
committee.go Use StateRoot as Key for Cache (#7540) 2020-10-19 09:13:47 -07:00
randao_test.go Applies assertion funcs to beacon-chain/core/* tests (#6940) 2020-08-10 10:34:33 +00:00
randao.go Remove duplicated randao mix copy (#6420) 2020-06-26 18:27:48 +00:00
rewards_penalties_test.go Applies assertion funcs to beacon-chain/core/* tests (#6940) 2020-08-10 10:34:33 +00:00
rewards_penalties.go Combines func params of the same type (#7500) 2020-10-12 15:43:19 +00:00
shuffle_test.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
shuffle.go Combines func params of the same type (#7500) 2020-10-12 15:43:19 +00:00
signing_root_test.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
signing_root.go Combines func params of the same type (#7500) 2020-10-12 15:43:19 +00:00
slot_epoch_test.go Revamp proposer cache to fix lookahead bug (#7442) 2020-10-07 17:25:08 +00:00
slot_epoch.go Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
validators_test.go Move ComputeProposerIndexWithValidators to test (#7460) 2020-10-08 09:24:17 +00:00
validators.go Use StateRoot as Key for Cache (#7540) 2020-10-19 09:13:47 -07:00