Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Only hardfork if Segwit2x actually activates #58

Closed
wants to merge 4 commits into from

Conversation

luke-jr
Copy link

@luke-jr luke-jr commented Jul 5, 2017

If Segwit is activated without Segwit2x, it isn't appropriate to hardfork.

@jgarzik
Copy link

jgarzik commented Jul 5, 2017

@hoffmabc @JaredR26 Let's keep it professional please.

@luke-jr Thanks for the change. This is outside the scope of segwit2x group, which assumes bit-4 Segwit && HF. If SegWit is purely Bit-1 then it won't trigger.

@jgarzik jgarzik closed this Jul 5, 2017
@btc1 btc1 deleted a comment from hoffmabc Jul 5, 2017
@btc1 btc1 deleted a comment from JaredR26 Jul 5, 2017
@luke-jr
Copy link
Author

luke-jr commented Jul 5, 2017

@jgarzik The current code triggers the hardfork if purely-bit-1 Segwit activates. This fixes that so it only triggers via bit-4.

@kek-coin
Copy link

@jgarzik

If SegWit is purely Bit-1 then it won't trigger.

Could you point me to the code where this is enforced? Afaict @luke-jr aimed to achieve precisely that; I've skimmed the diff between BTC1 and the 0.14 branch of bitcoin/bitcoin and saw no check for this. In fact, it superficially seems that BIP102active == fSegwitSeasoned.

@jgarzik
Copy link

jgarzik commented Jul 18, 2017

Since this is now the subject of false claims on social media, let's be hyper-specific on this issue.

Approx. 30 days ago - this PR was filed 13 days ago - I noted that the HF logic was SegWit activation + 3 months.

The most likely path - NYA agreement hashpower following through on their promised path - is now taking place as of this writing. bit-4 will activate bit-1 will activate SegWit will activate the HF. The most likely scenario is that hashpower and NYA agreement will continue as expected, and hashpower will enforce 2M HF as expected.

This suggested change is therefore not required but is a "nice to have."

Section 4b of the release notes of segwit2x v1.14.4 offer, in an effort to take feedback and gain wider consensus, to re-consider merging something like luke-jr's suggested PR here.

@howtoaddict
Copy link

@jgarzik thank you for staying above childish nonsense that has been going on lately. And thanks @luke-jr for pull request.

@jheathco
Copy link

jheathco commented Jul 18, 2017

If the signatories for NYA follow though with their commitments to deploy segwit2x, this should be a non-issue. In the case that some participants do not, and segwit activates without a significant majority signaling on bit-4, it seems that this would prevent a potentially contentious hard fork - I'd tend to agree with @luke-jr on this one.

@jheathco
Copy link

Looks like this can issue can be closed given the fact that 80%+ are currently signaling on bit4 - pretty obvious at this point segwit2x/BIP91 will be responsible for activating segwit.

@jgarzik
Copy link

jgarzik commented Jul 22, 2017

Events rendered moot.

@jgarzik jgarzik closed this Jul 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants