beacon-chain-java
beacon-chain-java copied to clipboard
DepositContract: implement events prefetch to avoid proposer lags
When creating a block proposer needs a list of deposit inputs to include. It is requested from the DepositContract which in turn scans blocks for the contract events. This may take a while so the proposer may loose its time to emit a block.
This relates to peekDeposits() and getLatestEth1Data() methods