Merge pull request #6903 from hieblmi/fundmax-flag

funding: add `fundmax` flag to `OpenChannelRequest`
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2023-04-06 10:57:29 -07:00
commit 591ff120b6
19 files changed
+3110 -1997

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."
}
}
},