mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +01:00
71-bytes for a signature already includes the sighash byte. 2-bytes 30 44 (DER- prefix thing) 34-bytes 02 20 6e29c8df67fffdda1613cef1413eb1a9ef3627f1fc5e4d910837274eafcc7b2a (r) 34-bytes 02 20 4b8563d79b92fdd830a546862439f80b24132d09318af2c7220c791067067e29 (s) 1-byte 01 (sighash) == 71-bytes |
||
---|---|---|
.. | ||
test | ||
address.h | ||
base58.c | ||
base58.h | ||
block.c | ||
block.h | ||
chainparams.c | ||
chainparams.h | ||
feerate.c | ||
feerate.h | ||
locktime.c | ||
locktime.h | ||
Makefile | ||
preimage.c | ||
preimage.h | ||
privkey.c | ||
privkey.h | ||
psbt.c | ||
psbt.h | ||
pubkey.c | ||
pubkey.h | ||
README | ||
script.c | ||
script.h | ||
shadouble.c | ||
shadouble.h | ||
short_channel_id.c | ||
short_channel_id.h | ||
signature.c | ||
signature.h | ||
tx.c | ||
tx.h | ||
tx_parts.c | ||
tx_parts.h | ||
varint.c | ||
varint.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.