Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Recover Offline Validators When Epoch Advanced

Đã đóng
#441 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@samliok đang làm issue này rồi.

Từ ngày 17/7/2026.

  • #619 của @samliok — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Validators need a way to be able to detect and recover from being offline. Currently this is possible if they become awake during the epoch they went offline in, but not recoverable if epoch/s were advanced while they were offline.

If a validator node(running an epoch instance) has been offline long enough for one or more epochs to pass, the current epoch may have a completely different validator set. As a result, messages from those validators would normally be rejected.

https://github.com/ava-labs/Simplex/blob/main/simplex/epoch.go#L156

To recover, finalization messages must be accepted even from non-validators. Upon receiving one, handleFinalizationMessage should request replication for that epochs sealing block from the sender. If multiple epochs were missed, each successive finalization advances recovery until the sealing block for the current epoch is obtained.

Once the current sealing block is received, normal epoch replication takes over and the node's validator set is updated accordingly.

Note: Because replication requests may be sent to peers currently considered non-validators, replication responses from those peers must also be accepted.

Ngôn ngữ chính
Go
Star
22
Fork
4
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ava-labs/Simplex

Tất cả issue của ava-labs/Simplex

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.