core-lightning/doc/schemas/makesecret.request.json
Rusty Russell 49fe1c8ed7 lightningd: have makesecret take hex or string (just like datastore)
Changelog-Added: JSON-RPC: `makesecret` can take a string argument instead of hex.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-09-29 16:10:57 +09:30

17 lines
370 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [],
"properties": {
"hex": {
"type": "hex",
"description": "This will be used for deriving the secret"
},
"string": {
"type": "string",
"description": "This will be used for deriving the secret"
}
}
}