rgb-cln/bitcoin
niftynei 24578c7fea elementsd: use the elements version of a 'witness utxo'
Elements requires the witness utxo to include the asset and value info,
in order for the signing hash to be constructed correctly

Changelog-Fixed: elementsd: PSBTs include correct witness_utxo struct for elements transactions
2020-09-10 12:31:36 +09:30
..
test psbt: clean up interface for setting metadata on PSBT inputs 2020-09-09 19:54:20 +09:30
Makefile bitcoin/feerate: new exposure for feerate parsing outside lightningd. 2020-07-08 21:07:20 +02:00
README Fix typo. 2015-06-25 13:48:05 +09:30
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 feerate: add a 'common_weight' calculation for a tx 2020-09-09 19:54:20 +09:30
feerate.h feerate: add a 'common_weight' calculation for a tx 2020-09-09 19:54:20 +09:30
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
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 elementsd: use the elements version of a 'witness utxo' 2020-09-10 12:31:36 +09:30
psbt.h bitcoin/psbt.c: Add psbt_insert_output function. 2020-09-09 20:36:08 +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
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.c psbt: clean up interface for setting metadata on PSBT inputs 2020-09-09 19:54:20 +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
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
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

README

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.