core-lightning/bitcoin
Christian Decker 524849bc11 bitcoin: Split pull_bitcoin_tx
The deserialization of bitcoin transactions in wire/ is rather
annoying in that we first allocate a new bitcoin_tx, then copy it's
contents onto the destination and then still carry the newly allocated
one around due to the tal-tree. This splits `pull_bitcoin_tx` into
two: one part that does the allocation and another one that proceeds
to parse.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2018-01-08 17:19:25 +01:00
..
test bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
address.h Makefile: generalize whitespace check. 2017-01-04 14:09:20 +10:30
base58.c external: new subdirectory for all external libraries and submodules. 2017-08-29 17:54:14 +02:00
base58.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
block.c bitcoin: add formatting hook for printing bitcoin blockids 2017-12-25 12:33:22 +01:00
block.h bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 2017-12-21 11:05:38 +00:00
chainparams.c bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 2017-12-21 11:05:38 +00:00
chainparams.h bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 2017-12-21 11:05:38 +00:00
locktime.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
locktime.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
Makefile Makefile: clean needs to do more, distclean should remove everything. 2017-11-24 13:29:03 +01:00
preimage.h bitcoin/preimage: struct preimage. 2017-02-02 14:48:00 +10:30
privkey.h struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
pubkey.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
pubkey.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
pullpush.c struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
pullpush.h struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
README Fix typo. 2015-06-25 13:48:05 +09:30
script.c bitcoin/script: define standard scriptpubkey lengths. 2017-12-20 12:56:15 +01:00
script.h bitcoin/script: define standard scriptpubkey lengths. 2017-12-20 12:56:15 +01:00
shadouble.c bitcoin: create new wrapper type bitcoin_blkid, log backward endianness. 2017-12-21 11:05:38 +00:00
shadouble.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
short_channel_id.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
short_channel_id.h common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
signature.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
signature.h struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
tx.c bitcoin: Split pull_bitcoin_tx 2018-01-08 17:19:25 +01:00
tx.h bitcoin: Split pull_bitcoin_tx 2018-01-08 17:19:25 +01:00
varint.c bitcoin/varint: fix varint reading for multibyte varints. 2016-07-07 11:55:32 +09:30
varint.h varint: new file. 2016-04-12 13:07:03 +09:30

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.