common: allow configvars to be marked dynamic.

To test, we do min-capacity-sat which is simple.  We also update the
listconfigs man page which contained some obsolete information.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-06-05 23:48:21 +09:30
parent 9f9f2f1493
commit aca893f1eb
5 changed files with 36 additions and 5 deletions

View File

@@ -834,6 +834,13 @@
"source": {
"type": "string",
"description": "source of configuration setting"
},
"dynamic": {
"type": "boolean",
"enum": [
true
],
"description": "Can this be set by setconfig()"
}
}
},