core-lightning/bitcoin
Rusty Russell 810abb6b21 bitcoin: create new wrapper type bitcoin_blkid, log backward endianness.
It's just a sha256_double, but importantly when we convert it to a
string (in type_to_string, which is used in logging) we use
bitcoin_blkid_to_hex() so it's reversed as people expect.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-21 11:05:38 +00: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: create new wrapper type bitcoin_blkid, log backward endianness. 2017-12-21 11:05:38 +00: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: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00:00
tx.h bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 2017-12-21 11:05:38 +00: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.