What is Nostr?
Rusty Russell
npub179e…lz4s
2024-12-09 21:14:27

Rusty Russell on Nostr: BTW, Rearden (apparently from Jeremy?) pointed out that my simplified CTV-like scheme ...

BTW, Rearden (apparently from Jeremy?) pointed out that my simplified CTV-like scheme was flawed because it didn't commit to the order of input txids.

You need to xor SHA(inputnum | intxid) for each input to fix this.

I still like the scheme, because it clearly commits to everything the txid commits to (with modifications required by efficiency concerns). Like a "forward txid" to mirror the normal txids which are backwards references.

I should write it up, for comparison with CTV. Maybe once I've done that I'll no longer think it's a significant simplification?
Author Public Key
npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s