This adds up the last missing cooldown feature. This prevents a malicious actor from updating a proof with a better one in a short time frame (dfefault 1h).
Ref T1854.
Depends on D10788.
Differential D10789
[avalanche] Add a peer replacement cooldown Fabien on Jan 7 2022, 16:23. Authored by
Details
This adds up the last missing cooldown feature. This prevents a malicious actor from updating a proof with a better one in a short time frame (dfefault 1h). Ref T1854. Depends on D10788. ninja all check-all
Diff Detail
Event Timeline
Comment Actions The logic and implementation are good. The negative case added to the tests appears sufficient to check the new behavior.
|