mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
0402e645f0
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.
49 lines
985 B
JSON
49 lines
985 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"satoshi",
|
|
"feerate",
|
|
"startweight",
|
|
"utxos"
|
|
],
|
|
"properties": {
|
|
"satoshi": {
|
|
"type": "msat"
|
|
},
|
|
"feerate": {
|
|
"type": "feerate"
|
|
},
|
|
"startweight": {
|
|
"type": "u32"
|
|
},
|
|
"utxos": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "outpoint"
|
|
}
|
|
},
|
|
"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)."
|
|
},
|
|
"reservedok": {
|
|
"type": "boolean"
|
|
},
|
|
"locktime": {
|
|
"type": "u32"
|
|
},
|
|
"min_witness_weight": {
|
|
"type": "u32"
|
|
},
|
|
"excess_as_change": {
|
|
"type": "boolean"
|
|
},
|
|
"opening_anchor_channel": {
|
|
"added": "v23.08",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|