peer: handling for channel shutdown messages
This commit changes the cooperative channel close workflow to comply with the latest spec. This adds steps to handle and send shutdown messages as well as moving responsibility for sending the channel close message from the initiator to the responder.
This commit is contained in:
1 parent
d7bb600c23
commit
514760f529
5 files changed
+336
-215
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ type Shutdown struct {
|
||||
// ChannelID serves to identify which channel is to be closed.
|
||||
ChannelID ChannelID
|
||||
|
||||
// Address is the script to which
|
||||
// Address is the script to which the channel funds will be paid.
|
||||
Address DeliveryAddress
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user