tari-project / tari-dan

BSD 3-Clause "New" or "Revised" License
7 stars 19 forks source link

feat(consensus)!: suspend nodes that fail to participate #1181

Closed sdbondi closed 1 month ago

sdbondi commented 1 month ago

Description

Motivation and Context

Reduce the impact of a nodes going offline by enabling nodes to agree to suspend the offending nodes from consensus rounds. Once suspended, nodes will immediately send a newview to the next functioning node.

How Has This Been Tested?

Unit test, manually 5 nodes taking one offline, observe suspension, go online, wait for resumed node instruction

What process can a PR reviewer use to test or verify this change?

As above

Breaking Changes

BREAKING CHANGE: 2 new block commands added

github-actions[bot] commented 1 month ago

Test Results (CI)

577 tests  +6   577 ✅ +7   3h 8m 48s ⏱️ - 19m 4s  64 suites ±0     0 💤 ±0    2 files   ±0     0 ❌  - 1 

Results for commit a0eb58a8. ± Comparison against base commit c423408a.

:recycle: This comment has been updated with latest results.