This allows non-malleable transactions for use in off-chain chaining.
This is step 1/3
- Introduce SIGHASH_SPENDANYOUTPUT with unit tests
- Add BIP9 activation with integration tests
- Add flag to tooling
Differential D596
Introduce SIGHASH_SPENDANYOUTPUT jasonbcox on Oct 12 2017, 15:06. Authored by
Details
This allows non-malleable transactions for use in off-chain chaining. This is step 1/3
WIP
Diff Detail
Event TimelineComment Actions I don't think this is a good change. This make a signature reusable. This is not a new proposal, it was discussed ages ago under the name SIGHASH_NOINPUT or something similar. This makes addresses reuse vulnerable. Yes I know, one should not reuse addresses, but that's not a good reason to make them more insecure, just like 0-conf not being 100% secure do not make RBF ok. Comment Actions My apologies for stubbornly reopening the discussion but I believe one is still needed; hopefully short yet open. Please consider (along the arguments on the ml):
We need to look at our goal: if we want to enable more automated trickery that that relies on off chain chaining, this serves our purpose better. If we want want to solve the other inconveniences of malleability (which I'm sceptical we should), neither MalFix nor this helps. Technical arguments aside, I think this provides us with a better narrative as we are in some ways ahead of SegWit on the matter Comment Actions Added note that scriptPubKey / scriptCode committing obstructs Eltoo.
|