mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
58b14292ad
We need this for signing segwitness txs. Unfortunately, we don't have it for transactions we received as hex, only ones we created; to make this safe we use a pointer which is NULL if we don't know, and those will crash if we try to sign or check their sigs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
test | ||
address.c | ||
address.h | ||
base58.c | ||
base58.h | ||
locktime.c | ||
locktime.h | ||
Makefile | ||
privkey.h | ||
pubkey.c | ||
pubkey.h | ||
README | ||
script.c | ||
script.h | ||
shadouble.c | ||
shadouble.h | ||
signature.c | ||
signature.h | ||
tx.c | ||
tx.h |
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.