beacon-chain-java icon indicating copy to clipboard operation
beacon-chain-java copied to clipboard

DepositContract: implement events prefetch to avoid proposer lags

Open Nashatyrev opened this issue 6 years ago • 0 comments

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

Nashatyrev avatar Jan 24 '19 19:01 Nashatyrev