Reveal pre-images on a timer #582
Labels
Story-Points:5
This takes 3 to 5 days to complete
type-enhancement
An improvement of existing functionalities
Milestone
Instead of having pre-image reveal happening on
putTransaction
, it should be done via a timer.Currently this is done here: https://github.com/bpfkorea/agora/blob/0cdc928b09eddec41f78a2c1a36459dac532a9c6/source/agora/node/Node.d#L252-L260
This can be trivially done via Vibe.d's setTimer function.
It is currently not implemented in LocalRest, but since we have non-blocking
sleep
andrunTask
as primitives, it should be trivial to implement it.The text was updated successfully, but these errors were encountered: