core-lightning/doc/schemas/fundpsbt.request.json
Rusty Russell 0402e645f0 lightningd: add option opening_anchor_channel to fundpsbt, utxopsbt.
This is needed when we know we're *opening* an anchor channel, to
override the "do we already have an anchor channel open?" logic.

Also, document the nonwrapped arg added in v23.02.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: JSON-RPC: `fundpsbt` and `utxopsbt` new parameter `opening_anchor_channel` so lightningd knowns it needs emergency reserve for anchors.
2023-06-29 11:28:47 -04:00

46 lines
951 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"required": [
"satoshi",
"feerate",
"startweight"
],
"properties": {
"satoshi": {
"type": "msat_or_all"
},
"feerate": {
"type": "feerate"
},
"startweight": {
"type": "u32"
},
"minconf": {
"type": "u32"
},
"reserve": {
"type": "u32",
"description": "reserve is a number: if non-zero number then reserveinputs is called (successfully, with exclusive true) on the returned PSBT for this number of blocks (default: 72)."
},
"locktime": {
"type": "u32"
},
"min_witness_weight": {
"type": "u32"
},
"excess_as_change": {
"type": "boolean"
},
"nonwrapped": {
"added": "v23.02",
"type": "boolean"
},
"opening_anchor_channel": {
"added": "v23.08",
"type": "boolean"
}
}
}