lnrpc: adds a field FundMax to OpenChannelRequest
This commit is contained in:
1 parent
0c8aa81ed5
commit
e82410d24a
3 files changed
+1955
-1932
No files matched your search
+1944
-1932
File diff suppressed because it is too large.
Load diff
@@ -2267,6 +2267,13 @@ message OpenChannelRequest {
|
|||||||
capacity.
|
capacity.
|
||||||
*/
|
*/
|
||||||
uint64 remote_chan_reserve_sat = 25;
|
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 {
|
message OpenStatusUpdate {
|
||||||
oneof update {
|
oneof update {
|
||||||
|
|||||||
@@ -5816,6 +5816,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "uint64",
|
"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."
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user