multi: add zero-conf, scid-alias channel-types to rpc

This allows the open channel rpcs to use the zero-conf or scid-alias
channel types.
This commit is contained in:
eugene committed 2022-07-07 17:10:30 -04:00
1 parent b9ef26061a
commit 49dd4b9e34
6 files changed
+1966 -1878

No files matched your search

+1897 -1873
View File
File diff suppressed because it is too large. Load diff
+11
View File
@@ -2121,6 +2121,17 @@ message OpenChannelRequest {
the remote peer supports explicit channel negotiation.
*/
CommitmentType commitment_type = 18;
/*
If this is true, then a zero-conf channel open will be attempted.
*/
bool zero_conf = 19;
/*
If this is true, then an option-scid-alias channel-type open will be
attempted.
*/
bool scid_alias = 20;
}
message OpenStatusUpdate {
oneof update {
+8
View File
@@ -5418,6 +5418,14 @@
"commitment_type": {
"$ref": "#/definitions/lnrpcCommitmentType",
"description": "The explicit commitment type to use. Note this field will only be used if\nthe remote peer supports explicit channel negotiation."
},
"zero_conf": {
"type": "boolean",
"description": "If this is true, then a zero-conf channel open will be attempted."
},
"scid_alias": {
"type": "boolean",
"description": "If this is true, then an option-scid-alias channel-type open will be\nattempted."
}
}
},