/Shadow Boxing

Shadow Boxing

The always-relevant Marty Bent had Spiral developer Matt Corallo on his podcast this week to address the freaks about urgent Bitcoin mining matters.

To bring everyone up to speed, the concerns stem from recent sleuthing of the blockchain which revealed that some pools have been getting perhaps a little too cozy.

How do we know this? Well, everyone’s favorite snoop mononaut recently pointed out that an unusual percentage of Bitcoin’s mining reward was being consolidated under the control of a single custodian.

How bad is it? Well about 47% of the hashrate, on a good day. Yeah, pretty bad.

Now why in Satoshi’s name would they do such a thing, you ask?

C.R.E.A.M.

To begin with, have you looked at the hashrate chart lately anon? You practically can’t tell it apart from the US debt hockey stick. Backed by hardware advancement, public balance sheets, and increasing forays into cheap energy sources, Bitcoin mining has become an arms race. Since the Chinese mining ban of 2021, the network’s hashrate has more than quintupled.

The effects this has had on miners’ margins are self-explanatory. Everyone is squeezing each other out. The recent bear market saw a bunch of consolidation, particularly on the Western front. At the pool level, Foundry has been the biggest benefactor with nearly 25% of the current hashrate, down from 35% last year.

The reason they attained such dominance so quickly is something Bitcoiners are well acquainted with: volatility. In this case, it’s more often referred to as variance. Others simply call it luck.

Luck, under the conditions described above, can make or break your business. It’s the reason pools exist in the first place. Proof-of-work is a random process and randomness is the bane of cash flow. By combining your hashrate with others, you improve your odds and, perhaps, manage a more reliable revenue stream.

This is important because when your bills come due every month, your utility provider doesn’t care about your misfortunes. The tighter the margins, the more vulnerable you are. In today’s competitive environment, it’s a matter of survival.

What does any of this have to do with Foundry?

Well, it turns out another way to smooth over miners’ income is to adjust your pool’s payout scheme and completely remove variance from the equation. How? Simply pay them for their work regardless of how often you might mine a block. A process referred to as FPPS (Full Pay Per Share).

If that sounds expensive to you that’s because it is. The pool effectively has to front every payment out of pocket and hope they can pay themselves back with the blocks they eventually mine. If you hit a bad streak and your balance sheet isn’t strong enough to absorb the lack of revenue, you’re Sam Bankman Fried.

Enter Foundry. Through a combination of uncanny timing, business savvy, and a DCG-sized war chest, they’ve created a financial moat around their pool operations that makes it very hard for smaller players to come in and compete.

Of course, it’s slightly more complex in practice, but that’s pretty much the gist of it.

Back to our little posse of pools and the mysterious custodian. Have you figured it out yet?

The same game is playing out on the other side of the pond. It’s very likely that the emergence of Foundry as a major player exacerbated the dynamics laid out above and forced smaller pools to capitulate.

The execution appears to be slightly different but it’s essentially the same model. We can validate that several pools now share the exact same block templates. This matches with reports that Antpool is offering white-labeling services.

That’s right — proxy mining is, apparently, a business model.

On top of this, the aggregation of coinbase outputs suggests that an even larger percentage of the hashrate seems to be financing their operations through the same provider.

To put it another way: a single entity writes the checks for almost half of the network’s hashrate.

Dollar dollar bill, y’all.

If what you say is true. The Shaolin and the Wu-Tang could be dangerous

As you would expect, this situation led some talking heads to raise some alarming questions about mining centralization. For context, this is not the first time mining gets awkwardly consolidated.

Seems every cycle there is a doomsday mining centralization brouhaha and like clockwork someone panics and says we should press the red button.

2008-2012 the advent of GPU/ASICs

2012-2016 network latency lead to GHash

2016-2020 Bitmain manufacturing monopoly

2020 till today…

— Alex B (@bergealex4) April 25, 2024

As I wrote in this week’s Weekly Re-Org, time is a flat circle. The Proof-Of-Work centralization Manbearpig comes out of his cave every cycle. It’s a seasonal happening.

