I think the TXHASH spec in bips PR#1500 can’t directly do the same bllsh trick mentioned above because it only allows you to request the hash of a prevout, not the individual txid and out-index components that make that up. I think you could simulate it with CAT by requiring the user to provide the txid, the CAT’ing that with the expected vout, hashing, and comparing that with the TXHASH result, then doing the same for the other input and vout though.
1 Like