Plugins: 'channel_closed' notification type#8048
Plugins: 'channel_closed' notification type#8048NishantBansal2003 wants to merge 3 commits intoElementsProject:masterfrom
Conversation
|
Although the channel closure state can currently be notified via |
10c1da0 to
c604e89
Compare
|
Curious if you could elaborate on what problems you were running into with |
There were no issues. However, this new
|
Lagrang3
left a comment
There was a problem hiding this comment.
It is looking good to me.
Now, if I was going to use this notification instead of channel_state_changed
I would probably need more information on the channel that failed.
For instance, just like channel_state_changed I would like to have:
- the
peer_id, that you calledid, - the
channel_id, - the
short_channel_id, - and the
cause.
Changelog-Added: a new 'channel_closed' notification type is added, which is emitted when a channel has been successfully closed with a peer. Signed-off-by: Nishant Bansal <[email protected]>
…tion Changelog-None Signed-off-by: Nishant Bansal <[email protected]>
Changelog-None Signed-off-by: Nishant Bansal <[email protected]>
c604e89 to
56e045e
Compare
|
With the recent addition of the CLOSED state notification for channel_state_changed, I think that is now a superset of this, and probably more useful. So I'm tempted to close this one, if there are no objections? |
Ref: #3207 #3662
PR Description
This adds a new notification type: channel_closed.
This notification is emitted if a channel has been successfully closed with a peer and sends the peer's ID and the closing transaction ID.
Checklist
Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked: