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:
3 files changed
+757
-734
No files matched your search
+746
-734
File diff suppressed because it is too large.
Load diff
@@ -1685,6 +1685,12 @@ message OpenChannelRequest {
|
|||||||
the channel. It only applies to the remote party.
|
the channel. It only applies to the remote party.
|
||||||
*/
|
*/
|
||||||
uint64 remote_max_value_in_flight_msat = 15;
|
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 {
|
message OpenStatusUpdate {
|
||||||
oneof update {
|
oneof update {
|
||||||
|
|||||||
@@ -4494,6 +4494,11 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "uint64",
|
"format": "uint64",
|
||||||
"description": "The maximum amount of coins in millisatoshi that can be pending within\nthe channel. It only applies to the remote party."
|
"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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user