lnrpc: adds a field FundMax to OpenChannelRequest

This commit is contained in:
Bjarne Magnussen 2021-05-03 18:26:27 +02:00 committed by Slyghtning
parent 0c8aa81ed5
commit e82410d24a
3 changed files with 1955 additions and 1932 deletions

File diff suppressed because it is too large Load Diff

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 {

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