Immature Code or Good Test? Bitcoin Scaling Proposal Segwit2x's Testnet Forks

SegWit2x's testnet fork brings criticism, yet its developers claim the problem won't be replicated by the live deployment.

AccessTimeIconJul 11, 2017 at 6:20 p.m. UTC
Updated Sep 11, 2021 at 1:31 p.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

Controversial bitcoin scaling proposal Segwit2x's testnet forked yesterday, creating two different and incompatible testnets.

Nodes running older bitcoin software continued on as they normally would. But nodes running the new Segwit2x code stalled at block 27070, meaning mining pools running the new software were not mining blocks.

Overall, the nodes were stalled for over 20 hours as a result of the issue.

While there wasn't any real money on the line, the community was abuzz with the news, some dismissing the controversial scaling proposal for perceived lingering issues, while others defended the misstep as only a small stumbling block that wouldn't happen during a live deployment.

Too little, too late

Some developers argue the fork is a symptom of a larger trend of Segwit2x developers not listening to other developers who have worked with the bitcoin code for a long time. Bitcoin Core developers, for example, have provided feedback, pointing out perceived errors, but some of that has been ignored.

On social media, some argued the testnet fork stemmed from the implementation of the 2MB hard fork developers discussed and disagreed upon a couple of weeks ago.

The 2MB hard fork is the second part of the Segwit2x proposal, an effort to double the block size parameter, which will happen three months after the Segregated Witness (SegWit) activation.

This second part is important in that if not everyone in the bitcoin ecosystem upgrades to the 2MB increase (and many say they don't plan to), bitcoin could split into two assets. If that split is not made permanent, one chain could "wipeout" transactions that occur on the other chain, potentially leading users to lose money.

On the project's GitHub, developers had different ideas of how to solve that.

Segwit2x went forward with software that requires at least the first block is greater than 1MB. Some contend this is what lead to the testnet fork, since there weren't enough transactions in the mempool, the part of the network where transactions are collected before being selected for blocks.

Bitcoin developer James Hilliard had proposed what he calls a "simpler and better" way of implementing so-called "wipeout protection," where nodes insert a piece of data making their blocks invalid to the other network.

Still, given that it's slated to be deployed in two weeks, for many, the bottom line is that it's too late for the code to have serious issues.

Working group members are expected to install and test the code this Friday. Then, mining pools, companies and users are expected to begin running the code on the main bitcoin network as soon as July 21.

Jokers to blame

But Bloq co-founder and BTC1 developer Jeff Garzik argued the fork is not an event to worry about. One of the testnet miners simply triggered an event sooner than planned and without preparation from the working group participants, he said.

According to Garzik, this split wouldn't happen once Segwit2x is deployed on the main bitcoin network.

He told CoinDesk:

"It falls into the category of 'jokers can disrupt test networks, because test networks have very little mining power security.'"

BTC.com's Boaz Bechar, who's also working on the Segwit2x implementation, offered a similar explanation.

While the testnet isn't expected to have many transactions flowing through it, the main bitcoin network will.

"Although unexpected timing, this is otherwise a good field test," Garzik wrote on the Segwit2x working group mailing list. "This is the whole reason for a test network, after all."

Disclosure: CoinDesk is a subsidiary of Digital Currency Group, which helped organize the Segwit2x agreement.

Lollipop image via Shutterstock

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.