区块容量之战此书的第二十章的英文版本现发布如下。全书可在亚马逊上购买。提醒大家，任何实体书籍销售利润的 50％ 将捐赠给无国界医生。 这是一家为受冲突、流行病、灾难或被排除在医疗保健体系之外的人们提供医疗援助的慈善机构。
The Blocksize War – Chapter 20 – SegWit2x
Most small blockers had been largely quiet when it came to their campaign against phase two of the NYA, hoping for phase one to occur successfully before engaging more aggressively. In August 2017, with SegWit safely locked in, the time came to step up the campaign against phase two. By this point in the conflict, in stark contrast to the start of the war, the small blockers had a clear and strong majority of users behind them. To all intents and purposes, the small blockers had persuaded a large bulk of the community and traders to join their ranks, through both the power of effecting argument and reasoning and the momentum and success they had achieved. Most people just wanted to back the winning side.
As the conflict progressed, the main characters on the large block side had changed. In the first round, the small blockers had defeated Gavin Andresen and Mike Hearn, and then Roger Ver and Jihan Wu in round two. Finally, there was a third set of characters to defeat, Jeff Garzik and Mike Belshe. Jeff was the lead developer of the SegWit2x client and Mike, the CEO of BitGo, had somehow taken up the baton for the large block team. Roger Ver and Jihan Wu had mostly stepped back from the war at this point, instead focusing their efforts on promoting Bitcoin Cash.
On August 3, 2017 a pull request was merged into Bitcoin Core, and the new code blocked BTC1 peers from making connections to Bitcoin Core. Since the networks were expected to split anyway, it could be argued that this was a good move for both coins, allowing them to have stronger peering with nodes on the same network as them. However, Jeff Garzik was not happy at this and commented:
This Creates Chain Splits Even Though Bitcoin Core And Segwit2x Nodes Are Validating 100% The Same Rules Today; It Creates Chain Splits Because Of A Presumed Future Rule Deviation. The Outcome Is A Bunch Of Non-Deterministic Islands. This Is A Very Hostile And Unsafe Change Prior To Segwit2x Fork Deployment.
Although, technically, this change to Bitcoin Core peering was an advantage for both coins in the event of the split, the political messaging here was clear. Bitcoin Core would not implement SegWit2x and would continue work on the existing Bitcoin chain.
Another tactic used by the small blockers in order to try and persuade the community not to run BTC1 was to highlight apparent hypocrisy from Jeff Garzik. In 2012, Garzik appeared to articulate the small block narrative, making exactly the same points small blockers were stating today:
51% Hashing Power, Or Even 90%, Means Nothing If Clients Collectively Refuse To Accept And Relay Your Blocks.
In February 2013, Garzik even talked about the economic significance of a hardfork and the problems associated with a lack of mandatory replay protection. This was particularly poignant for me, as it’s the first time I was exposed to many of these arguments. And now, ironically, here was the same person developing and promoting the client doing exactly what he had argued against around four years earlier. Of course, changing one’s mind over the course of time can be entirely legitimate, and this does not at all imply Jeff was being malicious or a hypocrite. However, this did cause small blockers to accuse Jeff of “selling out to the suits”. In February 2013, Jeff wrote:
It Is Crucial To Understand The Concept And, Yes, Economic Impact Of A Hard Fork Before Even Approaching The Economic Analysis Of Changing The Max Block Size. A Hard Fork Is A Significant Event That Knocks Legitimate Users Off The Network, Makes Coins Unspendable, Or Potentially Makes The Same Coins Spendable In Two Different Locations, Depending On Whether Or Not You’re Talking To An Updated Node. It Is, To Pick A Dramatic Term, An Extinction Level Event. If Done Poorly, A Hard Fork Could Make It Impossible For Reasonable Merchants To Trust The Bitcoins They Receive, The Very Foundation Of Their Economic Value. Furthermore, A Hard Fork Is Akin To A Constitutional Convention: A Hard Fork Implies The Ability To Rewrite The Ground Rules Of Bitcoin, Be It Block Size, 21M Limit, SHA256 Hash, Or Other Hard-Baked Behavior. Thus, There Is Always The Risk Of Unpredictable Miners, Users And Devs Changing More Than Just The Block Size Precisely Because It Makes The Most Engineering Sense To Change Other Hard-To-Change Features At The Time Of Hard-Fork. It Is A Nuclear Option With Widespread Economic Consequences For All Bitcoin Users.
Another tactic of the small blockers was to work on the official list of SegWit2x supporters based on the NYA document. The plan was to arrange meetings and calls with the companies and to explain the flaws of the NYA; in particular, that it was causing a split which, unlike Bitcoin Cash, lacked mandatory replay protection, which would likely cause loss of funds. There was a long list of companies, and perhaps some of them did not understand the weaknesses of the NYA. If any of them defected, this would greatly undermine the NYA. It would show that the plan had negative momentum and lacked consensus even among the original signatories, let alone consensus from the wider community.
The first defection occurred on August 22, 2017. Bitwala, announced that they would not follow the agreement:
We Have Received An Increasing Number Of Inquiries Regarding Bitwala’s Support Of The New York Agreement (Short “NYA”).
The Agreement Helped Surpass Segregated Witness Activation Thresholds Prematurely So That The Necessary Soft Fork Went Over Without So Much As A Hitch. At Much The Same Time, A Number Of Miners Decided To Create A Bitcoin Fork On The Basis Of The Same Genesis Block As Bitcoin, Naming This Coin “Bitcoin Cash” (“BCH”) – Removing Segregated Witness From That Chain And Implementing Changes Which Included (Among Others) Support For Blocks Of Up To 8MB.
Bitwala Doesn’t Employ Or Sponsor Bitcoin Developers, So We Have Little Influence Over What The Core Development Team Does. We Would Like To Honor The Agreement That We Subscribed To (As One Of The First Movers, Unbeknownst To The Fact That Most Developers Would Not Enter The Agreement). We Also, However, Are A Service Company That Has And Will Always Follow What Our Customers Use And Want To Use.
We Will Not Actively Fork Away From What We View As “Bitcoin”, Which Is The Chain That Is Supported By The Current Core Dev Team.
This was a significant moment in the battle against phase two of the NYA: the first defection. However, it was not a perfect defection. Bitwala appeared to want to follow the chain supported by the “current Core dev team”, rather than the existing rules chain, unless there is widespread support to change the rules. This fed into the misconception that this battle was developers vs the miners, and that Bitwala had chosen the developers’ side. Despite this large blocker framing of the conflict, small blockers still celebrated and accepted the win.
Despite this defection, Mike Belshe was keen to keep pushing the project ahead and keep things on track. On August 23, 2017, he wrote to the SegWit2x mailing list, stating:
As SegWit Activates, This Is A Good Time To Send Out A Quick Project Update. You May Have Noticed That The SegWit2x Team Has Been Pretty Quiet Lately. That’s A Good Sign, As It Indicates That The Code Is Operating As Expected. The Goal Of SegWit2x Is To Create A Simple And Stable Codebase That Is Relatively “Boring”. If You Don’t Hear Much From The SegWit2x Development In The Coming Weeks, It Is A Good Sign.
On August 31, one of the mining pools which signed the agreement, F2Pool, announced its intention not to support SegWit2x. Although, at that point, the pool still had the “NYA” flag in its blocks, the pool operator Wang Chun said that the pool planned to remove the flag when it restarted its servers. This was another critical defection from the NYA. With a large mining pool, the Bitcoin chain would progress forwards and, as long as investors preferred the original rules Bitcoin chain (which seemed likely at this point), more miners were likely to violate the agreement and mine original Bitcoin to ensure they earned higher profits.
On September 1, the CEO and founder of another company which signed the NYA, Wayniloans, tweeted that they never agreed to all of the NYA and that the agreement changed after Wayniloans signed it. This was then confirmed by email a few weeks later, to which Barry Silbert replied, indicating a degree of disappointment:
You Are Of Course Welcome To Withdraw Support For SegWit2x, But Your Statement Below Is Not Accurate. I Have An Email From You On Sunday, May 21 At 8:40 Pm ET Confirming Support Of The Final, Full Statement That Was Published On May 23rd. Also, As A Reminder, I Was Approached About Adding Wayniloans To The Agreement, Not The Other Way Around, So I Have No Idea What You Were Told.
The number of defections started increasing at this point. On September 26, 2017, Vaultoro defected:
We Signed Way Before Bcash Fork. Signed Because I Wanted To Help Dislodge The Stalemate Between Camps. It Worked, We Now Have Segwit. As Any Good Businessman, I Stick To My Word / Signature And Would Have Followed Through With 2x But I Cannot Without Replay Protection.
South American exchange surBTC also retracted their support for the NYA:
Nevertheless, We Can’t Pretend To Be Bitcoin “Scaling Experts”. We Don’t Believe In Trying To Force A Change Bitcoin’s Core Developers Don’t Feel Safe With. The Technical Background Of The Team That Currently Collaborates On The Core Bitcoin Project Has An Unprecedented Level, We Believe Them To Be, At Least As A Group, Unbiased Experts Who Deserve At Least A Voice On The Subject. Even Though We Would Be Happy To Have Moderately Larger Blocks To Accommodate Growing Demand, We Feel That Bitcoin Needs (At Least A Majority) Of Bitcoin’s Core Developers’ Support In Order To Do This Responsibly. We Haven’t Seen This Support And We Don’t Like What We Currently See On The Btc1 Code Repository In Terms Of Technical Considerations And Open Source Collaboration.
UK-based exchange Crypto Facilities then left the agreement. The CEO of Kraken, the company that would eventually buy Crypto Facilities, also indicated opposition to SegWit2x due to the lack of replay protection. Another signatory, Bitfury, also indicated it was potentially not willing to go through with phase two of the NYA. It was now almost impossible to keep track of all the defections, and the agreement appeared to be falling apart.
There were also defections from the large block side of the camp. Another signatory, Yours, announced it was switching entirely to the Bitcoin Cash chain. Bitmain’s main in-house mining pool, Antpool, had also started mining Bitcoin Cash. Of course, one could argue that supporting or mining Bitcoin Cash is not reneging on the agreement. One could say it’s entirely legitimate for businesses to mine multiple coins in order to generate earnings or support coins on multiple chains. This is, of course, normal and acceptable business. However, if it was the case that signatories could continue to support the two coins after the split and miners were free to mine on both sides of the split, one could also argue that the NYA was largely meaningless and two chains would survive. This, the small blockers argued, was why mandatory replay protection was necessary, and without it, SegWit2x was potentially hostile and should therefore not be supported by responsible businesses.
In spite of the fact that prospects of SegWit2x were rapidly diminishing and the demands for replay protection were getting stronger, on October 8, 2017, Mike Belshe continued to push ahead:
“Replay Protection”, As You Call It, Splits The Chain. It Simply Doesn’t Make Sense- You’d Suddenly Be Breaking 10+Million SPV Clients That Otherwise Work Just Fine. It Is A Goal Of Segwit2x To Help Avoid This. Today, We’re On Course To Deploy Segwit2x With A Vast Majority Of Miners Still Signaling For It. On Top Of That, 99.94% Of Nodes & SPV Clients Will Automatically Follow That Longest Chain (Segwit2x). I Know Some Don’t Want Bitcoin To Work This Way, But This Is The Way That Bitcoin Upgrades Are Implemented.
Some SegWit2x supporters then began to argue that the original rules chain should implement mandatory replay protection, because this was to be the minority hashrate chain. However, this was not really possible, because mandatory replay protection was likely to be an incompatible change and would therefore result in a new coin and a chain-split, resulting in not two, but three coins. Small blockers retorted by arguing that only the incompatible client can implement mandatory replay protection.
On October 6, 2017, Bitfinex listed chain-split tokens for the SegWit2x upgrade, just as they had done for Bitcoin Unlimited earlier in the year. The coins traded between 20 percent and four percent of the price of Bitcoin, indicating that the majority of the economy, at least investors and traders, favoured the original rules Bitcoin and not SegWit2x.
Bitfinex also clarified its position with respect to the chain-split, stating that initially it would regard the existing rules chain, or what it called the “incumbent implementation” as Bitcoin and the SegWit2x chain as an alternative coin called “B2X”. This Bitfinex policy applied even if B2X had more hashing power. However, Bitfinex did leave the door open to supporting the NYA, stating that “market forces could suggest an alternative labelling scheme”. This was essentially Bitfinex indicating it was ultimately up to investors and traders which coin would be defined as Bitcoin, by determining which coin had the higher market price.
As The Proposed Consensus Protocol Segwit2x Project Appears Likely To Activate, We Have Elected To Designate The Segwit2x Fork As B2X, For Now. The Incumbent Implementation (Based On The Existing Bitcoin Consensus Protocol) Will Continue To Trade As BTC Even If The B2X Chain Has More Hashing Power. We Are Doing This For Practical And Operational Reasons. Political Considerations Are Irrelevant Here. While We Cannot Change Or Re-Assign Ticker Symbols, We Can Change The Label Or Description Associated With That Ticker Symbol. For The Time Being, BTC Will Continue To Be Labeled As “Bitcoin,” And B2X Will Be Labeled As “B2X.” This Will Remain The Case Unless And Until Such Time That Market Forces Suggest An Alternative, More Appropriate, Labeling Scheme For One Or Both Chains.
Around one week later, on October 13, 2017, BitMEX put out an even stronger statement than Bitfinex, again indicating that it would regard B2X as an alternative coin, even if it had a higher hashrate than Bitcoin:
The SegWit2x (B2X) Proposal Is Aimed At Increasing The Blocksize. It Is Scheduled To Take Place In November 2017. This Change Is Incompatible With The Current Bitcoin Ruleset And Therefore A New Coin May Be Created. Proponents Of This New Coin Hope It Becomes Known As Bitcoin, However Which Coin Is Known As Bitcoin Is Not Up To The Proponents Of The New Token. Investors And Traders May Decide Which Coin Has The Highest Value. In Order For This Process To Work Smoothly, Strong Two Way Transaction Replay Protection Is Necessary. It Is Our Understanding That The SegWit2x Proposal Does Not Include Two Way Transaction Replay Protection, Enabled By Default. Therefore BitMEX Will Not Be Able To Support SegWit2x. As Such, BitMEX Will Not Support The Distribution Of B2X, Nor Will BitMEX Be Liable For Any B2X Sent To Us. This Policy Applies Even If The SegWit2x Chain Has The Majority Hashrate.
On October 23, BitMEX’s CEO Arthur Hayes put out a blogpost entitled “Trading ShitCoin2x”. The “ShitCoin2x” meme was celebrated by the smaller blockers, and the situation looked bleak for the last remaining supporters of the NYA. If they launched their coin, it looked like it would be another altcoin trading below 10 percent of the price of Bitcoin.
The following day, Jeff Garzik announced he was launching a new alternative coin called “Metronome”. This was another opportunity for the small blockers to rip into the SegWit2x project, claiming the lead developer had lost focus and was now working on other projects. Bloomberg reported the announcement as follows:
Jeff Garzik, One Of A Handful Of Key Developers Who Helped Build The Underlying Software For Bitcoin That Is Known As Blockchain, Has Seen Its Shortcomings Firsthand. So He Decided To Create A Better Digital Currency. He’s Calling It Metronome And Says It Will Be The First That Can Jump Between Different Blockchains. The Mobility Means That If One Blockchain Dies Out As The Result Of Infighting Among Developers Or Slackened Use, Metronome Owners Can Move Their Holdings Elsewhere. That Should Help The Coins Retain Value, And Ensure Their Longevity, Garzik, Co-Founder Of Startup Bloq That Created Metronome, Said In A Phone Interview.
On October 23, 2017, Coinbase announced its policy with respect to SegWit2x. Coinbase was a signatory to the NYA and, by this point, had not reneged on its support for the NYA. The company also had a history of supporting all the other hardfork attempts and therefore its policy with respect to this split was widely anticipated. Just like Bitfinex and BitMEX, Coinbase indicated it had abandoned the NYA and would regard the SegWit2x coin as an alternative coin:
Bitcoin Segwit2x – The Bitcoin Segwit2x Fork Is Projected To Take Place On November 16th And Will Temporarily Result In Two Bitcoin Blockchains. Following The Fork, Coinbase Will Continue Referring To The Current Bitcoin Blockchain As Bitcoin (BTC) And The Forked Blockchain As Bitcoin2x (B2X).
Small blockers celebrated the development. Coinbase appeared to have finally joined their camp and this was the final nail in the coffin for SegWit2x. Small blockers sent many emails and messages to Brian Armstrong, the Coinbase CEO, congratulating him on the policy. Coinbase had a fiduciary responsibility to protect client assets and potentially support both sides of the split anyway, therefore some argued it was inappropriate for any custodian to sign any agreement committing to just one side of a potential split. Perhaps the company now realised signing the NYA was inappropriate.
However, amazingly, two days later, Coinbase put out another blogpost contradicting the previous one. This time, the company stated it would regard whichever chain had the most accumulated difficulty as Bitcoin:
In Our Prior Blogpost We Indicated That At The Time Of The Fork, The Existing Chain Will Be Called Bitcoin And The Segwit2x Fork Will Be Called Bitcoin2x. However, Some Customers Asked Us To Clarify What Will Happen After The Fork. We Are Going To Call The Chain With The Most Accumulated Difficulty Bitcoin.
Of course, even this statement can be interpreted as reneging on the NYA; the purpose of the original agreement was for the signatories to support the new coin as Bitcoin, not to adopt what appeared to be a neutral stance between the original coin and the new coin. Small blockers reacted in bewilderment to this new Coinbase policy, which was also adopted by several other US-based exchanges such as Gemini.
The new Coinbase policy made little sense when one thought through the process in more detail. When it came to the order book and ticker, wouldn’t Coinbase need to pick a coin that would inherit the original? If not, then Coinbase would need to shut down the exchange. This appeared to be a bad business decision, resulting in a loss of revenue just when trading demand would pick up. Also, at which point would Coinbase determine which chain had the most hashrate: after one hour, one day, one week, one month or one year? Coinbase never revealed that. It was, of course, possible that the hashrate lead could oscillate between the competing coins. Miners would also likely be looking at the markets to determine which coin had more value and therefore help inform them about which coin they wanted to mine. If the exchanges shut down, then how would miners make this decision? Both groups, exchanges and miners, would essentially be waiting for each other. Wasn’t Coinbase walking away from its responsibility to help ensure orderly and functioning markets during these uncertain times? And their responsibility to help facilitate the economic process by which investors could express their view, that would then feed down to the miners? It seemed to me that the approach Bitfinex and BitMEX had chosen to take was far more responsible and clearer than the messy and confusing approach of Coinbase.
As we reached the end of October, momentum against SegWit2x in the Bitcoin community was almost unstoppable. Local meet-ups around the globe put out statements opposing SegWit2x and confirming they would regard the original rules chain as Bitcoin. The statements were made by local communities in regions which included Korea, Hong Kong, Italy, Germany, Israel, and Brazil and Argentina. The Israeli statement read:
We Believe That A Protocol Change In The Currency Holding The Name “Bitcoin”, Especially One Requiring A Hard Fork, Requires Overwhelming Consensus. The SegWit2x Hard Fork Does Not In Any Way Enjoy Such Consensus, And While This Remains The Case We Cannot Refer To The Resulting Currency As “Bitcoin”.
The Hong Kong community used even stronger language:
SegWit2x Does Not Include Strong Transaction Replay Protection, Nor Does It Have Widespread Consensus Across The Community. Due To The Combination Of Both A Lack Of Consensus Across The Community And A Lack Of Strong Replay Protection, We Consider SegWit2x A Reckless Endeavor That Will Cause Disruption And Harm To The Ecosystem. We Therefore Strongly Oppose SegWit2x. This Remains True Even If The SegWit2x Chain Has The Majority Hashrate Or A Higher Price.
The final Scaling conference conducted during the blocksize war, Scaling IV, took place at Stanford University in the US on the weekend of November 4 and 5, 2017. Just like Scaling I in Montreal, I was running out of annual leave at work, therefore I decided to fly over from Hong Kong for a quick weekend visit. The event was a quiet and calm affair and it was clear the war was coming to an end. Virtually no one at the conference was supporting SegWit2x. There was, however, one notable exception to this. Giving a talk at the end of the first day on “Bitcoin in China” was Bobby Lee. Bobby was one of the few enthusiastic supporters of SegWit2x, believing it was a compromise bringing both sides together. By this point, Bobby was one of the last remaining supporters of SegWit2x who still appeared to think it was potentially viable. This is despite the fact that Bobby’s own exchange, BTCC (an NYA signatory), had implemented SegWit2x chain-split tokens and the SegWit2x coin was trading at around 10 percent of the Bitcoin price. Bobby had stubbornly refused to back down from the NYA. At the end of Bobby’s speech in Stanford, it was time for questions. However, just beforehand, Bobby said:
I Am Going To Avoid Talking About SegWit2x And The NYA, We Will Just Keep It Focused On The Chin[Ese] Market And Anything Else
Bobby seemed to know that SegWit2x was unpopular and that he would be hounded by negatively-framed questions on the proposal. Bobby did not have the courage to face up to it and argue back. So much for the idea of persuading the community to support SegWit2x; at this point, its proponents refused to be scrutinized on the idea.
As we reached November, the deadline was approaching. SegWit2x was due to activate at block height 494,784 on November 15, 2017. A rumour started circulating in some of the large block channels. Jihan Wu had supposedly said that he would only mine SegWit2x at a loss for two days, at which point if it was not economical to continue mining SegWit2x, he would switch back to Bitcoin and Bitcoin Cash. Bitmain had already spent a lot of money mining Bitcoin Cash at a loss for some periods and was apparently keen to avoid wasting more money. The large blockers never really supported SegWit2x, their hearts went to Bitcoin Cash. SegWit2x did not have support from the users. It had no node network; with almost everyone running Bitcoin Core, the exchanges had either rejected SegWit2x or taken a neutral stance. Now, the one pool of support left for SegWit2x, the miners, looked to be fading away. SegWit2x was dead in the water. The small blockers looked set for a sensational victory. It was no longer a question of if, but when.