Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork detection and recovery #480

Open
mikera opened this issue May 10, 2023 · 2 comments
Open

Fork detection and recovery #480

mikera opened this issue May 10, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mikera
Copy link
Member

mikera commented May 10, 2023

In some extreme situations, network forks may occur, e.g.:

  • Network partitions
  • Sufficiently powerful attacks by adversaries (e.g. >33% stake attacks)

Peers should have the capability to detect and resolve forks. Strategies are likely to be configurable by peer operators and could include:

  1. Give operator decision to abandon minority fork and rejoin majority fork
  2. Automatic fork rollback and recovery (if permissible and possible, e.g. no clients affected)
@mikera mikera added the enhancement New feature or request label May 10, 2023
@mikera mikera added this to the Gamma milestone May 10, 2023
@mikera mikera self-assigned this May 10, 2023
@mikera
Copy link
Member Author

mikera commented May 10, 2023

@mikera
Copy link
Member Author

mikera commented Jun 13, 2023

Fork recovery now works in develop with State rollback. Just a few issues to iron out with potential duplicate Blocks before we turn this on, this depends on enforcement of Block timestamps from peers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant