dedis / cothority

Scalable collective authority
Other
426 stars 106 forks source link

Enable automatic viewchange #2438

Open ineiti opened 3 years ago

ineiti commented 3 years ago

As the chain gets more and more stable, the leader can stay up for a long time. The worst thing with this is that I'm often not sure if the viewchange still works ;)

So this PR allows the next node in the roster to force a viewchange after a given interval. So an active node can request a viewchange, while an inactive node will just do nothing and not force a viewchange that will fail.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication