bitcoincashorg / spec

Technical specifications
112 stars 64 forks source link

Make protected transactions mandatory on UAHF chain (and enforce SCRIPT_VERIFY_STRICTENC) #17

Closed ftrader closed 7 years ago

ftrader commented 7 years ago

This enforces the use of SIGHASH_FORKID and SCRIPT_VERIFY_STRICTENC on by UAHF-compatible clients once the fork has activated.

It makes the OP_RETURN protection obsolete, but it is not removed in order to avoid a hard fork change w.r.t. existing deployments.

The strengthening of replay protections is a feature requested by miners and exchanges to protect Bitcoin users from accidental loss and theft of their Bitcoin Cash.

digitsu commented 7 years ago

I can understand why you would want all txns created by BCC wallets to be of the new format. It prevents BTC being lost by BCC wallet users. Good. I don't see why BCC has to make it so that only new txn format is valid though. This replay protection is the onus of segwit chain client to do.

The best part about BCC is the txn processing capability. Not accepting old txn format is forgoing the best festure of BCC so that the best selling festure of the competitor is protected from their own design flaws. Which is counter productive.

What about a compromise. Replay protect ONLY segwit txns. You take the high road and prevent segwit the embarrassment of having their users lose money. But you also don't give up the flood of fee paying transactions that can showcase why BCC is better

On Tue, Jul 25, 2017 at 22:15 TomZ notifications@github.com wrote:

Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Bitcoin-UAHF/spec/pull/17#issuecomment-317732935, or mute the thread https://github.com/notifications/unsubscribe-auth/ADo7S2shuYciuFknnxu6wqkeGlbJJQgHks5sRen3gaJpZM4OhFJ0 .

kanzure commented 7 years ago

But you also don't give up the flood of fee paying transactions that can showcase why BCC is better.

You could achieve the same effect by generating transactions that copy the same number of inputs/outputs and output values and even set a lower fee, to make that demonstration. It would have approximately the same semantic meaning too.