core-lightning/bitcoin
Christian Decker 2c0b52fb77 bitcoin: Make chainparams const
`cli` and `cli_args` were not `const` before since they are added to a
non-`const` array. Using `cast_const` we can keep them `const` without
unsafe cast.

Reported-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2017-07-13 15:36:50 +02:00
..
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 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 fix: Addressing feedback from PR #192 2017-07-12 13:16:00 +02:00
chainparams.h bitcoin: Make chainparams const 2017-07-13 15:36:50 +02:00
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.