core-lightning/bitcoin
Rusty Russell 6ef64cd52b script: make "sig_and_empty" more generic, make htlc tx witness fns clearer.
For non-delayed HTLC success spends, we have a similar pattern ("<sig>
<preimage> <wscript>") so a we want to use the same function.

The other routines don't say "witness" in them, and should.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-28 13:07:05 +09:30
..
test common: move some files out of lightningd/ 2017-08-29 17:54:14 +02: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 opening: Use the correct chainparams to open a channel 2017-07-12 11:30:23 +09:30
block.h opening: Use the correct chainparams to open a channel 2017-07-12 11:30:23 +09:30
chainparams.c chainparams: fix order of chain hashes. 2017-09-05 00:35:38 +02:00
chainparams.h bitcoin: Make chainparams const 2017-07-13 15:36:50 +02: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 Makefiles: simplify dependencies. 2017-08-29 17:54:14 +02: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 script: make "sig_and_empty" more generic, make htlc tx witness fns clearer. 2017-09-28 13:07:05 +09:30
script.h script: make "sig_and_empty" more generic, make htlc tx witness fns clearer. 2017-09-28 13:07:05 +09:30
shadouble.c common: new directory for any shared objects. 2017-08-29 17:54:14 +02: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 common: new directory for any shared objects. 2017-08-29 17:54:14 +02:00
tx.h struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10: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.