Sebastian Falbesoner
e5537de0ab
test: add constants for MuSig2 PSBT key types (BIP 373)
...
Also, support serialization of lists of byte-strings as PSBTMap values,
which will be simply concatenated without any compact-size prefixes
(neither for the individual items nor for the size of the list).
2025-04-18 23:23:03 +02:00
Sebastian Falbesoner
e194e3e93d
test: PSBT: eliminate magic numbers for global unsigned tx key (0)
2023-03-04 12:43:38 +01:00
Andrew Chow
22c051ca70
tests: Test that PSBT_OUT_TAP_TREE is combined correctly
2022-10-06 15:32:45 -04:00
Sebastian Falbesoner
2a428c7989
test: support passing PSBTMaps directly to PSBT ctor
...
This will allow to create simple PSBTs as short one-liners, without the
need to have three individual assignments (globals, inputs, outputs).
2022-07-23 08:48:08 +02:00
Sebastian Falbesoner
fdc1ca3896
test: add constants for PSBT key types (BIP 174)
...
Also take use of the constants in the signet miner to get rid of
magic numbers and increase readability and maintainability.
2022-07-19 15:40:51 +02:00
Sebastian Falbesoner
1b035c03f9
refactor: move PSBT(Map) helpers from signet miner to test framework
...
Can be easily reviewed with `--color-moved=dimmed-zebra`.
2022-07-19 15:40:51 +02:00