rgb-cln/bitcoin
Jon Griffiths 572942c783 psbt: use DER encoded + sighash byte for PSBT_IN_PARTIAL_SIG items
Per BIP-0171, the signature map is of pubkey to "The signature as would
be pushed to the stack from a scriptSig or witness".

Fixes 5298

Changelog-Fixed: PSBT: Fix signature encoding to comply with BIP-0171.

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
2022-06-09 18:28:35 +02:00
..
test
Makefile
README
address.h
base58.c
base58.h
block.c
block.h
chainparams.c
chainparams.h
feerate.c
feerate.h
locktime.c
locktime.h
preimage.c
preimage.h
privkey.c
privkey.h
psbt.c
psbt.h
pubkey.c
pubkey.h
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

README

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.