lnrpc: Add MaxValueInFlight flag

This commit is contained in:
vctt94 2018-08-29 18:43:13 -03:00
parent 474ce4ae25
commit 8ebdfe3128
3 changed files with 742 additions and 718 deletions

File diff suppressed because it is too large Load diff

View file

@ -1591,6 +1591,12 @@ message OpenChannelRequest {
carried out in an interactive manner (PSBT based). carried out in an interactive manner (PSBT based).
*/ */
FundingShim funding_shim = 14; FundingShim funding_shim = 14;
/*
The maximum amount of coins in millisatoshi that can be pending within
the channel. It only applies to the remote party.
*/
uint64 remote_max_value_in_flight_msat = 15;
} }
message OpenStatusUpdate { message OpenStatusUpdate {
oneof update { oneof update {

View file

@ -4399,6 +4399,11 @@
"funding_shim": { "funding_shim": {
"$ref": "#/definitions/lnrpcFundingShim", "$ref": "#/definitions/lnrpcFundingShim",
"description": "Funding shims are an optional argument that allow the caller to intercept\ncertain funding functionality. For example, a shim can be provided to use a\nparticular key for the commitment key (ideally cold) rather than use one\nthat is generated by the wallet as normal, or signal that signing will be\ncarried out in an interactive manner (PSBT based)." "description": "Funding shims are an optional argument that allow the caller to intercept\ncertain funding functionality. For example, a shim can be provided to use a\nparticular key for the commitment key (ideally cold) rather than use one\nthat is generated by the wallet as normal, or signal that signing will be\ncarried out in an interactive manner (PSBT based)."
},
"remote_max_value_in_flight_msat": {
"type": "string",
"format": "uint64",
"description": "The maximum amount of coins in millisatoshi that can be pending within\nthe channel. It only applies to the remote party."
} }
} }
}, },