Topl / Bifrost

A Scala client for the Topl blockchain protocol
https://topl.github.io/Bifrost/
Mozilla Public License 2.0
66 stars 17 forks source link

BN-680 ⁃ Figure out correct parameter for forwardBiasedSlotWindow #2545

Open sync-by-unito[bot] opened 1 year ago

sync-by-unito[bot] commented 1 year ago

Currently bifrost.protocols.0.forward-biased-slot-window have some magic value of 50, thus block from currentSlot + 50 will not be accepted even if the block is valid by any other meaning (i.e. correct eligibility, signing, etc.).

However, that value probably needs some adjustment based on network delay, possible synchronization delay etc.

┆Issue is synchronized with this Jira Task by Unito

sync-by-unito[bot] commented 1 year ago

➤ Hans Behrens commented:

We discussed a potential link with Ouroboros Chronos, in which there is a similar concept of leeway for future synchronization defined in terms of network delay: “clocks of honest parties might differ by a bounded amount, where the bound is known and depends only on ∆”, a period that they define as $\Delta_{clock}$. They also roughly upper-bound this in Sec. 6.4.1 to approximately double the network delay.