plugins/multifundchannel.c: Implementation of multifundchannel.

Changelog-Added: We now have `multifundchannel` as a builtin plugin command to fund multiple channels to different peers all in a single onchain transaction.


Header from folded patch 'fixup-use-json_add_psbt.patch':

fixup!


Header from folded patch 'use-goto-no-ok-chain.patch':

fixup!


Header from folded patch 'destinations-at-parse-time.patch':

fixup!


Header from folded patch 'multifundchannel__use_jsmntoks_to_pass_through_json_string,_not_strings.patch':

multifundchannel: use jsmntoks to pass through json string, not strings

Passing in "" for utxos would crash lightningd on the command-line
otherwise. Now returns an error.


Header from folded patch 'update_plugins-multifundchannel.c.patch':

Update plugins/multifundchannel.c

Co-authored-by: Darosior <darosior@protonmail.com>
This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-09-09 12:40:37 +09:30
committed by Rusty Russell
parent f7de4ac919
commit 0d3a3b6d48
5 changed files with 1952 additions and 0 deletions

1
plugins/.gitignore vendored
View File

@@ -2,3 +2,4 @@ autoclean
bcli
fundchannel
pay
multifundchannel