Oliver Gugger
bda0481701
psbt: add global XPubs to packet
...
Adds support for the PSBT_GLOBAL_XPUB type as defined in BIP-0174.
2025-01-14 21:19:35 +01:00
Oliver Gugger
4bff778564
psbt: decode keytype as compact size
...
Fixes #2199 .
Previous to this fix the keytype was only interpreted as a single byte,
even though BIP-0174 states it is to be parsed as a CompactSize/VarInt.
2024-06-25 16:03:05 +02:00
0xEclair
7f0fb2ad3b
psbt: finalizer add proper sighash flag
...
psbt: fix missing sighash flag when finalizing
psbt: test finalizer add proper sighash flag
2023-07-17 18:35:13 +08:00
Oliver Gugger
bb0a2f3790
psbt: add unit test for unknowns
2023-01-27 15:30:46 +01:00
Oliver Gugger
0572702cec
psbt: add valid and invalid PSBTs for new types
2022-05-02 16:25:16 +02:00
Oliver Gugger
eb2eeaf848
psbt: always use non witness serialization format
...
BIP-0174 states that the transaction must be in the old serialization
format (without witnesses).
2022-04-13 14:13:47 +02:00
Oliver Gugger
56b048867b
psbt: allow empty bip32 derivation path
...
BIP-0174 defines the derivation path being encoded as
"<32-bit uint> <32-bit uint>*"
with the asterisk meaning 0 to n times. Which in turn means that an
empty path is valid, only the key fingerprint is mandatory.
2022-03-28 10:14:43 +02:00
Olaoluwa Osuntokun
5cd3533e2b
btcutil: move btcutil into new sub-module
...
In this commit, we move `btcutil` as well as its sub-module, the `psbt`
package into the `btcd` repo itself.
2022-01-10 18:44:56 -08:00