core-lightning/bitcoin
Rusty Russell be38d3f507 Minor cleanups: things found while debugging the database code.
1. Fix #ifdef DEBUG code in signature.c so it compiles.
2. Don't set peer->closing.our_script in queue_pkt_close_shutdown: it's
   assigned in caller already.
3. Wrap setting of htlc's rval in set_htlc_rval() function.
4. Log where we were when unexpected packet comes in.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-08-18 14:25:13 +09:30
..
test bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 2016-08-18 14:23:45 +09:30
address.h misc: remove some unused functions. 2016-04-24 19:33:13 +09:30
base58.c base58: fix check-source header order check. 2016-08-09 15:30:34 +09:30
base58.h base58: remove openssl include, and undefined function declaration. 2016-08-09 13:10:19 +09:30
block.c bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 2016-08-18 14:23:45 +09:30
block.h bitcoind: use correct endianness for block hashes. 2016-04-24 19:41:20 +09:30
locktime.c daemon: fix BIP68 support. 2016-04-11 16:34:29 +09:30
locktime.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
Makefile bitcoin: add first unit test. 2016-04-11 16:42:53 +09:30
privkey.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
pubkey.c key_from_base58 / pubkey_from_privkey: don't support non-compressed keys. 2016-07-01 12:00:17 +09:30
pubkey.h key_from_base58 / pubkey_from_privkey: don't support non-compressed keys. 2016-07-01 12:00:17 +09:30
pullpush.c bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 2016-08-18 14:23:45 +09:30
pullpush.h bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 2016-08-18 14:23:45 +09:30
README Fix typo. 2015-06-25 13:48:05 +09:30
script.c daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 2016-08-18 14:23:45 +09:30
script.h daemon/output_to_htlc: routines to map outputs for HTLCs for a given commit_num. 2016-08-18 14:23:45 +09:30
shadouble.c bitcoin: use ccan/mem instead of rolling own check_mem function. 2015-10-26 21:06:23 +10:30
shadouble.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
signature.c Minor cleanups: things found while debugging the database code. 2016-08-18 14:25:13 +09:30
signature.h bitcoin: implement sig_valid. 2016-07-01 12:00:17 +09:30
tx.c bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 2016-08-18 14:23:45 +09:30
tx.h bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal. 2016-08-18 14:23:45 +09:30
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.