core-lightning/bitcoin
Rusty Russell af080d5613 bitcoin/script: helper to create ScriptCode for signing P2WPKH.
sign_tx_input() now takes a witness_script arg: P2WPKH doesn't really
have a witness_script, but for signing it behaves as if it does.

This helper constructs that "fake" witness_script.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-04-12 13:06:51 +09:30
..
test bitcoin: add first unit test. 2016-04-11 16:42:53 +09:30
address.c Fix "make check-source" 2016-04-11 16:28:43 +09:30
address.h header cleanup: sort include lines into alpha order, after config.h 2016-01-22 06:38:08 +10:30
base58.c bitcoin: hand in a secp256k1_context to all routines. 2016-01-22 06:41:47 +10:30
base58.h bitcoin: hand in a secp256k1_context to all routines. 2016-01-22 06:41:47 +10: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 protocol: remove support for uncompressed pubkeys. 2016-03-30 16:54:16 +10:30
pubkey.h protocol: remove support for uncompressed pubkeys. 2016-03-30 16:54:16 +10:30
README Fix typo. 2015-06-25 13:48:05 +09:30
script.c bitcoin/script: helper to create ScriptCode for signing P2WPKH. 2016-04-12 13:06:51 +09:30
script.h bitcoin/script: helper to create ScriptCode for signing P2WPKH. 2016-04-12 13:06:51 +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 bitcoin/signature: BIP143 signature support. 2016-04-12 13:05:51 +09:30
signature.h bitcoin/signature: BIP143 signature support. 2016-04-12 13:05:51 +09:30
tx.c bitcoin/signature: BIP143 signature support. 2016-04-12 13:05:51 +09:30
tx.h bitcoin/signature: BIP143 signature support. 2016-04-12 13:05:51 +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.