Baker: improve fetching of DAL content
The following discussion from !11462 (merged) should be addressed:
-
@iguerNL started a discussion: (+1 comment) I think it's better to:
- add a TODO to implement a stream-based approach for DAL attestations. This way:
- The baker continuously maintain the best bitset
- The baker will take the best bitset it has while signing without waiting.
- another TODO/follow-up (that should be easier to do) is to request the DAL bitset as soon as a block is received or a preattestation is sent, as a first version. The rational of it is that the
attestation_lag
should be chosen such that DAL data are available at the beginning of each block (ideally)
What do you think?
- add a TODO to implement a stream-based approach for DAL attestations. This way: