TL;DR. We ran 59 open-source C and C++ codebases from 1993 to 2011, written by people who have never been named in any Satoshi theory, through the same 29-feature fingerprint we used for the top 5 suspects. Eight of them land closer to Bitcoin v0.1 than Wei Dai's Crypto++ (1.023): FileZilla Server (0.882) and FileZilla 3 (0.909), both by Tim Kosse, then Shareaza (0.965), OpenHoldem (0.967), Password Safe (0.977), Poedit (0.985), Media Player Classic (1.002) and HydraIRC (1.008). None of these people is accused of anything, and there is no evidence linking any of them to Bitcoin. They are style lookalikes, nothing more. The twist is that the habits that are truly Satoshi's (the
vchprefix, theCRITICAL_BLOCKmacro and his full layout set) show up in none of the 59. Satoshi's own November 2008 code still scores 0.295 against v0.1, so nobody comes close. What these rankings really measure is the era and the platform: Windows C++ from the mid-2000s looks a lot alike. A reader, Christian Evertz, later sent four more 2008 trees that were not in the 59. The closest of them, NSIS 2.39, scores 1.049, just behind Wei Dai, and none of them has the rare habits either.
Read this first. This is a fun experiment with a serious point, not a list of new suspects. Every person and team on this page is named exactly as their project publicly lists them, in file headers, AUTHORS files or repository pages. I didn't look into anybody's private life, and I'm not suggesting that any of them had anything to do with Bitcoin. If one of these projects is yours and you'd rather be described differently, e-mail me and I'll fix it. The code is quoted from public repositories with links and line numbers, so you can check every line yourself.
Why go looking for programmers nobody has named?
When I posted a thread about Satoshi's coding style on X, the replies turned into a census of every Satoshi theory on the internet. I covered that in the 40 suspects from the X thread, and then we went deep on the five closest matches in Who Codes Most Like Satoshi? The Top 5 Suspects Compared. Wei Dai came out on top with a distance of 1.023, followed by Paul Le Roux at 1.328.
That left me with an uncomfortable question. Every name on that list got there because somebody already suspected them. We scored cypherpunks, cryptographers and Bitcoin developers, and Wei Dai won. But what if we had scored a random FTP client instead? Is 1.023 actually special, or is it just what anyone who wrote Windows C++ in 2005 would get?
There's only one way to find out, so I went looking for unusual suspects: programmers who never appeared in a Satoshi theory, whose code was public before 2009, and whose projects look a bit like Bitcoin on the surface. That means Windows desktop apps, peer-to-peer clients, crypto tools, a poker bot and a few wxWidgets apps, since Satoshi built the original Bitcoin interface with wxWidgets. Then I ran them through exactly the same measuring stick.
The result is funnier and more useful than I expected. Eight of them beat Wei Dai, and a couple of them have habits that would make a conspiracy theorist's eyes light up. Then we look closer and the whole thing falls apart, which is the actual point of this article.
How did we go hunting for Satoshi lookalikes?
I wanted the comparison to be fair to the earlier work, so nothing about the method changed. The scoring comes from the coding style study in the Satoshi Archive. It measures 29 features of each codebase in three families:
- Layout: tabs or spaces, brace placement, the space in
if (, where the pointer star sits, line length, whether the return type sits on its own line, and so on. - Naming: Hungarian prefixes like
nValueorfSpent, Windows-style prefixes likedwFlagsorbEnabled,m_member names, snake_case, PascalCase function names. - Comments and idioms:
//versus/* */, how much is commented,goto,#definedensity,printfdebugging,== NULLcomparisons.
Each feature is standardized and the distance is the Euclidean distance across all 29. The scaling is frozen to the original eight full-file corpora, so a new codebase can't move the old numbers. Lower means closer. Before scoring anything new I re-ran the scripts on Satoshi's v0.1 source and got every number back exactly, along with Wei Dai's 1.023 and its sub-scores (layout 1.124, naming 1.067, comments 0.775). Same ruler, same zero point.
The calibration point matters more than anything else in this article: Satoshi's November 2008 pre-release code scores 0.295 against his own v0.1 from January 2009. That's what "same author, two months apart" looks like. Hold on to that number.
There's also a checklist of 24 concrete Satoshi habits, like spaces instead of tabs, four-column indents, opening braces on their own line, never writing } else { on one line, Satoshi-style prefixes on more than a fifth of declared names, fFoo rather than bFoo for booleans, and C-prefixed class names like CNode. The habit count tells you how many of those a codebase shares.
Where did the code come from?
I pulled the code from places where 2000s software still survives:
- Debian's snapshot archive, which keeps the original source tarballs of old package versions. That's where FileZilla 3.1.6, Poedit 1.4.1, PuTTY, Transmission and dozens of others came from.
- SourceForge's Subversion and git servers, which still serve the full history of projects like Shareaza, Media Player Classic, WinMerge, Eraser, TortoiseSVN, Notepad++ and Password Safe. I pinned each one to a release tag or a pre-2009 revision.
- GitHub copies of older projects, pinned to the last commit before 2009 where the history allows it: FileZilla Server, HydraIRC, RetroShare, Gnucleus, OpenHoldem and a few others.
Before scoring, I stripped out code the project authors didn't write themselves. Lots of 2000s projects bundled zlib, libjpeg, OpenSSL, the Scintilla editor component or bits of Crypto++, and leaving those in would measure the wrong person. I also removed the Microsoft Visual C++ wizard files (StdAfx and resource.h), which are boilerplate that every MFC project shares. Then I checked every author name against everything we've published about Satoshi, so nobody already named anywhere in our articles made the cut. That's why there's no Strigeus, no Gutmann, no Eric Young and no TrueCrypt (which descends from Paul Le Roux's E4M). Peter Wayner is also excluded, because he's getting his own write-up.
The final count is 59 codebases and roughly 3.7 million lines of code, mostly written between 2002 and 2008.
Who are the top 10 unusual suspects?
Here's the leaderboard. Remember that lower is closer, Wei Dai scored 1.023 and Satoshi scores 0.295 against himself. The last column shows how much each score moves when I re-pick which of the project's files go into the sample, ten times over. It's a rough error bar.
| Rank | Project | Author as listed | Years | Lines of code | Distance | Layout / naming / comments | Habits | Score range |
|---|---|---|---|---|---|---|---|---|
| 1 | FileZilla Server (Nov 2008) | Tim Kosse | 2002-2008 | 45,667 | 0.882 | 0.832 / 0.799 / 1.026 | 11 of 24 | 0.850 to 0.976 |
| 2 | FileZilla 3.1.6 | Tim Kosse | 2004-2008 | 94,178 | 0.909 | 0.835 / 1.004 / 0.923 | 9 of 23 | 0.898 to 0.971 |
| 3 | Shareaza 2.3.1 | Shareaza Development Team | 2002-2008 | 176,829 | 0.965 | 0.810 / 0.696 / 1.350 | 15 of 24 | 0.939 to 1.015 |
| 4 | OpenHoldem (Jan 2009 import) | "ray bornert" and "TheHighFish" in file headers | 2008-2009 | 43,480 | 0.967 | 0.992 / 1.051 / 0.829 | 14 of 24 | 0.878 to 1.056 |
| 5 | Password Safe 3.x (Dec 2008) | Rony Shapiro | 2003-2008 | 56,464 | 0.977 | 0.871 / 1.024 / 1.086 | 9 of 24 | 0.924 to 1.075 |
| 6 | Poedit 1.4.1 | Vaclav Slavik | 1999-2008 | 9,669 | 0.985 | 0.479 / 1.046 / 1.432 | 15 of 23 | 0.840 to 1.486 |
| 7 | Media Player Classic (2006) | Gabest | 2003-2006 | 39,262 | 1.002 | 1.140 / 0.678 / 1.034 | 17 of 24 | 0.965 to 1.021 |
| 8 | HydraIRC (Dec 2008) | Dominic Clifton aka Hydra | 2002-2008 | 59,641 | 1.008 | 0.786 / 1.167 / 1.149 | 10 of 24 | 0.931 to 1.105 |
| ref | Crypto++ 5.5.2 (top 5 article) | Wei Dai | 2007 | 41,619 | 1.023 | 1.124 / 1.067 / 0.775 | 15 of 23 | not re-run |
| 9 | Gnucleus 2.2 | John Marshall Group (ChangeLog handle "swabby") | 2000-2005 | 22,324 | 1.054 | 1.036 / 1.055 / 1.081 | 14 of 24 | 1.021 to 1.088 |
| 10 | Mutella 0.4.5 | Max Zaitsev | 2001-2004 | 29,558 | 1.054 | 0.722 / 0.737 / 1.623 | 13 of 24 | 0.901 to 1.423 |
Just outside the top ten you'll find 7-Zip's sources by Igor Pavlov (1.075), GNU Backgammon (1.078), an UltraVNC fork called WinHippoVNC (1.093), Eraser (1.101) and WinMerge (1.136). Paul Le Roux's E4M, at 1.328, would rank 23rd among the unusual suspects. The median of all 59 is 1.518.
So yes, the headline is real. A password manager, two FTP programs, a file-sharing client, a poker bot, a translation editor, a media player and an IRC client all sit closer to Satoshi's style than Crypto++ does. Now let's meet them, and then let's see what gives each of them away.
Why does Tim Kosse show up twice?
Tim Kosse is listed as the project leader of FileZilla, the FTP client that half the internet used in the 2000s, and the file headers of FileZilla Server carry his name from 2002 to 2004. He's the only person in the whole hunt with two separate codebases closer than Wei Dai. One is FileZilla Server, a Windows program built on Microsoft's MFC library, which takes the top spot overall at 0.882. The other is FileZilla 3.1.6, a cross-platform rewrite built on wxWidgets, the same toolkit Satoshi used for Bitcoin's interface, which scores 0.909.
On paper that's the most consistent signal in the experiment. Two different projects, two different toolkits, one author, and both beat Wei Dai. The wxWidgets one even leans British in its comments, with 52 British spellings (initialise, colour, recognise, defence, behaviour) against 26 American ones. If you wanted to build a fun theory, this is where you'd start.
Here's Satoshi doing a classic job in Bitcoin v0.1: lock a shared list, search it and return what you find (net.cpp, lines 277 to 286).
CNode* FindNode(unsigned int ip)
{
CRITICAL_BLOCK(cs_vNodes)
{
foreach(CNode* pnode, vNodes)
if (pnode->addr.ip == ip)
return (pnode);
}
return NULL;
}
And here's FileZilla Server doing the same job, locking a critical section and looking something up in a map (ServerThread.cpp, lines 626 to 635).
int CServerThread::GetIpCount(const CStdString &ip) const
{
int count=0;
EnterCritSection(m_GlobalThreadsync);
std::map<CStdString, int>::iterator iter=m_userIPs.find(ip);
if (iter!=m_userIPs.end())
count=iter->second;
LeaveCritSection(m_GlobalThreadsync);
return count;
}
You can see why the numbers like it. The class name starts with C, the method names are PascalCase, the braces sit on their own lines, there's a space after if, the standard library map does the work and a critical section guards it. In the big picture this is the same dialect.
What gives FileZilla away?
Look closer and the accent is all wrong:
- Tabs. FileZilla Server indents with tabs 92% of the time. Satoshi never uses a tab, not once in v0.1.
- Booleans. FileZilla Server writes
bFoo(133 times against 2 forfFoo). Satoshi writesfFooevery time (139 to 0). - Spacing around operators.
count=0anditer!=m_userIPs.end()are squeezed together. Satoshi always writescount = 0. - Members and references. FileZilla uses
m_member names and puts the&next to the variable (const CStdString &ip). Satoshi has nom_prefixes and writesconst CAddress& addr. - Locking style. FileZilla calls Enter and Leave by hand. Satoshi wraps every lock in his own
CRITICAL_BLOCKmacro. - The prose clues split. FileZilla Server's comments are American (2 British spellings to 40 American), though 59% of its sentences end with a double space, which is something Satoshi did almost every time. FileZilla 3 flips it: British spelling, but only 2% double spaces. It also cuddles
} else {five times per thousand lines and uses snake_case for more than a fifth of its names, two things Satoshi avoids completely.
The fair conclusion is that Tim Kosse writes clean, conventional Windows C++, and clean, conventional Windows C++ is what Satoshi wrote too. Nothing more.
Is Shareaza the closest match on naming?
Shareaza is a Windows file-sharing client that spoke Gnutella, Gnutella2, eDonkey and BitTorrent, and its source files credit the "Shareaza Development Team" from 2002 onward. A peer-to-peer network client, written in C++ for Windows, by a team that thought hard about nodes, hashes and message passing? On the surface that's the most Bitcoin-like project on the list.
On naming it's the closest of all 59 (0.696), and the reason is Hungarian notation. Satoshi names integers nSomething, strings strSomething and C strings pszSomething. Shareaza does the same thing at almost the same rate: 121.8 n tokens per thousand lines against Satoshi's 151.4, 54.1 str tokens against 38.4, and 22.0 psz tokens against 12.5. It attaches the pointer star to the type 97% of the time (Satoshi 97%) and puts opening braces on their own line 99.9% of the time (Satoshi 99.9%).
Here's a Shareaza function that searches a list, a close cousin of Satoshi's FindNode above (AlbumFolder.cpp, lines 121 to 130).
CAlbumFolder* CAlbumFolder::GetFolder(LPCTSTR pszName) const
{
for ( POSITION pos = GetFolderIterator() ; pos ; )
{
CAlbumFolder* pCheck = GetNextFolder( pos );
if ( pCheck->m_sName.CompareNoCase( pszName ) == 0 ) return pCheck;
}
return NULL;
}
CAlbumFolder* pCheck is the same shape as Satoshi's CNode* pnode, pszName could have come straight out of util.cpp, and the one-line if that returns early is a Satoshi favorite.
What gives Shareaza away?
- Padded parentheses.
GetNextFolder( pos )andfor ( POSITION pos = ... ; pos ; )put spaces inside the brackets. Satoshi never does that. - Tabs again, in 94% of indented lines.
- `BOOL bFoo` everywhere, 1,839 times against 12 for
fFoo. That's the most Windows-flavored boolean count in the hunt. - It's a team. Shareaza had many contributors over the years, so whatever it measures is a house style, not a person's handwriting.
- The British spelling is a mirage. Shareaza scores 251 British spellings against 105 American, which sounds juicy until you notice that 227 of them are "neighbour" and "neighbours", the name of a protocol concept and a class (
CNeighbour). Take those out and the comments are roughly balanced. Double spacing is only 8%.
One fun detail does deserve a mention. Shareaza uses Microsoft's MFC class CCriticalSection all over the place. Satoshi didn't use MFC, but he wrote his own class and gave it exactly the same name, CCriticalSection. That fits a programmer who learned Windows C++ the MFC way. It also fits a huge number of programmers from that era.
Why is a poker bot on the list?
This is where it gets fun. On our own podcast, a guest remembered that inside Satoshi's early code "was a half-finished poker client." The pre-release version of Bitcoin reportedly included a poker table and a marketplace that never shipped in v0.1. So when a Windows poker program from 2008 lands fourth, people are going to notice.
OpenHoldem is an open-source poker bot platform for Windows, built on MFC. The GitHub copy I scored was imported in January 2009 from the project's earlier Google Code tree, and its file headers mention "ray bornert" and "TheHighFish". It scores 0.967, with a strong comments sub-score (0.829) and 14 of 24 habits.
The bit that'll make people sit up is its locking code. Satoshi wrote a small Windows wrapper class around a critical section, plus a second class that locks it when created and unlocks it when it goes out of scope (util.h, lines 99 to 123).
class CCriticalSection
{
protected:
CRITICAL_SECTION cs;
public:
char* pszFile;
int nLine;
explicit CCriticalSection() { InitializeCriticalSection(&cs); }
~CCriticalSection() { DeleteCriticalSection(&cs); }
void Enter() { EnterCriticalSection(&cs); }
void Leave() { LeaveCriticalSection(&cs); }
bool TryEnter() { return TryEnterCriticalSection(&cs); }
CRITICAL_SECTION* operator&() { return &cs; }
};
// Automatically leave critical section when leaving block, needed for exception safety
class CCriticalBlock
{
protected:
CRITICAL_SECTION* pcs;
public:
CCriticalBlock(CRITICAL_SECTION& csIn) { pcs = &csIn; EnterCriticalSection(pcs); }
CCriticalBlock(CCriticalSection& csIn) { pcs = &csIn; EnterCriticalSection(pcs); }
~CCriticalBlock() { LeaveCriticalSection(pcs); }
};
OpenHoldem has the same pair: a wrapper class and a scoped lock (CCritSec.h, lines 4 to 37).
class CCritSec
{
public:
CCritSec()
{ ::InitializeCriticalSectionAndSpinCount(&m_rep, 4000); }
~CCritSec()
{ ::DeleteCriticalSection(&m_rep); }
void Enter()
{ ::EnterCriticalSection(&m_rep); }
void Leave()
{ ::LeaveCriticalSection(&m_rep); }
private:
// copy ops are private to prevent copying
CCritSec(const CCritSec&);
CCritSec& operator=(const CCritSec&);
CRITICAL_SECTION m_rep;
};
class CSLock
{
public:
CSLock(CCritSec& a_section)
: m_section(a_section) { m_section.Enter(); }
~CSLock()
{ m_section.Leave(); }
Poker, Windows, 2008, and a twin lock wrapper. I can already hear the YouTube thumbnails.
What gives OpenHoldem away?
- The lock wrapper is a textbook pattern. This "wrap the critical section in a class, lock it in a constructor" idea is in countless Windows codebases and programming books of the time. Satoshi's version also adds a macro (
CRITICAL_BLOCK) that turns it into a block statement. OpenHoldem doesn't have anything like that, and neither does anybody else in the hunt. This particular header carries no author line, either. - The poker overlap is about topic, not style. Satoshi's poker code wasn't in v0.1, so there's no poker code of his to compare with. Writing a poker program in 2008 wasn't exactly rare.
- The surface habits don't match. OpenHoldem indents with tabs 96% of the time, uses
m_members andbFoobooleans (47 to 0), and uses Satoshi-style prefixes on only 3.7% of its names, against Satoshi's 52.6%. - It's sensitive to cleanup. With the bundled Scintilla editor code left in, OpenHoldem scored 1.172. Removing it moved the score by two tenths, more than any other project moved. The original number was mostly measuring someone else's code.
- American comments. 5 British spellings against 20 American, though 56% double spacing.
- It's a team project too, and the early history is murky. Treat it as a curiosity.
Does Password Safe's crypto pedigree mean anything?
Password Safe is an encrypted password manager for Windows. Its README credits the original design to cryptographer Bruce Schneier and the earliest versions to Mark Rosen, and the 2003 to 2008 source files carry Rony Shapiro's name as the copyright holder. A crypto tool with Twofish encryption and SHA-256, written in Windows C++ and maintained through 2008, is about as on-theme as this hunt gets. It scores 0.977.
Schneier's name will make some people's ears prick up, so let's be precise. According to the project's own README, the original design was his, but the 2008 code I measured is the open-source project that Rony Shapiro and many contributors maintained for years. Nothing in this score says anything about any one person, and certainly nothing about Bitcoin.
What gives Password Safe away?
- It barely uses Satoshi's brace style. Only 39% of its opening braces sit on their own line, against Satoshi's 99.9%, and it cuddles
} else {more than ten times per thousand lines. Satoshi does it zero times. - Two-space indents, `goto` and lots of macros. Satoshi used four spaces, never wrote a single
gotoin v0.1 and kept#defineto under three per thousand lines. Password Safe has 22. - `bFoo` again, 282 times against 4.
- Mixed comments. 35 British spellings against 38 American, and 22% double spacing.
Password Safe makes the top five because it's ordinary in exactly the ways Satoshi was ordinary: PascalCase functions, C-prefixed classes, line comments, the Windows API. It loses on almost every habit that's actually distinctive.
Which unusual suspects nearly made the top 5?
The next five are just as entertaining, and each has one trait that sounds like a smoking gun.
Is Poedit Satoshi's layout twin?
Poedit is a translation editor built on wxWidgets, and its AUTHORS file lists Vaclav Slavik as maintainer. Its layout sub-score is 0.479, the best of all 59 by a mile. It indents with spaces, four columns wide, puts braces on their own lines 99% of the time and writes if ( with a space 99% of the time. Satoshi's style in all of those. It's also extremely wxWidgets-heavy, just like Bitcoin's user interface.
Here's Satoshi branching inside a lock (net.cpp, lines 136 to 153).
bool AddAddress(CAddrDB& addrdb, const CAddress& addr)
{
if (!addr.IsRoutable())
return false;
if (addr.ip == addrLocalHost.ip)
return false;
CRITICAL_BLOCK(cs_mapAddresses)
{
map<vector<unsigned char>, CAddress>::iterator it = mapAddresses.find(addr.GetKey());
if (it == mapAddresses.end())
{
// New address
mapAddresses.insert(make_pair(addr.GetKey(), addr));
addrdb.WriteAddress(addr);
return true;
}
else
{
And here's Poedit (catalog.cpp, lines 437 to 451).
void Catalog::HeaderData::SetHeader(const wxString& key, const wxString& value)
{
Entry *e = (Entry*) Find(key);
if (e)
{
e->Value = value;
}
else
{
Entry en;
en.Key = key;
en.Value = value;
m_entries.push_back(en);
}
}
Visually these two are siblings. Then you read the names. Poedit has no Hungarian notation at all: Satoshi-style prefixes on 0.6% of names against Satoshi's 52.6%. There are no C-prefixed classes either, and it writes Entry *e with the star on the name. Its comments almost never double-space (1%). It's also a small sample, so its score swings from 0.840 to 1.486 depending on which files you draw. Poedit shows that Satoshi's layout is common. His naming is what's unusual.
Does Gabest share Satoshi's rarest habit?
Media Player Classic was the lightweight Windows video player a lot of us ran in the 2000s, and its source headers say "Copyright (C) 2003-2006 Gabest". It scores 1.002, a hair behind the others, but it matches more of Satoshi's habits than any other codebase in the hunt: 17 of 24. Wei Dai matches 15 of 23.
What makes it stand out is booleans. Most Windows programmers of that era named their flags bEnabled and bFound. Satoshi used the older convention from Microsoft's original "Apps Hungarian" style and wrote fInsertedNew, fUpdated and fClient. Only four of the 59 codebases prefer f, and Gabest's player is by far the biggest case, with 249 bool fX declarations against 61 bool bX. It also puts a C in front of 90% of its class names (Satoshi 85%).
Here's Satoshi (main.cpp, lines 92 to 102).
bool AddToWallet(const CWalletTx& wtxIn)
{
uint256 hash = wtxIn.GetHash();
CRITICAL_BLOCK(cs_mapWallet)
{
// Inserts only if not already there, returns tx inserted or tx found
pair<map<uint256, CWalletTx>::iterator, bool> ret = mapWallet.insert(make_pair(hash, wtxIn));
CWalletTx& wtx = (*ret.first).second;
bool fInsertedNew = ret.second;
if (fInsertedNew)
wtx.nTimeReceived = GetAdjustedTime();
And here's Gabest (PlayerSubresyncBar.cpp, lines 480 to 500, revision 610).
bool CPlayerSubresyncBar::ModStart(int iItem, int t, bool fReset)
{
bool fRet = false;
bool fStartMod, fEndMod, fStartAdj, fEndAdj;
GetCheck(iItem, fStartMod, fEndMod, fStartAdj, fEndAdj);
SubTime& st = m_subtimes[iItem];
// if(fStartMod || fStartAdj || st.orgstart != t || fReset)
{
fRet = (st.newstart != t);
st.newstart = t;
if(!fEndMod) st.newend = st.newstart + (st.orgend - st.orgstart);
else if(fReset) st.newstart = st.newend - (st.orgend - st.orgstart);
SetCheck(iItem, !fReset, fEndMod);
}
return(fRet);
}
fRet, fStartMod, fEndMod, fReset: that's the closest anyone in the hunt comes to Satoshi's flag naming. SubTime& st keeps the ampersand on the type, the way Satoshi does.
What gives it away is if( without a space. Gabest writes it that way in more than 99% of his if statements, while Satoshi writes if ( in every single one. That's not a small thing. It's one of the most automatic habits a programmer has. Add tabs, return(fRet) with brackets and m_ members, and the resemblance stops at the variable names. The comment sample is tiny too (9 British spellings, no American ones and no double spaces in 22 sentence breaks), and the code dates from 2003 to 2006.
What about HydraIRC, Gnucleus and Mutella?
HydraIRC is a Windows IRC client, and its headers read "Copyright (C) 2002-2006 Dominic Clifton aka Hydra". Satoshi used IRC to bootstrap Bitcoin's peer discovery, so an IRC client in the top ten is a cute coincidence. It scores 1.008 on the back of strong layout (0.786). Then it gives itself away with two-space indents, m_ members on 13% of names and bFoo booleans (342 to 0). Its comments mix British and American spellings (24 to 45) and double-space 46% of the time.
Gnucleus was a Windows Gnutella client. Its headers credit the "John Marshall Group", its ChangeLog entries are signed "swabby", and the GitHub copy lives under the handle "swax". It scores 1.054 and shares 14 habits, but it uses tabs and writes if( without a space more often than not.
Mutella is a Linux Gnutella client by Max Zaitsev, also at 1.054. Here's the thing, though: Mutella's own AUTHORS file says its initial version was based on Gnucleus. So these two aren't independent finds. They're one family tree measured twice, which neatly shows how styles get inherited.
So what are the habits nobody else has?
Now the twist. If you only looked at the leaderboard, you'd think Satoshi's style is shared by a dozen ordinary Windows programmers. Look at the habits that are actually distinctive, though, and he's alone.
| Satoshi habit | Satoshi v0.1 | How many of the 59 have it |
|---|---|---|
vch prefix for byte vectors (vchPubKey, vchSig) | 17.4 per 1,000 lines | none |
A CRITICAL_BLOCK style lock macro | 7.2 per 1,000 lines | none |
Custom foreach and loop macros | 9.9 per 1,000 lines | none of his kind (two Qt apps use Qt's own foreach) |
Spaces only, 4-column indent, own-line braces, if (, star on the type and C-prefixed classes, all at once | all six | none |
fFoo booleans at scale, with no bFoo at all | 139 to 0 | none (Crafty and Transmission have 14 and 18 f flags in C; the two big f users also use b) |
printf debug logging | 22.9 per 1,000 lines | none of the top ten above 7 |
Crypto++ doesn't have the vch prefix or the lock macro either, which is part of why Wei Dai also stops at 1.023.
This is the real finding. The overall distance rewards a broad family resemblance: Allman braces, PascalCase methods, C-prefixed classes, line comments and the Windows API. Lots of mid-2000s Windows C++ looks like that, because that's how Microsoft's tools, books and sample code taught people to write. Our closeness ranking is partly a measure of era and platform, not of a person. Wei Dai lands at 1.023 because Crypto++ is clean C++ from that world. So does an FTP server.
What makes Satoshi Satoshi is a combination: spaces with Allman braces, if ( with a space, Hungarian prefixes like vch, psz, n and f, no m_, and home-made macros like CRITICAL_BLOCK, foreach and loop that turn C++ into something that reads almost like a scripting language. Nobody in 59 codebases puts that combination together. It's also why our earlier conclusion still stands. The top 5 deep dive found that even the closest named suspects write in a visibly different dialect, and this hunt says the same about the closest unnamed ones.
Does the spelling or spacing point anywhere?
Satoshi's prose is famous for a mix of British spellings ("optimise", "colour", "favour") and two spaces after almost every period. I ran the same checks on the comments of the top ten, skipping license boilerplate.
| Project | British vs American spellings | Double spaces after a period |
|---|---|---|
| Satoshi v0.1 (comments) | 4 vs 13 | 88% |
| FileZilla Server | 2 vs 40 | 59% |
| FileZilla 3.1.6 | 52 vs 26 | 2% |
| Shareaza | 251 vs 105 (mostly "neighbour") | 8% |
| OpenHoldem | 5 vs 20 | 56% |
| Password Safe | 35 vs 38 | 22% |
| Poedit | 4 vs 3 | 1% |
| Media Player Classic | 9 vs 0 | 0% |
| HydraIRC | 24 vs 45 | 46% |
| Gnucleus | 0 vs 3 | 51% |
| Mutella | 13 vs 16 | 59% |
Two cautions. First, Satoshi's own code comments are a tiny sample, and 9 of his 13 "American" hits are the word serialize, which is the name of a function, not a spelling choice. His forum posts and e-mails are the better place to study his spelling, and we did that in the X-thread suspects article. Second, comments are full of API names like Initialize and Color, which pull everything toward American.
With that said, none of the ten pairs British-leaning spelling with Satoshi-level double spacing. The closest anyone gets is just outside the top ten: GNU Backgammon (104 British to 55 American, 65% double spaces) and the WinHippoVNC fork of UltraVNC (131 to 84, 48%). GNU Backgammon is written by a long list of authors in C, and the VNC fork inherits a lot of its code from AT&T's original VNC, which came out of a lab in Cambridge, England. Neither is a lead, just a reminder that British spelling and double spaces were common.
How sure can we be about any of this?
Not very, and I'd rather say that loudly than bury it. Here are the limits:
- Sample bias. These 59 projects are the ones that survived in public archives. The code that would make the most interesting comparison (closed-source poker sites, e-gold era payment systems, fintech, game studios) isn't there. SourceForge's file downloads were blocked from my machine, as were parts of the Internet Archive and Software Heritage, so I used the Debian archive, SourceForge's code servers and GitHub copies instead.
- Teams and inheritance. Shareaza, OpenHoldem and Password Safe are team projects, so they measure a house style. Mutella descends from Gnucleus, the DC++ forks in the sample share one core, and the VNC fork inherits AT&T code.
- Microsoft wizard boilerplate isn't the culprit. I tested this directly. Stripping the Visual C++ wizard comments and message-map macros from 12 Windows projects changed their scores by between minus 0.031 and plus 0.003, mostly making them slightly closer. The resemblance comes from the shared Windows idiom, not from code Visual C++ generated.
- Cleanup sensitivity. OpenHoldem moved by 0.2 when the bundled editor code came out. Most projects moved by less than 0.04, but leftover third-party code may still sit in the biggest trees.
- Era drift. A few of the 59 are later than ideal, like eMule 0.50a (2010), Open-Transactions (2011) and a 2019 snapshot of the MIRACL library. They're flagged in the data and none is in the top ten.
- Noise. The score ranges in the top ten table overlap each other and overlap Wei Dai's 1.023, so "closer than Wei Dai" is mostly within noise. Small projects like Poedit swing the most. I couldn't run the same file-resampling test on Crypto++, because that corpus isn't on the machine I used.
- What the metric can't see. It measures 29 global features of whole projects. It can't see logic, algorithms or the way someone solves a problem, which is where a real fingerprint would live.
So who is Satoshi, then?
Still nobody we can name, and this experiment makes me more comfortable saying that. When a password manager, an FTP server and a media player all score as close to Satoshi as the world's most famous cypherpunk coder, the closeness number alone can't carry an accusation. What it can do is tell you what kind of programmer Satoshi was: someone fluent in Windows C++ of the early to mid-2000s, probably trained on Microsoft's tools and conventions, with a few deeply personal quirks layered on top.
Those quirks are the fingerprint: vch and psz and fFoo, CRITICAL_BLOCK and foreach and loop, spaces and Allman braces and if ( all together, no m_, and printf debugging everywhere. None of the 59 codebases has that set, none of the top 5 named suspects has it, and none of the 40 names from the X thread that we could test has it either. If you know of a pre-2009 codebase that does, by anybody, send it my way. I'll run it through the same ruler and publish the result, whatever it says.
And to Tim Kosse, the Shareaza team, the OpenHoldem folks, Rony Shapiro, Vaclav Slavik, Gabest, Hydra, swabby and Max Zaitsev: thank you for writing code good enough to look like Bitcoin's. You're the unusual suspects in the nicest possible sense.
The full methodology and the original 29-feature study are in the coding style study. The scores for all 59 codebases, with links, years and sub-scores, are in the sources file published with this article.
What did a reader's own search turn up?
Someone already took me up on that invitation. Reader Christian Evertz wrote after this article went up, saying he had looked for public C and C++ trees written before January 3, 2009 that share several of Satoshi's habits and were not already in the 59, or in our earlier suspect tables. He was careful about the limits of his own method. The figures he sent were rough greps of indentation, if spacing, Hungarian prefixes and the distinctive macros, and he said they should not be read as our 29-feature distance.
I downloaded the four archives he named, checked that the versions and release dates were genuine, and reran his counts. They hold up, many of them to the line. In the pgadmin tree of pgAdmin III 1.8.4, released June 5, 2008, I get exactly his 345 files and 94,195 lines, with Allman braces at 98.2 percent and if ( at 97.1 percent. FlameRobin 0.9.0, released September 23, 2008, is exactly 187 files and 45,237 lines once the bundled IBPP library is left out. KeePass 1.14, released October 18, 2008, I scored from the same GitHub tag he used after the official SourceForge download was blocked; the tree identifies itself as 1.14, and his 1,016 psz hits reproduce exactly. I get 170 first-party files and 56,383 lines against his 168 and 55,963, close enough to trust the rest. NSIS 2.39, tagged August 16, 2008, is the one count I could not reproduce exactly: the 39 psz hits and the mixed Allman rate match the Source directory, while the 26 gotos only appear if you also count Contrib. The tree itself is real.
Then I ran each one through the same 29-feature ruler, with bundled third-party code taken out, the way I scored the 59.
| Project | Released | Distance | Resample range | Rank (of 60) |
|---|---|---|---|---|
| NSIS 2.39 | August 16, 2008 | 1.049 | 0.993 to 1.195 | 9th |
| pgAdmin III 1.8.4 | June 5, 2008 | 1.378 | 1.045 to 1.553 | 25th |
| FlameRobin 0.9.0 | September 23, 2008 | 1.812 | 1.564 to 1.883 | 43rd |
| KeePass 1.14 | October 18, 2008 | 1.872 | 1.768 to 2.107 | 45th |
For calibration, Satoshi's own November 2008 code still scores 0.295, FileZilla Server is 0.882, Wei Dai's Crypto++ is 1.023 and Paul Le Roux's E4M is 1.328. Each rank is among the original 59 plus that one tree, not among all four at once. NSIS, scored from Source with the bundled 7-Zip, zlib, bzip2 and Boost files removed, is the only one that lands in interesting territory: just behind Wei Dai and ahead of Le Roux. Other first-party scopes I tried, including the tree with Contrib, sit between 0.953 and 1.049. pgAdmin sits around Le Roux. FlameRobin and KeePass land near the bottom of the list.
What Christian spotted is real, and it is also common. pgAdmin and FlameRobin are wxWidgets admin tools with four-space indents, Allman braces and a space after if, and pgAdmin's comments even lean British, with 385 British spellings against 44 American. A lot of mid-2000s Windows and wxWidgets C++ looks like that. None of the four has Satoshi's fingerprint: no vch prefix, no fFoo booleans, no CRITICAL_BLOCK, IMPLEMENT_SERIALIZE or CDataStream, and no #include "headers.h". pgAdmin's Satoshi-style prefixes sit at 0.9 percent against his 52.6, and it has no C-prefixed classes. KeePass is mostly tabs, bFoo and Windows Hungarian. NSIS mixes two- and four-space indents, uses bFoo rather than fFoo, and has gotos. All four were written by known open-source teams: the pgAdmin team around Dave Page, the FlameRobin team around Milan Babuskov, Nullsoft and Amir Szekely for NSIS, and Dominik Reichl for KeePass. None of them is a new suspect.
Christian also searched grep.app for those distinctive macros and said he found no independent pre-2009 codebase, only Bitcoin and its descendants. I couldn't rerun that search from this machine, and grep.app indexes current GitHub repositories, not historical trees, so it can't tell you what existed in 2008. The claim does match everything we already have. Those macros appear in Bitcoin v0.1 and in none of the 59, none of the earlier suspect corpora, and none of these four.
So his work is a useful confirmation that came back empty. The finding in this article still stands: the layout habits are widely shared, and the naming and macro habits are not. Thank you, Christian, for doing the search and sending the links. The four trees are now in the sources file published with this article. If you have another pre-2009 codebase that looks closer, send it the same way.
FAQ
Who codes most like Satoshi Nakamoto among programmers never linked to Bitcoin?
In our test of 59 pre-2009 C and C++ codebases, FileZilla Server by Tim Kosse came closest at a distance of 0.882, followed by his FileZilla 3 (0.909), Shareaza (0.965), OpenHoldem (0.967) and Password Safe (0.977). None of these people or teams is accused of anything, and there is no evidence linking them to Bitcoin.
Does anyone's code score closer to Satoshi than Wei Dai?
Yes. Eight of the 59 codebases score below Wei Dai's 1.023. But their score ranges overlap his, and Satoshi's own November 2008 code scores 0.295 against v0.1, so nobody comes close to looking like the same author.
Is Tim Kosse Satoshi Nakamoto?
There's no evidence of that, and this article doesn't suggest it. His two FileZilla codebases share Satoshi's broad Windows C++ style, but FileZilla Server uses tabs, bFoo booleans and m_ members, and neither project has Satoshi's personal habits like the vch prefix or the CRITICAL_BLOCK macro.
Why is a poker bot on a list of Satoshi lookalikes?
OpenHoldem, a 2008 Windows poker bot, scores 0.967 and has a lock wrapper similar to Satoshi's. Satoshi's early code reportedly included an unfinished poker client. But the lock wrapper is a textbook Windows pattern and poker programs were common, so it's a coincidence of topic, not evidence.
What habits are unique to Satoshi's code?
The vch prefix for byte vectors, his CRITICAL_BLOCK, foreach and loop macros, fFoo booleans with no bFoo at all, heavy printf logging, and the combination of spaces, four-column indents, own-line braces, if ( with a space, the pointer star on the type and C-prefixed classes. None of the 59 codebases has these, and neither do the four trees a reader sent later.
What does a distance score mean in this study?
It's a standardized Euclidean distance across 29 measured features of layout, naming and comments, scaled to the original eight full-file corpora from our coding style study. Lower means more similar. For calibration, Satoshi's own pre-release code scores 0.295 against his v0.1.
Does Visual C++ boilerplate make Windows code look like Satoshi's?
Not much. We removed the wizard files and stripped wizard comments and message maps from 12 Windows projects, and scores changed by at most 0.031, usually toward Satoshi. The resemblance comes from the general Windows C++ conventions of the era.
Why weren't Paul Le Roux, Hal Finney or Peter Wayner included?
This hunt only covered people who haven't been named in our Satoshi research. Le Roux, Finney, Wei Dai, Sassaman and Back are covered in the top 5 article, and Peter Wayner is getting a separate analysis.
Did a reader find any code closer to Satoshi's?
Reader Christian Evertz sent four pre-2009 C++ trees that were not in our 59. His own counts reproduced, and our distance put them at 1.049 (NSIS), 1.378 (pgAdmin III), 1.812 (FlameRobin) and 1.872 (KeePass). None of them has Satoshi's rare habits, and none is a new suspect.
Can I suggest a codebase to test?
Yes. Reader Christian Evertz already did, and I scored his four trees in the section above. If you know of other public C or C++ code written before 2009 that uses Satoshi's habits, send it to me on X or by e-mail and I'll score it the same way.

