core-lightning/bitcoin
ZmnSCPxj jxPCSnmZ 0d3a3b6d48 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>
2020-09-09 16:45:56 +09:30
..
test Makefile: normalize all the Makefiles 2020-08-31 21:33:26 -05:00
address.h Makefile: generalize whitespace check. 2017-01-04 14:09:20 +10:30
base58.c wallet: Pass chainparams to address serialization 2019-05-10 23:07:49 +00:00
base58.h wallet: Pass chainparams to address serialization 2019-05-10 23:07:49 +00:00
block.c block: Compute the txids only once 2020-09-02 13:21:32 +02:00
block.h block: Compute the txids only once 2020-09-02 13:21:32 +02:00
chainparams.c common/wire: move bitcoin-specific marshalling functions into bitcoin files. 2020-05-18 14:51:12 +02:00
chainparams.h elements,pset: populate elements specific data for PSBTs 2020-07-13 11:37:24 +09:30
feerate.c bitcoin/feerate: new exposure for feerate parsing outside lightningd. 2020-07-08 21:07:20 +02:00
feerate.h change_amount: routine to determine if change output is worthwhile. 2020-07-08 21:07:20 +02:00
locktime.c Remove unused functions not covered by unit tests 2018-03-26 23:35:56 +00:00
locktime.h Remove unused functions not covered by unit tests 2018-03-26 23:35:56 +00:00
Makefile bitcoin/feerate: new exposure for feerate parsing outside lightningd. 2020-07-08 21:07:20 +02:00
preimage.c wire: move towire/fromwire_preimage out to bitcoin/preimage.c. 2020-05-18 14:51:12 +02:00
preimage.h wire: move towire/fromwire_preimage out to bitcoin/preimage.c. 2020-05-18 14:51:12 +02:00
privkey.c wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
privkey.h wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
psbt.c psbt: if psbt is null, return null for get_bytes 2020-08-25 12:34:56 +09:30
psbt.h plugins/multifundchannel.c: Implementation of multifundchannel. 2020-09-09 16:45:56 +09:30
pubkey.c wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
pubkey.h pubkey: update comment to reflect location 2020-08-18 11:08:44 +09:30
README Fix typo. 2015-06-25 13:48:05 +09:30
script.c bitcoin/script.c: Add scriptpubkey_opreturn_padded, which creates an OP_RETURN with a pointless random 20-byte padding. 2020-09-09 12:38:19 +09:30
script.h bitcoin/script.c: Add scriptpubkey_opreturn_padded, which creates an OP_RETURN with a pointless random 20-byte padding. 2020-09-09 12:38:19 +09:30
shadouble.c wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
shadouble.h wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
short_channel_id.c wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 2020-05-18 14:51:12 +02:00
short_channel_id.h wire: move towire/fromwire_short_channel_id out to bitcoin/short_channel_id.c 2020-05-18 14:51:12 +02:00
signature.c psbt: remove input_amounts from bitcoin tx 2020-06-11 13:13:13 +02:00
signature.h common/wire: move bitcoin-specific marshalling functions into bitcoin files. 2020-05-18 14:51:12 +02:00
tx_parts.c bugfix: tx_parts omits two byte counts in serialization 2020-07-01 19:50:02 -05:00
tx_parts.h bitcoin/tx_parts: infrastructure for partial bitcoin txs. 2020-05-27 10:12:03 +09:30
tx.c bitcoin/tx.c: bitcoin_tx_output_get_amount_sat now accepts const transactions. 2020-09-09 12:38:19 +09:30
tx.h bitcoin/tx.c: bitcoin_tx_output_get_amount_sat now accepts const transactions. 2020-09-09 12:38:19 +09:30
varint.c varint: Add helper function for getting varlen size 2019-10-10 05:57:45 +00:00
varint.h varint: Add helper function for getting varlen size 2019-10-10 05:57:45 +00:00

These are standard bitcoin manipulation routines which should be
provided by any normal bitcoin library in whatever language you choose.

The ones here are standalone ones taken from bitcoin core and some I
wrote, many taken from bitcoin-iterate and pasted in here.