What’s rather unusual is for one of the most senior developers in this space to go full DEFCON 1.

Let’s work on a PoW change now.

— Matt Corallo (@TheBlueMatt) April 26, 2024

I will leave it to more serious journalistic outlets like the Bitcoin Bugle to speculate on the strange coincidences between this outburst and the fact that Matt’s employer has mining ambitions.

Look, it’s not pretty. I think we can all agree that such a significant portion of the hashrate being at the mercy of a handful of bankers is gross. Bitcoin’s security relies on miners aligning with their financial incentives. If that is the outcome, something’s wrong and censorship resistance is at risk.

The reaction, though, is unwarranted. Bitcoin mining has followed noticeable growth patterns throughout its history and this particular one is not different. It is a market driven by economics and not by code. Inefficiencies arise at every stage and are subsequently dampened as the industry progresses.

I understand every man who owns a keyboard looks at everything like a bug but the current reality does not fit this framing.

Everyone applauds the work that has gone into StratumV2 to optimize the mining interface but it’s not an answer to the current predicament. Even if they can be custom, transaction templates are still permissioned. The pools can always reject any transaction they deem haram. Patronizing operators for showing little interest in the solution and miners for not demanding it is verging on hubris.

Custom transaction selection cannot be relied upon for censorship resistance. Only the market can realistically address this problem and it just so happens that Bitcoin is explicitly designed to be robust to mining majorities. Using fees, users create a financial incentive for competing miners to drive enough hashrate behind a transaction for it to be mined. Curiously, this implies that, in a perfect world, every miner is mining off of the same template: the most profitable one.

In practice, things are a little more shall we say… spooky. As uncomfortable as this may be, censorship is inevitable. Following this week’s events, the writing is on the wall and while a lot of grief is given to Chinese miners, it seems most likely to come from our side.

By far the most disappointing aspect of this agitation is the endorsement of a change to the Proof-Of-Work algorithm. The threat being levied against us by the State as we currently speak makes the rhetoric around firing miners especially aggravating. It’s tone-deaf and shows a complete lack of discernment about the challenges before us. Divide and conquer, anyone?

To make matters worse, we know that throwing the baby out with the bath water is a recipe for disaster. Changing the algorithm. “Firing the miners.” It achieves nothing.

Again, the technocratic mind is blind to any issue not resolved by a pull request.

By going scorched earth, you ensure that only the most well-capitalized participants will ever participate in your game. Hashrate can be wiped away at the stroke of a key but technical prowess and large enough bags can endure nuclear winter. The ASIC manufacturer market likely resets to a single player, one who already specializes in custom algorithms. Monopolies relish nothing more than good old interventionism to help shed the competition.

From a consensus perspective, the idea is so absurd it flies in the face of the entire premise of the system.

If Bitcoin requires social coordination to throttle the whims of the market and fiddle with its incentives, it is a failed project. Proof-of-work is an economic design, not a technical contraption you can fix with code.

Wu-Tang Financial

Well, I can only humbly propose we begin to consider addressing market dynamics with market solutions.

To the best of my understanding, the underlying issue is related to Bitcoin’s capital markets. Resourceful actors who quickly caught on to the issue faced by smaller mining operations have filled a hole in the market and left no room for anyone else. Economies of scale and the perceived risk associated with mining have kept competitors at bay.

There is an opportunity here for a handful of ambitious players to bring balance to this market and allow pools to source capital without bending the knee to larger competitors. This won’t happen overnight. Relationships must be built and the general information asymmetry that has plagued this market must be addressed.

This is why we must stop burning bridges.

Of course, technical improvements can also be made to mitigate the underlying variance problems but they cannot remedy the growing pains of an immature market.

Bitcoin, in every respect, is going through its teenage years. No one wants to be told what to do and pushing one way will inevitably lead to resistance. Sure, there might be no rhyme or reason to what some participants decide to do but it’s not anyone’s place to decide for them.

This too shall pass. Until then…
Wu‐Tang Clan Ain’t Nuthing ta F’ Wit