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.
This commit is contained in:
Rusty Russell
2023-06-29 09:44:10 +09:30
parent 391da2f440
commit 0402e645f0
8 changed files with 242 additions and 186 deletions

File diff suppressed because one or more lines are too long