core-lightning/doc/schemas/openchannel_init.schema.json
niftynei 9f53e3c7f5 df: wire up peer's "require-confirmed-inputs"
We push this info out to the various RPCs/hooks.
2023-02-07 21:03:36 -06:00

39 lines
910 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"channel_id",
"psbt",
"commitments_secured",
"funding_serial"
],
"properties": {
"channel_id": {
"type": "hex",
"description": "the channel id of the channel",
"maxLength": 64,
"minLength": 64
},
"psbt": {
"type": "string",
"description": "the (incomplete) PSBT of the funding transaction"
},
"commitments_secured": {
"type": "boolean",
"enum": [
false
],
"description": "whether the *psbt* is complete"
},
"funding_serial": {
"type": "u64",
"description": "the serial_id of the funding output in the *psbt*"
},
"requires_confirmed_inputs": {
"type": "boolean",
"description": "Does peer require confirmed inputs in psbt?"
}
}
}