core-lightning/bitcoin
Christian Decker 40165ba6d5 script: Use pkh to construct p2pkh output scripts
So far we always needed to know the public key, which was not the case
for addresses that we don't own. Moving the hashing outside of the
script construction allows us to send to arbitrary addresses. I also
added the hash computation to the pubkey primitives.
2017-06-23 16:02:20 +09:30
..
libbase58@16c2527608 Add libbase58 as git submodule 2017-01-05 12:11:18 +10:30
test struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
address.h Makefile: generalize whitespace check. 2017-01-04 14:09:20 +10:30
base58.c pubkey: valgrind was reporting about unset memory in address parsing 2017-06-23 16:02:20 +09:30
base58.h Use global secp256k1_ctx instead of passing it around. 2016-12-02 18:12:58 +10:30
block.c Update wire from spec 9e0a0e893db389bfe392b2f4db8097949395fe28 2017-04-01 23:59:46 +10:30
block.h Update wire from spec 9e0a0e893db389bfe392b2f4db8097949395fe28 2017-04-01 23:59:46 +10:30
locktime.c type_to_string: move formatting to appropriate files. 2017-01-04 14:07:15 +10:30
locktime.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
Makefile Makefiles: fix from-scratch parallel build. 2017-04-01 23:59:46 +10:30
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 script: Use pkh to construct p2pkh output scripts 2017-06-23 16:02:20 +09:30
pubkey.h script: Use pkh to construct p2pkh output scripts 2017-06-23 16:02:20 +09:30
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: Use pkh to construct p2pkh output scripts 2017-06-23 16:02:20 +09:30
script.h script: Use pkh to construct p2pkh output scripts 2017-06-23 16:02:20 +09:30
shadouble.c type_to_string: move formatting to appropriate files. 2017-01-04 14:07:15 +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 struct secret: use everywhere. 2017-05-09 11:43:35 +09:30
signature.h struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
tx.c struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 2017-01-25 11:03:55 +10:30
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.