Skip to content

Commit

Permalink
Merge pull request #1075 from t-bast/remove-disconnect-warning
Browse files Browse the repository at this point in the history
Remove requirements to disconnect on warnings
  • Loading branch information
TheBlueMatt authored May 9, 2023
2 parents 5635a36 + 3747ba8 commit 2bf041f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions 01-messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ A sending node:
- MAY set `channel_id` to all zero to indicate all channels.
- when sending `warning`:
- MAY set `channel_id` to all zero if the warning is not related to a specific channel.
- MAY close the connection after sending.
- MAY send an empty `data` field.
- when failure was caused by an invalid signature check:
- SHOULD include the raw, hex-encoded transaction in reply to a `funding_created`, `funding_signed`, `closing_signed`, or `commitment_signed` message.
Expand All @@ -371,8 +370,6 @@ The receiving node:
- MUST fail the channel referred to by `channel_id`, if that channel is with the sending node.
- upon receiving `warning`:
- SHOULD log the message for later diagnosis.
- MAY disconnect.
- MAY reconnect after some delay to retry.
- MAY attempt `shutdown` if permitted at this point.
- if no existing channel is referred to by `channel_id`:
- MUST ignore the message.
Expand Down

0 comments on commit 2bf041f

Please # to comment.