decodepsbt
RPC in the case that a PSBT with on of the per-input preimage types (PSBT_IN_RIPEMD160
, PSBT_IN_SHA256
, PSBT_IN_HASH160
, PSBT_IN_HASH256
; see BIP 174) is passed. As preparation, the first four commits move the already existing helpers for (de)serialization of PSBTs and PSBTMaps from the signet miner to the test framework (in a new module psbt.py
), which should be quite useful for further tests to easily create PSBTs.