lnrpc: add upfront shutdown address to open channel request
This commit is contained in:
4 files changed
+641
-578
No files matched your search
+595
-578
File diff suppressed because it is too large.
Load diff
@@ -1643,6 +1643,18 @@ message OpenChannelRequest {
|
||||
|
||||
/// Whether unconfirmed outputs should be used as inputs for the funding transaction.
|
||||
bool spend_unconfirmed = 12 [json_name = "spend_unconfirmed"];
|
||||
|
||||
/*
|
||||
Close address is an optional address which specifies the address to which
|
||||
funds should be paid out to upon cooperative close. This field may only be
|
||||
set if the peer supports the option upfront feature bit (call listpeers
|
||||
to check). The remote peer will only accept cooperative closes to this
|
||||
address if it is set.
|
||||
|
||||
Note: If this value is set on channel creation, you will *not* be able to
|
||||
cooperatively close out to a different address.
|
||||
*/
|
||||
string close_address = 13[json_name = "close_address"];
|
||||
}
|
||||
message OpenStatusUpdate {
|
||||
oneof update {
|
||||
|
||||
@@ -3233,6 +3233,10 @@
|
||||
"type": "boolean",
|
||||
"format": "boolean",
|
||||
"description": "/ Whether unconfirmed outputs should be used as inputs for the funding transaction."
|
||||
},
|
||||
"close_address": {
|
||||
"type": "string",
|
||||
"description": "Close address is an optional address which specifies the address to which\nfunds should be paid out to upon cooperative close. This field may only be\nset if the peer supports the option upfront feature bit (call listpeers\nto check). The remote peer will only accept cooperative closes to this\naddress if it is set.\n\nNote: If this value is set on channel creation, you will *not* be able to\ncooperatively close out to a different address."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user