teku icon indicating copy to clipboard operation
teku copied to clipboard

[Optimisation] Avoid reprocessing of locally produced blocks

Open tbenr opened this issue 4 years ago • 1 comments

Description

We could avoid reprocessing blocks that has been locally generated\proposed.

image

tbenr avatar Dec 15 '21 09:12 tbenr

The EL will already optimise this so I wouldn't try to special case it. If we were going to special case it, we'd be better off skipping the processing of the whole block - we'd have to check the block signature since that's created by the validator but could just keep a short term cache of the BeaconBlock and resulting BeaconState to import without reprocessing.

ajsutton avatar Dec 15 '21 09:12 ajsutton

Closed as not planned.

lucassaldanha avatar Feb 22 '24 08:02 lucassaldanha