-
Notifications
You must be signed in to change notification settings - Fork 492
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
BOLT 2: disallow sending multiple shutdown
msg
#977
BOLT 2: disallow sending multiple shutdown
msg
#977
Conversation
shutdown
msgshutdown
msg
1809526
to
acb4646
Compare
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.
Concept ACK
acb4646
to
648dc5e
Compare
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.
ACK 648dc5e
648dc5e
to
73bbb56
Compare
This is a second proposal different from lightning#976 where it is not allowed to send multiple shutdown messages from the receiver viewpoint. The rationale for this is to avoid bad cases like the following one that is permitted by the spec ``` ____________________________________________ | sender -> shutdown(script_one) -> receiver | | sender -> shutdown(script_two) -> receiver | | sender <- shutdown(script_one) <- receiver | -------------------------------------------- ``` Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
73bbb56
to
3afa56e
Compare
Trivial rebase and fixed the changes discussed in the last meeting |
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.
ACK 3afa56e, merging this trivial update as agreed during the last spec meeting.
This is a second proposal different from #976 where it is not allowed to send multiple shutdown messages from the receiver viewpoint.
The rationale for this is to avoid bad cases like the following one that is permitted by the spec