lnrpc: add remote_max_htlcs to OpenChannelRequest

This will allow users to set a custom limit for the max number of
concurrent HTLCs the remote party can add to the channel.
This commit is contained in:
Conner Fromknecht committed 2020-08-24 20:11:33 -07:00
1 parent 5c91be3f57
commit 9e73683c45
3 files changed
+757 -734

No files matched your search

+746 -734
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -1685,6 +1685,12 @@ message OpenChannelRequest {
the channel. It only applies to the remote party.
*/
uint64 remote_max_value_in_flight_msat = 15;
/*
The maximum number of concurrent HTLCs we will allow the remote party to add
to the commitment transaction.
*/
uint32 remote_max_htlcs = 16;
}
message OpenStatusUpdate {
oneof update {
+5
View File
@@ -4494,6 +4494,11 @@
"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."
},
"remote_max_htlcs": {
"type": "integer",
"format": "int64",
"description": "The maximum number of concurrent HTLCs we will allow the remote party to add\nto the commitment transaction."
}
}
},