mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
6546be9757
Currently only implemented for min-capacity-sat. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: new command `setconfig` allows a limited number of configuration settings to be changed without restart.
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"added": "v23.08",
|
|
"required": [
|
|
"config"
|
|
],
|
|
"properties": {
|
|
"config": {
|
|
"type": "object",
|
|
"description": "config settings after completion",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"config",
|
|
"source",
|
|
"dynamic"
|
|
],
|
|
"properties": {
|
|
"config": {
|
|
"type": "string",
|
|
"description": "name of the config variable which was set"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"description": "source of configuration setting (`file`:`linenum`)"
|
|
},
|
|
"plugin": {
|
|
"type": "string",
|
|
"description": "the plugin this configuration setting is for"
|
|
},
|
|
"dynamic": {
|
|
"type": "boolean",
|
|
"enum": [
|
|
true
|
|
],
|
|
"description": "whether this option is settable via setconfig"
|
|
},
|
|
"set": {
|
|
"type": "boolean",
|
|
"description": "for simple flag options"
|
|
},
|
|
"value_str": {
|
|
"type": "string",
|
|
"description": "for string options"
|
|
},
|
|
"value_msat": {
|
|
"type": "msat",
|
|
"description": "for msat options"
|
|
},
|
|
"value_int": {
|
|
"type": "integer",
|
|
"description": "for integer options"
|
|
},
|
|
"value_bool": {
|
|
"type": "boolean",
|
|
"description": "for boolean options"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|