mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
ec83d7a8a5
We also add a test for getlog, since it was never called by the testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
20 lines
486 B
JSON
20 lines
486 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [ "channel_id", "commitments_secured" ],
|
|
"properties": {
|
|
"channel_id": {
|
|
"type": "hex",
|
|
"description": "The channel_id of the resulting channel",
|
|
"minLength": 64,
|
|
"maxLength": 64
|
|
},
|
|
"commitments_secured": {
|
|
"type": "boolean",
|
|
"enum": [ true ],
|
|
"description": "Indication that channel is safe to use"
|
|
}
|
|
}
|
|
}
|