Bitcoin Institute

What Developers Credited Satoshi With: An Unprecedented Idea and Low-Defect Code

On a dark navy ground, a large panel covered in lines of code lies at an angle, with a gold magnifying glass held over it. A hexagonal badge reading "B+" sits at the upper right. Labels read "nine attacks," "clean and minimal," "low defect rate" and "carefully written"

On October 17, 2018, RodeoX posted in a BitcoinTalk thread titled “Was Satoshi’s coding ability considered bad?” The breakthrough, he wrote, was the idea of distributing time-stamped data across a chain of blocks; none of the code itself was really new. His last line was “Dare I say it was a little script-kitty like.” Two days later, Gregory Maxwell quoted that line and replied:

gmaxwell (BitcoinTalk post, October 19, 2018, 4:48:08 AM UTC)

This is nonsense. A lot of people like to throw crap at other people’s work because they think it makes them sound superior.

The original Bitcoin software was unusually high quality. It was clean, minimal, relatively modern for its time, and largely (but not completely) free of defects.

Maxwell is a long-time contributor to Bitcoin Core. The developers and security researchers who read Satoshi’s code tended to judge the idea and the code separately. This page collects the praise. What people said about Satoshi the person is gathered in “What They Said About Satoshi”, and the flaws developers found in his work are in “Where Developers Said Satoshi Was Wrong”.

1 The idea

In May 2013, someone started a BitcoinTalk thread asking whether the user who posted as DeathAndTaxes was Satoshi. Quoting a reply that said “D&T is smart, but he’s not THAT smart,” DeathAndTaxes wrote:

DeathAndTaxes (BitcoinTalk post, May 10, 2013, 6:16:50 PM UTC)

This. The first time I learned about Bitcoin, I took a look at the whitepaper and code I found all kinds of “flaws”. It wasn’t until hours (days?) of reading and researching that the elegance of the solution became visible (like a Polaroid appearing from the black).

In the same post he says he had not even believed the problem could be solved.

Ten years later, Maxwell pointed to what was new in the idea when he answered a post claiming that all the ideas behind Bitcoin were already in place:

gmaxwell (BitcoinTalk post, May 31, 2023, 10:35:31 PM UTC)

Sorry, but in the interest of slowing the spread of misinformation this is just plainly false. The idea of using a distributed anonymous cryptographic lottery to form a consensus is the revolutinary idea in Bitcoin and it had no historical precedent.

Maxwell attached a mailing-list archive from 2001 to that post. People there had worked on the same problem without finding the answer, even with Hal Finney, Adam Back and Peter Todd in the discussion. This is what DeathAndTaxes meant when he said he had not believed a solution existed.

2 The code

Some of the praise was for the code itself, not just the idea.

YearWhoWhat they looked atVerdict
2011Dan KaminskyNine lines of attackEach time, a line already addressed the problem
2018Michael Marquardt (theymos)The codebase as a wholeB+
2018MaxwellThe original softwareUnusually high quality
2023MaxwellThe defect rateExtremely low; mostly a few bugs in script

Dan Kaminsky was the security researcher known for finding a flaw in the Internet’s DNS. In 2011 he tried nine ways to break Bitcoin.

Dan Kaminsky (The New Yorker article, October 10, 2011)

I came up with beautiful bugs. But every time I went after the code there was a line that addressed the problem.

Of Bitcoin’s creator, he said:

He’s a world-class programmer, with a deep understanding of the C++ programming language.

In June 2018, in the same thread where RodeoX would later post, Michael Marquardt (theymos), who runs BitcoinTalk, gave the code a grade.

theymos (BitcoinTalk post, June 05, 2018, 6:26:29 AM UTC)

It was pretty good: I’d give it a grade of B+. The worst problem was that there were only a few, huge files, but if you ignored that then it made a lot of sense. It was written in (then-)modern C++, clearly with a lot of care. It was clearly not written in a stream-of-consciousness manner. There were very few bugs that you could blame on lack of programming skill.

Maxwell’s 2023 post answered with numbers. He was replying to a claim that Satoshi was not an exceptionally experienced developer and that every version he released had many bugs.

gmaxwell (BitcoinTalk post, May 31, 2023, 10:35:31 PM UTC)

Normally in industrial software you expect a defect rate of worse than 1 bug per thousand lines of code and bitcoin had a much higher proportion of tricky parts so I would expect a higher defect rate than typical. Yet the original bitcoin software had an extremely low defect rate— a few bugs in script mostly.

In the same post, Maxwell recalled that reviewers’ comments back in 2011 were mostly along the lines of “issues you expect to be there just aren’t there.” Kaminsky had found the same thing when he tried his nine attacks: the problems he expected were not there.

3 Where the praise stopped

The same people were clear about where their praise ended. Right after describing the elegance of the idea, DeathAndTaxes went on:

DeathAndTaxes

Now Satoshi’s coding (nuts and bolts)? Blech that is another story but nobody complains that Einstein’s notes are hard to read because he had bad handwriting.

Marquardt took points off for how the files were split up. In the New Yorker article that quoted him, Kaminsky called the formatting insane. The complaints about style, along with the flaws developers found, are laid out in “Where Developers Said Satoshi Was Wrong”.

Maxwell was among the developers who defended Satoshi’s code most strongly. In that same year, 2018, on the #bitcoin-core-dev IRC channel, a user asked what Satoshi would think today of a wallet feature. Maxwell asked what it would matter if Satoshi disagreed: “Who cares?” He kept praise for the code apart from using Satoshi’s opinion as grounds for development decisions. That argument is covered in the “Stop Quoting Satoshi” analysis. Praise for the design of Bitcoin itself is collected in “What Developers Praised in Bitcoin”.

Every verdict here came from someone who read the code, attacked it or counted its bugs himself. Kaminsky tried nine attacks, Marquardt handed out a grade, and Maxwell set the defect rate against industrial software. None of them asked readers to take Satoshi’s name as proof. That is why I don’t call this praise a form of Satoshi worship. It is a report on work done by people who read the code.

External sources