dedis / cothority

Scalable collective authority
Other
426 stars 106 forks source link

Fix chain optimization #2422

Closed ineiti closed 3 years ago

ineiti commented 3 years ago

The current chain optimization is badly defined, as you need to give it a block, but for some blocks the optimization will always fail, as the nodes will not accept the new forward-links.

This PR re-defines the chain optimization:

This will allow to crawl through all blocks and ask an optimization for every block that is lacking forward-links.

Depends on #2423

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