lnrpc: adds a field FundMax to OpenChannelRequest

This commit is contained in:
Bjarne Magnussen authored and Slyghtning committed 2023-04-05 23:05:07 +02:00
1 parent 0c8aa81ed5
commit e82410d24a
3 files changed
+1955 -1932

No files matched your search

+1944 -1932
View File
File diff suppressed because it is too large. Load diff
+7
View File
@@ -2267,6 +2267,13 @@ message OpenChannelRequest {
capacity.
*/
uint64 remote_chan_reserve_sat = 25;
/*
If set, then lnd will attempt to commit all the coins under control of the
internal wallet to open the channel, and the LocalFundingAmount field must
be zero and is ignored.
*/
bool fund_max = 26;
}
message OpenStatusUpdate {
oneof update {
+4
View File
@@ -5816,6 +5816,10 @@
"type": "string",
"format": "uint64",
"description": "The number of satoshis we require the remote peer to reserve. This value,\nif specified, must be above the dust limit and below 20% of the channel\ncapacity."
},
"fund_max": {
"type": "boolean",
"description": "If set, then lnd will attempt to commit all the coins under control of the\ninternal wallet to open the channel, and the LocalFundingAmount field must\nbe zero and is ignored."
}
}
},