rpcserver+lnrpc: allow users to update max HTLC channel policies

In this commit, we enable callers of UpdateChannelPolicy to
specify their desired max HTLC forwarding policy for one or
multiple channels.
This commit is contained in:
Valentine Wallace authored and Joost Jager committed 2019-09-23 13:07:12 +02:00
1 parent 9a52cb6dab
commit 4b9da07e78
5 files changed
+571 -522

No files matched your search

+524 -515
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -2395,6 +2395,9 @@ message PolicyUpdateRequest {
/// The required timelock delta for HTLCs forwarded over the channel.
uint32 time_lock_delta = 5 [json_name = "time_lock_delta"];
/// If set, the maximum HTLC size in milli-satoshis. If unset, the maximum HTLC will be unchanged.
uint64 max_htlc_msat = 6 [json_name = "max_htlc_msat"];
}
message PolicyUpdateResponse {
}
+5
View File
@@ -3150,6 +3150,11 @@
"type": "integer",
"format": "int64",
"description": "/ The required timelock delta for HTLCs forwarded over the channel."
},
"max_htlc_msat": {
"type": "string",
"format": "uint64",
"description": "/ If set, the maximum HTLC size in milli-satoshis. If unset, the maximum HTLC will be unchanged."
}
}
},