routing+lnrpc+lncli: allow setting min htlc policy
This commit is contained in:
7 files changed
+633
-567
No files matched your search
+585
-565
File diff suppressed because it is too large.
Load diff
@@ -2686,6 +2686,12 @@ message PolicyUpdateRequest {
|
||||
|
||||
/// 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"];
|
||||
|
||||
/// The minimum HTLC size in milli-satoshis. Only applied if min_htlc_msat_specified is true.
|
||||
uint64 min_htlc_msat = 7 [json_name = "min_htlc_msat"];
|
||||
|
||||
/// If true, min_htlc_msat is applied.
|
||||
bool min_htlc_msat_specified = 8 [json_name = "set_min_htlc_msat"];
|
||||
}
|
||||
message PolicyUpdateResponse {
|
||||
}
|
||||
|
||||
@@ -3538,6 +3538,16 @@
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "/ If set, the maximum HTLC size in milli-satoshis. If unset, the maximum HTLC will be unchanged."
|
||||
},
|
||||
"min_htlc_msat": {
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "/ The minimum HTLC size in milli-satoshis. Only applied if min_htlc_msat_specified is true."
|
||||
},
|
||||
"min_htlc_msat_specified": {
|
||||
"type": "boolean",
|
||||
"format": "boolean",
|
||||
"description": "/ If true, min_htlc_msat is applied."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user