bitcoin-dev

[BIP] Normalized transaction IDs

[BIP] Normalized transaction IDs

Original Postby Christian Decker

Posted on: October 21, 2015 08:50 UTC

The conversation between Gregory Maxwell and Christian Decker regarding the deployment of uniform segregated witness could be solved by adding a sorting step for inputs/outputs.

Maxwell suggested using a new P2SH-like scriptPubkey type where the scriptsig is required to be empty. Signatures would not be covered under txid but carried alongside and committed to in blocks in a separate hashtree. Decker noted that this approach was similar to what was described in the BIP, but with the scriptSig used to transport signatures internally to the transactions and stripped when it comes to signing/checking. The only disadvantage to this approach is that it disrupts normal relay handling processes, requiring a different hash or separate mechanism for witness transport.