-
Notifications
You must be signed in to change notification settings - Fork 228
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
feat: Alert system #887
feat: Alert system #887
Conversation
@quake is assigned as the chief reviewer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the node relay the alert message? Is the message signature checked before relay?
@@ -0,0 +1,26 @@ | |||
[package] | |||
name = "ckb-alert-system" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ckb-network-alert
is more appropriate.
https://github.com/nervosnetwork/ckb/pull/887/files#diff-f9056d164d152ac4dad0a349994e8c30R138 All alert messages need to be verified with signatures before the relay. |
I decide split multisig to another PR. |
Introduce:
https://en.bitcoin.it/wiki/Alert_system
Purpose:
Implement the alert system in CKB for urgent situation,
In CKB early stage we may meet the same crisis bugs that Bitcoin meet,
in urgent case, CKB core team can send an alert message across CKB P2P network,
the client will show the alert message, the other behaviors of CKB node will not change.
The Alert System will be removed soon once the CKB network is considered mature.
Implement:
alt
.send_alert
.