Zilliqa / zq2

Zilliqa 2.0 code base
Apache License 2.0
9 stars 0 forks source link

Implement expontential backoff for consensus timeout #359

Closed theo-zil closed 1 year ago

theo-zil commented 1 year ago

See https://github.com/Zilliqa/zq2/pull/339#discussion_r1275568929: when a timeout happens and a NewView is broadcast, the timeout should be doubled. Presumably next time a block is agreed upon in a view, the timeout can then be reset to the default value (@DrZoltanFazekas can confirm?).

DrZoltanFazekas commented 1 year ago

Yes, when the node sees a QC with view >= as its local view, it resets the timeout period to the default value. The QC proves that the supermajority has arrived in the same view.

n-hutton commented 1 year ago

This is completed