# Satoshi Nakamoto's C++ coding style compared with the code of the usual suspects *Generated 2026-10-20 on the analysis box; extended the same evening (second pass: Andresen, Todd, Zooko, Szabo, Grigg, Trammell; see §1b, §3b, §5.7–5.12). Third pass the same evening: Bitcoin Core contributors scored only on code outside Bitcoin Core (see §1c, §3c, §5.13 and the merged ranking in §6). Fourth pass 2026-10-21: Dan Kaminsky (§1d, §3d, §5.14). Fifth pass 2026-10-21: Daira Hopwood (§1e, §3e, §5.15). Sixth pass 2026-11-26 (Europe/Bucharest, EET, UTC+2): a cited census of everyone publicly proposed as Satoshi, a Crypto Kong retry on mirrors other than web.archive.org, and an all-suspect merged ranking (§9). Every earlier distance and habit count is unchanged; the locked 29-feature standardisation (original eight full-file corpora) was re-checked on 26 November 2026 (`satoshi_nov2008` 0.295, `weidai_cryptopp_5.5.2` 1.023, `poelstra_ramseyscript_2011_2013` 2.747). All code, numbers and excerpts below come from files downloaded into `/workspace/satoshi-code/`. The scripts are `style_metrics.py`, `extra_metrics.py`, `similarity.py` and `blame_sassaman.py`. The raw numbers are in `metrics.csv`, `metrics_table.txt`, `extra_metrics.txt` and `similarity_out.txt`. The publication package, including methodology, podcast quotes and the 26 November 2026 binary-trait study (`publication/binary_analysis.md`), is in `publication/`. A seventh pass the same evening unpacked `KongSetup.exe` and compared recoverable PE traits (no 29-feature distance from a binary; see §10).* > **Scope:** This report looks only at how the code is written: layout, naming, idioms, macros and library habits. It does not look at English prose style, timestamps, coin movements or anything else. --- ## 1. Corpora used | Corpus id | What | Source (URL / version / commit) | Files / lines analysed | Language | |---|---|---|---|---| | `satoshi_v0.1.0` | **Bitcoin v0.1.0** (Jan 9, 2009), Satoshi's own source files | https://github.com/jhuboo/satoshi/tree/main/bitcoin_v0.1.0 (repo commit `6ac25d1edb50f548fdbd76757185d7c50cba1415`; the README gives bitcointalk topic 68121 as the source). **Excluded:** `sha.cpp`/`sha.h` (Wei Dai's Crypto++ code; the header says so) and `uibase.cpp`/`uibase.h` (generated by wxFormBuilder) | 22 files, 16,563 lines | C++ | | `satoshi_nov2008` | **Pre-release Bitcoin, Nov 2008.** This is the code Satoshi sent privately to Ray Dillinger, Hal Finney, James A. Donald and others. Dillinger, posting as "Cryddit", put it on bitcointalk on **Dec 23, 2013**. In 2020 CoinDesk covered the related Satoshi emails. | Original posting: https://bitcointalk.org/index.php?topic=382374.0. Files used: https://github.com/XertroV/bitcoin_src1 (commit `ad627bb214660e664c6e61f3fd2e8e0fbe955605`). The byte sizes of `main.cpp` (66,174), `main.h` (29,219), `node.cpp` (28,112), `node.h` (18,491) and `readme.txt` (451) match the `bitcoin_src1.rar` listing published by The Chain Bulletin exactly. The `jhuboo/satoshi/bitcoin_v0` copy is truncated (main.cpp is 37 KB), so I did not use it. | 4 files, 5,005 lines | C++ | | `weidai_cryptopp_5.5.2` | **Wei Dai**, Crypto++ 5.5.2 (released Sep 2007; Satoshi bundled its SHA code) | https://github.com/weidai11/cryptopp, tag `CRYPTOPP_5_5_2` (commit `e82ae282…`). Included: `.cpp` files whose header says "written … by Wei Dai", plus the matching `.h` files that credit no other author | 206 files, 53,412 lines | C++ | | `finney_rpow_1.2.0` | **Hal Finney**, RPOW (2004–2005) | https://github.com/NakamotoInstitute/RPOW, master branch (the original code "exactly as Hal Finney wrote it"; v1.2.0 commit `d29e4507`). Excluded: Steve Reid's SHA-1 and the IBM `scc.h` | 39 files, 11,697 lines | C | | `back_hashcash_1.21` | **Adam Back**, hashcash 1.21 | Debian upstream tarball https://deb.debian.org/debian/pool/main/h/hashcash/hashcash_1.21.orig.tar.gz (md5 `77923018…`). Excluded: Jonathan Morton's `fastmint_*`/`libfastmint*` and the FSF `getopt` | 19 files, 4,453 lines | C | | `leroux_e4m_2.01` | **Paul Le Roux**, E4M 2.01 (1998–99) | `E4M201s.zip` from https://github.com/SophiaAtkinson/E4M (md5 `18f92143…`). Included: only files with the header "Copyright (C) 1998-99 Paul Le Roux" (the `crypto/` directory by Eric Young, Gutmann and others is excluded) | 59 files, 15,974 lines | C (Win32 / NT driver) | | `mixmaster_3.0_project` | **Mixmaster 3.0** (Mar 2008), the project Len Sassaman maintained | https://sourceforge.net/projects/mixmaster/files/Mixmaster/3.0/mixmaster-3.0.tar.gz (md5 `8d789f99…`), `Src/` only | 44 files, 22,676 lines | C | | `sassaman_mixmaster_blame` | **Len Sassaman**, lines only | `git blame` of tag `mixmaster_3_0_0` in https://github.com/eurovibes/mixmaster (an import of the Debian/SourceForge SVN). Kept: lines whose last commit was by Len Sassaman **and** whose commit message credits nobody else (excluded: "Initial revision" imports and messages containing by/from/contributed/patch/names) | 1,510 lines (not contiguous, so only line-level metrics are valid) | C | | `mccaleb_newcoin_2011` | **Jed McCaleb**, "newcoin" (the first rippled code, Oct 14 – Nov 3 2011, before any other committer) | https://github.com/XRPLF/rippled at commit `aa7946dcfdc7d7c4b1a34c53edde5315cfd0a190`. Excluded: files copied from Bitcoin (`base58.h`, `bignum.h`, `key.h`, `keystore.*`, `script.h`, `uint256.h`, `rpc.cpp`, `CallRPC.*`, `BitcoinUtil.*`, `SecureAllocator.h`, `NewcoinAddress.*`), Boost.Asio HTTP example code (`HttpReply`, `HttpRequest`, `RequestParser`, `RPC.h`), json_spirit, sqlite, pugixml and the bundled Crypto++ | 43 files, 3,411 lines | C++ | ### 1b. Corpora added in the second pass | Corpus id | What | Source (URL / version / commit) | How their own lines were isolated | Size analysed | Language / era | |---|---|---|---|---|---| | `andresen_openinventor_sgi` | **Gavin Andresen (then Gavin Bell)**, SGI Open Inventor 2.1. **This is his pre-Bitcoin code.** | https://github.com/aumuell/open-inventor at its **first commit `791cc9c` ("Initial revision", 2000-08-15)**, which is SGI's open-source release. I checked out that commit, not HEAD, to avoid later edits. | Kept only the 91 files whose SGI header block lists **"Author(s): Gavin Bell" and nobody else** (115 co-authored files excluded). Files are © 1990–96 SGI. | 91 files, 26,057 lines | C++ (pre-standard), ~1991–1996 | | `andresen_bitcoin_2010_2012_blame` | Gavin's Bitcoin code, 2010–2012 | https://github.com/bitcoin/bitcoin, `git blame` at tag **v0.7.0** (`0a4e67af`, Sep 2012) | Lines whose last change is authored by "Gavin Andresen", over `src/*.cpp|h` with subtrees excluded. Commits whose subject mentions patch/from/by/merge/move/rename/format/CRLF/copyright were dropped, because in the SVN era Gavin committed other people's patches. 6,837 lines blamed, 4,464 kept. | 4,464 lines (fragments; line-level metrics only) | C++, **post-Satoshi, inside Satoshi's codebase** | | `andresen_own_repos_2014_2015` | Gavin's own stand-alone C++ | https://github.com/gavinandresen/IBLT_Cplusplus (`db28fd0f`, Sep 2014): `iblt.cpp/.h`, `iblt_test.cpp`. https://github.com/gavinandresen/bitcoin_miningsim at his last commit `920cf088` (2015): `main.cpp`, `scheduler.*`, `standard_miner.hpp` | Single-author repos. Files copied from Bitcoin Core (`utilstrencodings.*`, which carries Satoshi's copyright) and MurmurHash were excluded. | 860 lines | C++, 2014–2015 (after 4+ years in Satoshi's code) | | `todd_bitcoincore_added` | **Peter Todd**, his own Bitcoin Core commits | https://github.com/bitcoin/bitcoin, clone at `4303f3b7` | All lines **added** (`git log -p`, no merges) in his 84 non-mechanical commits touching `src/*.cpp|h`, 2012-04-28 → 2023-08-04. Blame at v0.11.0 kept only 368 surviving lines, so I used added lines instead. | 1,253 lines (fragments) | C++, **post-Satoshi, inside Satoshi's codebase** | | `zooko_pycryptopp_zfec_2007_2009` | **Zooko Wilcox-O'Hearn** | https://github.com/tahoe-lafs/pycryptopp at `3934e011` (last commit before 2010; Python-wrapper `.cpp/.hpp` only, embedded Crypto++ excluded). https://github.com/tahoe-lafs/zfec at `6c11c740` (Jul 2008): `_fecmodule.c` only (`fec.c` is derived from Luigi Rizzo's code, so it's excluded). | `git blame`: Zooko wrote 96–100% of each kept file (Brian Warner has 6–17 lines in some). | 10 files, 2,009 lines | C++ and C (Python C-API extensions), 2007–2009 | | `szabo_jtime_js_2011_2014` | **Nick Szabo**, jTime | https://github.com/nicksz/jTime (`f7511b2e`). The LICENSE reads **"Copyright (c) 2011, 2012 by Nick Szabo"**. | Single-author repo (all commits by `nicksz`). `jTime.js` + `tests/*.js`. | ~665 lines | **JavaScript**, 2011–2014 (post-Bitcoin) | | `grigg_webfunds_java_cvs` | **Ian Grigg**, WebFunds/SOX (Systemics) | The `webfunds-commits` CVS mailing-list archive mirrored at https://linas.org/mirrors/www.webfunds.org/2001.04.16/pipermail/webfunds-commits/ (773 messages crawled) | Java code in commit mails whose CVS committer is `iang`: `+` lines of diffs, plus full bodies of newly added files. Commits whose log mentions other people, import/move/rename, etc. were dropped (386 kept, 104 dropped). 2000-05-29 → 2001-04-15. | 22,557 lines (fragments) | **Java**, 2000–2001 | | `trammell_snippets` | **Dustin Trammell**, "Random Code" | https://www.dustintrammell.com/code. The files `/s/inet_hton.rtf`, `popenrw.rtf`, `printbin.rtf`, `printhex.rtf`, `randmac.rtf`, `unencode.rtf` and `backup-fsc.docx` were converted to text with LibreOffice. | Self-published. Headers credit "I)ruid", his handle. | 7 files, 509 lines | C, undated (site © 2000–2023) | ### 1c. Corpora added in the third pass: Bitcoin Core contributors, scored **only on code outside Bitcoin Core** For every row, the person's own code was isolated with `build_author_corpus.py` (`git blame` at the stated revision). A file was taken whole when the person owns at least 90% of its blamed lines. Otherwise only their blamed lines from non-mechanical commits were kept, as fragments. Mechanical commits are those whose subject mentions merge, move, rename, format, whitespace, import, upstream sync, revert, license, "patch from/by" and similar. After that, I deleted every whole file whose header carries a copyright notice naming someone else, and every file mentioning Satoshi or "Bitcoin developers". I also removed generated and data files. Every repo is a fresh clone in `corpora3/`. | Corpus id | Person | Source (URL @ revision) | Isolation and what was removed | Analysed (code lines) | Language / era / independence | |---|---|---|---|---|---| | `vanderlaan_etnaviv_2012_2013` | **Wladimir van der Laan** | https://github.com/laanwj/etna_viv @ `24ab6f51f9` (2013-11-13; last commit before 2014) | Blame "Wladimir". Kept only `src/{etnaviv,driver,lib,fb,fb_rawshader,test2d}` files whose header is "© Etnaviv Project" or "© Wladimir J. van der Laan". **Dropped** vendor Vivante HAL headers, Mesa `minigallium`, envytools, kernel drivers, `replay/` dumps, and files © Brian Paul / Luc Verhaegen. (Raw blame would have credited him with 252k imported lines.) | 77 files, 14,696 | C, 2012–13. Independent (GPU reverse engineering). `driver/` follows Mesa/Gallium conventions. | | `wuille_jif_2011` | **Pieter Wuille** | https://github.com/sipa/JIF @ `fb3e9e3132` (2011-10-21; last commit before 2012) | Blame "Pieter Wuille": 6 whole files plus 373 fragment lines. Co-author Jon Sneyers' lines excluded. | 7 files, 939 | C, 2011. Independent image codec (JIF, the FLIF precursor). | | `dashjr_bfgminer_2012_blame` | **Luke Dashjr** | https://github.com/luke-jr/bfgminer @ `07db1ed687` (2013-01-01), plus https://github.com/luke-jr/libbase58 @ `b6adca8ebb` (last commit before 2015) | Blame "Luke": in bfgminer, no file reached 90%, so his lines are fragments only (1,315). Excluded `ccan/compat/libblkmaker/jansson/uthash/sph` subtrees. Con Kolivas' and Kano's lines are excluded by blame. libbase58: 2 whole files plus 56 fragment lines. | 1,212 | C, 2012–14. **Bitcoin-adjacent** (mining software forked from cgminer/cpuminer; cgminer conventions are imposed) but not Satoshi's codebase. | | `poelstra_ramseyscript_2011_2013` | **Andrew Poelstra** | https://github.com/apoelstra/RamseyScript @ `83261f9a62` (2013-05-28; final) | Single-author repo. 64 whole files (CC0 headers "Written in 2012 by Andrew Poelstra"). | 65 files, 4,322 | C, 2011–13. Independent (combinatorics). | | `hearn_wine_2002_2006_added` | **Mike Hearn** | https://gitlab.winehq.org/wine/wine (clone HEAD `840a939ee5`) | Lines **added** in his 192 Wine commits (`--author="Mike Hearn"`, 2002-11-23 → 2006-05-01). 11 mechanical commits dropped (181 kept); `include/` and generated files excluded. Made with `added_lines_any.py`. | 7,123 added lines (3,915 code) | C, 2002–06, **pre-Bitcoin**. Wine house style is imposed (Win32 API types and Hungarian, `func( a, b )` padding, varies by DLL). | | `garzik_pre2010_linuxstyle_c` | **Jeff Garzik** | https://github.com/jgarzik/nfs4d @ `c09a481357`, /itd @ `d5ab4986b9`, /hail @ `a129ef0d5c` (each the last commit before 2010; history from 2005) | Blame "Jeff Garzik". nfs4d: 29 whole files. hail: 16 whole files plus fragments; Pete Zaitcev's lines excluded. **Dropped**: rpcgen output (`nfs4_prot*`, `*_xdr`), and all of itd's Intel-© (2000) iSCSI files and Alistair Crooks' header. | 43 files, 13,507 | C, 2005–09, **pre-Bitcoin, independent**. **Linux-kernel style imposed by habit** (tabs, K&R, `goto out`). | | `maxwell_opus_v1.0.0_blame` | **Gregory Maxwell** | https://gitlab.xiph.org/xiph/opus @ tag `v1.0.0` (`4403f841a9`, Sep 2012) | Blame "Gregory Maxwell": 3 whole test files (`tests/test_opus_{api,decode,encode}.c`) plus 2,720 fragment lines. `silk/tables_LTP.c` (data table) dropped. | 4,183 | C, 2008–12 (mostly 2011–12). **Xiph/Opus project style imposed** (`/* */` only, 3–4-space mixed, `opus_int32`). | | `maxwell_celt_2008_2009_blame` | **Gregory Maxwell** (pre-Bitcoin) | same Opus repo, which contains the CELT history, @ `74128befe4` (last commit before 2010) | Blame "Gregory Maxwell": 1 whole file (`tests/tandem-test.c`) plus 1,182 fragment lines from his 59 CELT commits of 2008–09. | 903 | C, **2008–09**. **Xiph/CELT style imposed.** | | `corallo_relaynode_2013_2014` | **Matt Corallo** | https://github.com/TheBlueMatt/RelayNode @ `02197541f5` (last commit before 2015) | Blame "Matt Corallo": 19 whole files. **Dropped** `crypto/sha2.*`, `crypto/common.h` and `mruset.h` (© Bitcoin developers). | 16 files, 2,084 | C++, 2013–14. **Bitcoin-adjacent** (relay network), not Satoshi's codebase. | | `fields_libbtcnet_2016` | **Cory Fields** | https://github.com/theuni/libbtcnet @ `f616aa7` (2016-03-31) | Single-author (40 commits, 2016-03-01 → 03-31). Dropped `base32.*` (© Satoshi). | 37 files, 3,003 | C++, 2016. **Bitcoin-adjacent, written after 3+ years in Core.** | | `schnelli_libbtc_2015` | **Jonas Schnelli** | https://github.com/jonasschnelli/libbtc @ `091ea13378` (2015-10-20) | Blame "Jonas Schnelli". **Dropped** trezor-crypto (© Tomas Dzetkulic), Brian Gladman AES, exMULTI/BitPay picocoin files, Luke's base58, Bakkum's random/utest, `src/secp256k1`, and test-vector files `tx_tests.c`/`sha2_tests.c`. | 30 files, 2,729 | C, 2015. **Bitcoin-adjacent.** (His 2011 "IRCClient" repo is a clone of libircclient, so it was not used.) | | `lombrozo_coinclasses_2012_2013` | **Eric Lombrozo** | https://github.com/CodeShark/CoinClasses @ `82f29c2a45` (2013-10-25; final) | Blame "Lombrozo" (194 commits, 2012-12-30 → 2013-10-25). Dropped `CoinKey.cpp` and `secp256k1.h` (reference Satoshi/Bitcoin). | 44 files, 6,396 | C++, 2012–13. **Bitcoin-adjacent**, independent re-implementation. | | `ruffing_accas_2016_2024` | **Tim Ruffing** | https://github.com/real-or-random/accas @ `90052c991f` | Blame "Ruffing" (commits 2016-02-26 → 2024-05-06). Dropped `secp256k1-macros.h` (© Pieter Wuille). | 10 files, 803 | C++, 2016+. Bitcoin-adjacent (accountable assertions). Small. | | `daftuar_txrelaysim_2018` | **Suhas Daftuar** | https://github.com/sdaftuar/tx-relay-simulation @ `d8d01907e1` (June 2018) | Single file `graph.cpp`. | 1 file, 656 | C++, 2018. Bitcoin-adjacent simulation. **Very small.** | I also downloaded the trottier/original-bitcoin repo, which is **v0.1.3**: https://github.com/trottier/original-bitcoin, commit `92ee8d9a…`. It differs from v0.1.0 in 9 files. I used v0.1.0 as the reference because it is the first public release. ### 1d. Corpora added in the fourth pass: Dan Kaminsky | Corpus | What | Source | Kept | Size | Language / era | |---|---|---|---|---|---| | `kaminsky_paketto_2.00_2002_2003` | **Dan Kaminsky**, Paketto Keiretsu 2.00pre5 (scanrand, minewt, lc, paratrace and related DoxPara tools). The AUTHORS file reads "Design and Implementation by Dan 'Effugas' Kaminsky, dan@doxpara.com" and credits Jason Spence for "build management to programmatic minutae". | https://github.com/krisnova/paketto @ `3e4dfe7a57e4acff88f198fedad70cd52734f02b` (an archive import of the tarball; `configure.in` says `VERSION="2.00pre5"`; the ChangeLog's last entry is 17 Mar 2003). The original http://www.doxpara.com/paketto/ tarballs now return 404, so I could not check the archive byte-for-byte against them. | Kept 13 `.c` files (ackmon, donut, finx, homer, lc2, libpaketto, miname, packet2sql, paratrace2, pk_scan, prox, scanrand2, tincan) and `libpaketto.h`, `pk_scan.h`. **Excluded:** `base64.c/h` (fetchmail-derived), `g711.c` (Sun Microsystems), `g711.h` (© Niels Provos), `libipq.h` (Netfilter/James Morris), `ip_queue_64.h` ("based on ip_queue.h by James Morris"), `config.h` (autoconf-generated), `pk_serv.h` (a 1,163-line services data table), the bundled `libipq.a`. | 15 files, 4,683 lines (3,772 code) | C, 2002–03, **pre-Bitcoin, independent** | | `kaminsky_dakarand_2012` | **Dan Kaminsky**, DakaRand 1.0 (clock-drift entropy generator; `#define VERSION "1.0"`; README signed "--Dan 14-Aug-2012") | https://github.com/stribika/dakarand, commit `82cef7b7de1196db0c919eeb58a9189194c6b5d1` ("Import original code. Tarball's SHA224 was aaeaa4f8…"); LICENSE "Copyright © 2012 Dan Kaminsky Holdings" | `dakarand.c` only, as imported. Excluded: bundled scrypt-1.1.6 (Colin Percival) and the later `entropy_source.*` / `increment_until_gettimeofday.c` (added by the mirror's owner). Its usage text notes the method is "based on Truerand from Matt Blaze and DP Mitchell" (idea, not copied code). | 1 file, 585 lines (435 code) | C, 2012, post-Bitcoin but unrelated to it. **Small.** | ### 1e. Corpus added in the fifth pass: Daira Hopwood The report uses **Daira Hopwood** and they/them pronouns. Earlier public work appeared under the former name (David Hopwood / David-Sarah Hopwood); that name is quoted below only where a source needs it. | Corpus | What | Source | Kept | Size | Language / era | |---|---|---|---|---|---| | `hopwood_zcash_2015_2026_added` | **Daira Hopwood**: lines *added* in their own non-merge commits to zcashd (git author "Daira Hopwood" 475 commits, "Daira-Emma Hopwood" 170, "Daira Emma Hopwood" 59; 356 non-merge commits touch C/C++) | https://github.com/zcash/zcash full clone @ `558f686599586f55def3db86955d74d3be44605e` (2026-07-19); extractor `added_lines_hopwood.py` | C/C++ only (`.c/.cpp/.h/.hpp`). **Excluded:** `src/pow/tromp/` (John Tromp's Equihash solver), `src/tinyformat.h`, `src/snark/`, `src/rust/` and other vendored subtrees; commits whose subject says import/update/upgrade/bump/tromp/tinyformat (312 of 356 commits kept); data lines (long hex strings, `0x..` byte arrays, test vectors) and copyright/licence lines (128 dropped); and 48 hunks (152 lines) whose `/* */` delimiters are cut by the diff (the other end is a context line). Without that last filter the comment stripper swallowed a 640-line span of code as "comment" and inflated comment density to 48–57%. | 1 fragment file, 6,819 non-blank lines (5,214 code). By year of commit: 2015 12, 2016 188, 2017 218, 2018 157, 2019 64, 2020 1,145, 2021 5, 2022 300, 2023 1,871, 2024 377, 2025 244, 2026 2,966 lines | C++, **2015–2026, post-Bitcoin, inside a Bitcoin-derived codebase** (zcashd is a fork of Bitcoin Core 0.11.2). About 80% of the lines are from 2020 or later. | ### Suspects with no usable code (passes 1–5; sixth-pass census and updates are in §9) | Suspect | Status (one line) | |---|---| | **James A. Donald** | Crypto Kong / KongTools C++ source was advertised as requiring Visual C++ 5.0. A 26 November 2026 retry on FTP and archive.org *item* search (not web.archive.org) found only the installer `KongSetup.exe` (4,464,128 bytes, 10–11 January 1998). The source was **not obtained**. The installer was unpacked on 26 November 2026: the main program is Visual Basic 5; `KongTools.ocx` is a small VC++ 5 ActiveX control. No 29-feature distance is assigned. See §9 and §10 / `publication/binary_analysis.md`. | | **Dan Kaminsky** (other code) | **OzymanDNS** is Perl (not comparable with these C-family metrics). **Phentropy**: no source tarball found online (doxpara.com download paths now return 404; archive.org is unreachable from this box). **github.com/dakami** (commits by `dan@doxpara.com`): `autoclave` (2016) is a full QEMU tree plus a few hundred added lines in patch files (145–175 `+` lines per patch), all inside QEMU's house style and too small to score; `ratelock`, `overflowd`, `jfe` are Python, `ironframe` is HTML/JS. **github.com/DanKaminsky** (R/Python data-science repos, 2018) contains course-style ML projects with nothing linking them to him, so I treat it as probably a different person and did not use it. Paketto and DakaRand are scored above. | | **Daira Hopwood** (other code) | **No personally authored pre-2009 C/C++ found.** Their pre-2009 public code is **Java**: Cryptix 3.0 ("built by David Hopwood and Raif Naffah", announcement of 24 Dec 1997 on cryptome.org) and the SCAN / JCE naming pages at www.users.zetnet.co.uk/hopwood/crypto/scan/. Tahoe-LAFS contributions (2009+) are **Python**. E-language / Joe-E / Caja work is Java / JavaScript, and eros-os.org / erlang.org / cryptix.org / archive.org were unreachable from this box, so none of it was retrieved or scored. In `tahoe-lafs/pycryptopp` the only commits under their name (3, 2010-09-18) import Crypto++ patches written by others into `sha.cpp` / `rijndael.cpp`, so they are not their own style. Only the zcashd added lines (§1e) are scored. | | **Nick Szabo** | **No pre-2009 or C/C++ code found.** `github.com/szabo` is a different person ("Gregor Szabo", 0 repos). His szabo.best.vwh.net pages are essays. His smart-contract and "E language" writings contain no code of his own. The only verifiable code is **jTime (JavaScript, © 2011–12 by Nick Szabo)**, which is scored above with heavy caveats. | | **David Chaum** | No public DigiCash/ecash source code (it was proprietary and never released). Later work (Elixxir/xx network, Go) is team-written. | | **Ross Anderson** | No personally written code. The Serpent C reference was written by Frank Stajano and the optimised C/Java by Eli Biham, per https://www.cl.cam.ac.uk/~fms27/serpent/. | | Craig Wright | No verifiable pre-2009 code. | | Dave Kleiman | No public code. | | Michael Clear | No public pre-2009 C/C++ code found. | | Michael Weber | No public code attributable to him found. | | Vili Lehdonvirta | Economist/sociologist; no public code found. | | Shinichi Mochizuki | Mathematician; no public software. | | Neal King / Vladimir Oksman / Charles Bry | Named only via a 2008 patent filing; no public code. | | Kevin Groves | No public code attributable to him found. | | Phil Wilson ("Scronty") | No independently verifiable code; his own claims are not attributable source. | | Sergio Lerner | Not a suspect; his "Patoshi" work is blockchain forensics, which is out of scope for a code-style study. | | Peter Todd / python-bitcoinlib | Python, not comparable with these C-family metrics. His C++ Bitcoin Core commits *are* scored. | | Zooko / Mojo Nation, Mnet, Tahoe-LAFS | Mostly Python. Only his C/C++ extension code is scored. | | Hal Finney / PGP 2.x | Multi-author code with no per-line history. RPOW is used instead. | | Jed McCaleb / eDonkey, Overnet | Closed source. | | Wei Dai / b-money | b-money had no code. Crypto++ is used instead. | | Len Sassaman | His personal share of Mixmaster can only be estimated (blame corpus). | | *Third pass: Core contributors* | | | Marco Falke | GitHub `MarcoFalke` lists 0 own public repos. All his C++ is inside Bitcoin Core. | | Alex Morcos | GitHub `morcos` has no non-fork C/C++ repos; his C++ is inside Bitcoin Core. | | Russell O'Connor | Public code is Haskell/Coq (Simplicity, Haskoin-era), with no non-fork C/C++ repos. Not comparable. | | Patrick Strateman | Only a hostapd fork and a tiny fuzzer, so no meaningful own C/C++. | | Jonas Nick | Only tiny Bitcoin/secp256k1 test repos. His substantial C is inside libsecp256k1, which is Wuille-led and shares Core conventions. | | Martti Malmi | GitHub `sirius-m` lists 0 own public repos. No pre-2009 C/C++ found. | | Laszlo Hanyecz | No identifiable public C/C++ repository (his GPU-miner patches were never published as a repo I could verify). | | Nils Schneider | GitHub `tcatm` returns "Not Found" via the API. No other verifiable C/C++ code found. | | Matt Corallo / bitcoinj | bitcoinj is Java and a Bitcoin implementation. RelayNode C++ is scored instead. | | Luke Dashjr / Eloipool | Python. bfgminer and libbase58 are scored instead. Pre-2009 Gentoo work is ebuilds/shell, not C. | | Andrew Poelstra / rust-bitcoin etc. | Rust is not comparable with these C-family metrics. His 2011–13 C (RamseyScript) is scored. | | Gregory Maxwell / Theora, Vorbis, other Xiph SVN | Not pursued (SVN-era attribution). His CELT 2008–09 lines and Opus v1.0.0 lines are scored. | | Mike Hearn / autopackage, Google | autopackage (C/shell, team project) and his Google-internal code were not retrieved; GitHub `mikehearn` has no non-fork C/C++ repos. Wine is scored. | | Jeff Garzik / Linux kernel | The kernel tree is too big to clone here. His own 2005–09 daemons (nfs4d, itd, hail), written in the same kernel style, are scored instead. | | Cory Fields, Jonas Schnelli, Lombrozo, Ruffing, Daftuar: pre-2009 code | None public. Only post-2012 Bitcoin-adjacent repos exist, and those are scored with that caveat. | --- ## 2. Satoshi's own fingerprint (v0.1.0 and Nov 2008 together) Measured on v0.1.0. Nov 2008 values are in parentheses. - **Indentation:** 4 spaces with no tabs at all (0 tabs, both versions). Files have CRLF line endings, a Windows origin (100% / 100%). - **Braces:** Allman (`{` on its own line) 99.9% (100%). `} else` never appears on one line. - **Spacing:** `if (` / `for (` / `while (` always have the space (100%). Calls never have a space before `(` (0%). The return type is on the same line as the function name. - **Pointers and references bind to the type:** `CNode* pnode`, `const CWalletTx& wtxIn`. Type side 97% (99.7%). - **Comments:** almost exclusively `//` (99% / 100%). Extras include `////` "debug print" notes, `///` TODO notes such as `/// need to decide the right difficulty to start with`, `//` banner blocks and long `//////////` separator lines. - **Naming:** a private dialect of Hungarian notation. 52.6% (54%) of declared names carry a prefix: `n` (int), `f` (bool flag, **never** `b`), `str`, `psz`, `vch`, `v`, `map`, `set`, `p`, `pindex`, `hash`, `wtx`. Classes start with `C` (85% / 89%: `CTransaction`, `CBlockIndex`, `CNode`). Functions and methods are PascalCase (88.5% / 93.6%). Almost no snake_case (1%) and no `m_` members (the only `m_` names are wxFormBuilder-generated widgets). - **Idioms:** custom macros `loop` (= `for (;;)`), `foreach` (= `BOOST_FOREACH`) and `CRITICAL_BLOCK(cs)`. `printf` debug logging (23–29 per KLOC). `return error("...")`. `IMPLEMENT_SERIALIZE`/`READWRITE`. A home-made `int64`/`uint64` typedef wrapping `__int64` vs `long long`. Heavy STL (`map`). No `goto`, very few `#define`s and few `== NULL` tests. **Nov 2008 compared with v0.1.0:** the style is essentially identical. 81% of Nov 2008 `main.cpp` lines, 86% of `main.h`, 92% of `node.cpp` (later `net.cpp`) and 95% of `node.h` (later `net.h`) appear verbatim in v0.1.0. On the composite measure, Nov 2008 sits 0.30 from v0.1.0, compared with 1.0 to 1.75 for every suspect. The differences are content rather than style: - Nov 2008 has no templates or serialization framework of its own, because `serialize.h`, `uint256.h` and `util.h` weren't in the 4-file preview. As a result it has fewer one-line inline bodies (4.5 vs 23.8 per KLOC). - It has more `loop`/`foreach`/`CRITICAL_BLOCK` per KLOC (networking-heavy files). - Some names changed: `MINPROOFOFWORK`, `CCoinBase` and `node.cpp` became `bnProofOfWorkLimit` and `net.cpp`. - The copyright line is "(c) 2008" with the full MIT text, instead of "(c) 2009" with a short notice. **Side finding:** Satoshi's bundled `sha.cpp` is Wei Dai's Crypto++ **5.5.2** SHA code (the header says so), but **re-indented from tabs to 4 spaces** and saved with CRLF. Upstream Crypto++ 5.5.2 `sha.cpp` has 327 tab-indented lines; Satoshi's copy has 0 tabs and 390 space-indented lines. This shows Satoshi worked with an editor set to "insert spaces, width 4" and normalised third-party code to his own layout. --- ## 3. Habit-by-habit checklist ✔ means the corpus shares Satoshi v0.1.0's habit; the value in brackets is the measurement. n/a means not applicable (for example, C code has no classes). The thresholds are in `similarity.py`. | Habit (Satoshi v0.1.0) | back_hashcash_1.21 | finney_rpow_1.2.0 | leroux_e4m_2.01 | mccaleb_newcoin_2011 | mixmaster_3.0_project | sassaman_mixmaster_blame | satoshi_nov2008 | satoshi_v0.1.0 | weidai_cryptopp_5.5.2 | |---|---|---|---|---|---|---|---|---|---| | Spaces (not tabs) for indentation | ✘ (0.509) | ✘ (0.998) | ✘ (0.995) | ✘ (0.999) | ✘ (0.252) | ✔ (0.123) | ✔ (0.0) | ✔ (0.0) | ✘ (0.986) | | 4-column indent unit | ✔ (4.0) | ✔ (4.0) | ✘ (6.0) | ✔ (4.0) | ✘ (2.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | | Allman braces (opening { on own line) | ✘ (0.185) | ✔ (0.873) | ✔ (1.0) | ✔ (1.0) | ✘ (0.236) | ✘ (0.171) | ✔ (1.0) | ✔ (0.999) | ✔ (0.973) | | Never "} else" on one line | ✘ (17.3) | ✘ (2.35) | ✔ (0.0) | ✘ (19.57) | ✘ (15.47) | ✘ (23.6) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Space between if/for/while and "(" | ✔ (0.994) | ✔ (0.998) | ✔ (1.0) | ✘ (0.03) | ✔ (0.987) | ✔ (0.992) | ✔ (1.0) | ✔ (1.0) | ✔ (0.988) | | Pointer/ref attached to type ("CNode* p") | ✔ (0.915) | ✘ (0.0) | ✘ (0.0) | ✔ (1.0) | ✘ (0.003) | ✘ (0.0) | ✔ (0.997) | ✔ (0.973) | ✘ (0.064) | | // line comments, not /* */ | ✘ (0.0) | ✘ (0.019) | ✘ (0.0) | ✔ (0.867) | ✘ (0.0) | ✘ (0.002) | ✔ (1.0) | ✔ (0.99) | ✔ (0.872) | | Satoshi-style Hungarian (n/f/str/vch/map/p...) >20% of declared names | ✘ (0.0) | ✘ (0.2) | ✘ (9.8) | ✘ (2.0) | ✘ (0.2) | ✘ (0.0) | ✔ (54.0) | ✔ (52.6) | ✘ (1.9) | | No MS-Windows Hungarian (dw/lp/sz/b/h...) >10% | ✔ (0.4) | ✔ (0.0) | ✘ (26.9) | ✔ (0.0) | ✔ (1.4) | ✔ (6.1) | ✔ (1.5) | ✔ (1.3) | ✔ (0.5) | | Little snake_case (<5% of declared names) | ✘ (41.0) | ✔ (2.0) | ✘ (7.1) | ✔ (2.7) | ✘ (5.7) | ✘ (9.1) | ✔ (0.8) | ✔ (1.0) | ✘ (9.5) | | No m/m_ member prefix | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✘ (17.6) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.2) | | No goto (<1 per KLOC) | ✘ (8.65) | ✘ (12.7) | ✘ (10.66) | ✔ (0.0) | ✘ (14.93) | ✔ (0.87) | ✔ (0.0) | ✔ (0.0) | ✔ (0.53) | | Rare "== NULL" comparisons (<5 per KLOC) | ✘ (13.12) | ✘ (8.82) | ✘ (10.0) | ✔ (0.0) | ✘ (14.71) | ✔ (3.5) | ✔ (1.98) | ✔ (2.05) | ✔ (0.41) | | Few #defines (<10 per KLOC) | ✘ (61.14) | ✘ (32.35) | ✘ (13.96) | ✔ (6.52) | ✘ (16.38) | ✘ (14.86) | ✔ (0.0) | ✔ (2.78) | ✘ (18.24) | | printf-family debug output (>10 per KLOC) | ✔ (39.67) | ✔ (26.82) | ✔ (11.82) | ✘ (2.17) | ✔ (11.21) | ✔ (26.22) | ✔ (29.42) | ✔ (22.93) | ✘ (0.0) | | One-line inline bodies "{ return x; }" (>5 per KLOC) | ✔ (54.88) | ✘ (0.0) | ✘ (0.0) | ✔ (7.83) | ✘ (0.05) | ✘ (0.0) | ✘ (4.53) | ✔ (23.83) | ✔ (21.62) | | Lowercase hex literals | ✘ (0.0) | ✔ (1.0) | ✔ (0.938) | ✘ (0.0) | ✘ (0.48) | ✘ (0.0) | ✔ (0.889) | ✔ (0.921) | ✔ (0.732) | | Named 64-bit int typedef used (>3 per KLOC) | ✔ (4.18) | ✘ (0.0) | ✘ (0.66) | ✔ (13.91) | ✘ (0.0) | ✘ (0.0) | ✔ (18.95) | ✔ (16.46) | ✔ (4.52) | | C-prefixed class names (C++ only) | n/a | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | n/a | ✔ (0.889) | ✔ (0.853) | ✘ (0.042) | | Custom foreach/loop/lock-block macros | ✘ (0) | ✘ (0) | ✘ (0) | ✔ (10.0) | ✘ (0.11) | ✘ (0) | ✔ (30.84) | ✔ (17.12) | ✘ (0) | | No space between function name and "(" in calls | ✔ (0.022) | ✘ (0.802) | ✘ (0.975) | ✔ (0.0) | ✔ (0.003) | ✔ (0.022) | ✔ (0.0) | ✔ (0.0) | ✔ (0.005) | | Return type on same line as function name (not GNU style) | ✔ (0.0) | ✘ (0.965) | ✘ (0.996) | ✔ (0.0) | ✔ (0.003) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.001) | | PascalCase function/method names (>60%) | ✘ (6.7) | ✘ (0.0) | ✔ (73.2) | ✘ (8.1) | ✘ (0.7) | ✘ (5.3) | ✔ (93.6) | ✔ (88.5) | ✔ (92.9) | | Boolean flags prefixed f (fFoo), not b (bFoo) | n/a | n/a | ✘ (f=3,b=90) | n/a | n/a | n/a | ✔ (f=45,b=0) | ✔ (f=139,b=0) | n/a | **Score (habits shared / applicable):** | Corpus | Shared | |---|---| | satoshi_nov2008 | 23 / 24 | | **weidai_cryptopp_5.5.2** | **15 / 23** | | mccaleb_newcoin_2011 | 14 / 23 (inflated by habits inherited from Bitcoin, see §5) | | back_hashcash_1.21 | 10 / 22 | | sassaman_mixmaster_blame | 10 / 22 | | finney_rpow_1.2.0 | 8 / 23 | | leroux_e4m_2.01 | 7 / 24 | | mixmaster_3.0_project | 6 / 23 | ### 3b. Checklist for the corpora added in the second pass The same 24 habits and thresholds apply. n/a means not applicable: classes in C/JS, pointers in JS/Java, hex in JS, and so on. JS and Java naturally fail C++-only habits. | Habit (Satoshi v0.1.0) | andresen_openinventor_sgi | andresen_bitcoin_2010_2012_blame | andresen_own_repos_2014_2015 | todd_bitcoincore_added | zooko_pycryptopp_zfec_2007_2009 | szabo_jtime_js_2011_2014 | grigg_webfunds_java_cvs | trammell_snippets | |---|---|---|---|---|---|---|---|---| | Spaces (not tabs) for indentation | ✘ (0.456) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.004) | ✔ (0.182) | ✔ (0.012) | ✘ (1.0) | | 4-column indent unit | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | ✘ (2.0) | ✘ (8.0) | n/a | | Allman braces (opening { on own line) | ✘ (0.408) | ✔ (0.966) | ✘ (0.344) | ✘ (0.559) | ✘ (0.0) | ✘ (0.009) | ✘ (0.683) | ✘ (0.0) | | Never "} else" on one line | ✘ (4.18) | ✔ (0.0) | ✔ (0.0) | ✘ (8.47) | ✘ (3.01) | ✘ (8.71) | ✔ (0.92) | ✘ (9.09) | | Space between if/for/while and "(" | ✔ (0.986) | ✔ (0.997) | ✔ (1.0) | ✔ (1.0) | ✔ (1.0) | ✔ (1.0) | ✔ (0.993) | ✘ (0.0) | | Pointer/ref attached to type ("CNode* p") | ✘ (0.058) | ✔ (0.951) | ✔ (0.958) | ✔ (0.714) | ✘ (0.353) | n/a | ✘ (0.5) | ✘ (0.0) | | // line comments, not /* */ | ✔ (0.957) | ✔ (0.954) | ✔ (0.972) | ✔ (0.969) | ✘ (0.026) | ✔ (0.932) | ✘ (0.581) | ✘ (0.0) | | Satoshi-style Hungarian (n/f/str/vch/map/p...) >20% of declared names | ✘ (1.3) | ✔ (37.0) | ✘ (5.2) | ✔ (45.1) | ✘ (0.0) | ✘ (0.0) | ✘ (0.7) | ✘ (0.0) | | No MS-Windows Hungarian (dw/lp/sz/b/h...) >10% | ✔ (0.0) | ✔ (0.4) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Little snake_case (<5% of declared names) | ✔ (0.8) | ✔ (2.7) | ✘ (24.1) | ✔ (4.2) | ✘ (13.5) | ✔ (0.0) | ✔ (0.9) | ✘ (5.1) | | No m/m_ member prefix | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | No goto (<1 per KLOC) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✘ (19.53) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Rare "== NULL" comparisons (<5 per KLOC) | ✘ (13.76) | ✔ (1.05) | ✔ (0.0) | ✔ (1.41) | ✘ (5.26) | ✔ (0.0) | ✔ (0.0) | ✔ (3.03) | | Few #defines (<10 per KLOC) | ✔ (6.23) | ✔ (0.35) | ✔ (6.04) | ✔ (1.41) | ✔ (8.26) | ✔ (0.0) | ✔ (0.0) | ✘ (21.21) | | printf-family debug output (>10 per KLOC) | ✘ (2.98) | ✔ (11.93) | ✘ (0.0) | ✔ (11.3) | ✘ (3.76) | ✘ (0.0) | ✘ (0.0) | ✔ (224.24) | | One-line inline bodies "{ return x; }" (>5 per KLOC) | ✘ (3.07) | ✘ (1.4) | ✘ (4.53) | ✘ (0.0) | ✘ (0.75) | ✘ (0.0) | ✔ (24.76) | ✘ (0.0) | | Lowercase hex literals | ✘ (0.25) | ✔ (1.0) | ✔ (0.889) | ✔ (0.882) | n/a | n/a | ✘ (0.043) | n/a | | Named 64-bit int typedef used (>3 per KLOC) | ✘ (0.0) | ✔ (7.37) | ✔ (30.21) | ✔ (15.54) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | | C-prefixed class names (C++ only) | ✘ (0.0) | ✘ (0.0) | ✘ (0.2) | n/a | n/a | n/a | ✘ (0.0) | n/a | | Custom foreach/loop/lock-block macros | ✘ (0) | ✔ (10.53) | ✘ (0) | ✔ (11.3) | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0) | | No space between function name and "(" in calls | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.055) | ✔ (0.0) | ✔ (0.006) | ✔ (0.006) | | Return type on same line as function name (not GNU style) | ✘ (0.96) | ✘ (0.224) | ✔ (0.095) | ✔ (0.0) | n/a | n/a | n/a | n/a | | PascalCase function/method names (>60%) | ✘ (3.3) | ✘ (51.6) | ✘ (46.4) | ✘ (42.9) | ✔ (76.6) | ✘ (1.4) | ✘ (15.9) | ✘ (0.0) | | Boolean flags prefixed f (fFoo), not b (bFoo) | n/a | ✔ (f=53,b=0) | n/a | ✔ (f=13,b=0) | n/a | n/a | n/a | n/a | **Scores (shared / applicable):** | Corpus | Shared | |---|---| | Andresen, Bitcoin 2010–12 lines | 20/24 | | Todd, Bitcoin Core added lines | 19/23 | | Andresen, own repos 2014–15 | 15/23 | | Grigg (Java) | 11/22 | | Szabo (JS) | 10/19 | | Andresen, SGI Open Inventor (pre-2010) | 9/23 | | Zooko | 8/20 | | Trammell | 6/19 | ### 3c. Checklist for the Core contributors' outside-Bitcoin code (third pass) Same 24 habits and thresholds. The value in brackets is the measured quantity; n/a means it is not applicable or the sample is too small. | Habit (Satoshi v0.1.0) | vdLaan | Wuille | Dashjr | Poelstra | Hearn | Garzik | Maxwell CELT | Maxwell Opus | Corallo | Fields | Schnelli | Lombrozo | Ruffing | Daftuar | |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---| | Spaces (not tabs) for indentation | ✔ (0.001) | ✔ (0.0) | ✘ (0.983) | ✔ (0.0) | ✔ (0.116) | ✘ (0.996) | ✔ (0.004) | ✔ (0.001) | ✘ (0.979) | ✔ (0.0) | ✔ (0.003) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | 4-column indent unit | ✔ (4.0) | ✘ (2.0) | ✔ (4.0) | ✘ (2.0) | ✔ (4.0) | ✘ (8.0) | ✘ (3.0) | ✘ (3.0) | ✘ (1.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | | Allman braces (opening { on own line) | ✘ (0.593) | ✘ (0.04) | ✘ (0.549) | ✔ (0.934) | ✘ (0.516) | ✘ (0.292) | ✘ (0.66) | ✘ (0.685) | ✘ (0.01) | ✘ (0.739) | ✘ (0.48) | ✘ (0.507) | ✘ (0.331) | ✘ (0.215) | | Never "} else" on one line | ✘ (2.86) | ✘ (10.65) | ✘ (2.48) | ✔ (0.0) | ✘ (5.11) | ✘ (3.63) | ✘ (22.15) | ✘ (3.11) | ✘ (16.31) | ✘ (8.33) | ✘ (7.33) | ✔ (0.0) | ✘ (2.49) | ✘ (9.15) | | Space between if/for/while and "(" | ✘ (0.064) | ✔ (1.0) | ✔ (0.963) | ✔ (1.0) | ✔ (0.94) | ✔ (0.998) | ✔ (0.977) | ✘ (0.18) | ✔ (1.0) | ✔ (0.994) | ✔ (0.959) | ✔ (0.995) | ✔ (0.957) | ✔ (1.0) | | Pointer/ref attached to type ("CNode* p") | ✘ (0.005) | ✘ (0.222) | ✘ (0.0) | ✘ (0.0) | ✘ (0.132) | ✘ (0.0) | ✘ (0.0) | ✘ (0.015) | ✔ (0.72) | ✔ (0.984) | ✘ (0.06) | ✔ (0.968) | ✔ (0.917) | ✘ (0.062) | | // line comments, not /* */ | ✘ (0.236) | ✔ (0.947) | ✘ (0.679) | ✘ (0.0) | ✘ (0.0) | ✘ (0.006) | ✘ (0.0) | ✘ (0.0) | ✔ (0.741) | ✔ (0.934) | ✘ (0.239) | ✔ (0.985) | ✔ (0.836) | ✔ (0.977) | | Satoshi-style Hungarian (n/f/str/vch/map/p...) >20% of declared names | ✘ (1.0) | ✘ (1.5) | ✘ (2.3) | ✘ (0.0) | ✘ (1.8) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (12.2) | ✘ (0.0) | ✘ (9.9) | ✘ (0.0) | ✘ (0.0) | | No MS-Windows Hungarian (dw/lp/sz/b/h...) >10% | ✔ (5.1) | ✔ (0.0) | ✔ (1.2) | ✔ (0.0) | ✔ (6.4) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.8) | ✔ (7.5) | ✔ (0.0) | ✔ (0.0) | | Little snake_case (<5% of declared names) | ✘ (46.8) | ✘ (5.9) | ✘ (17.4) | ✘ (49.5) | ✘ (5.7) | ✘ (52.4) | ✘ (32.7) | ✘ (21.7) | ✘ (16.2) | ✘ (30.0) | ✘ (15.2) | ✔ (4.0) | ✘ (8.7) | ✘ (45.9) | | No m/m_ member prefix | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.4) | ✔ (0.0) | ✔ (0.0) | | No goto (<1 per KLOC) | ✘ (1.5) | ✔ (0.0) | ✔ (0.0) | ✔ (0.23) | ✘ (3.83) | ✘ (30.06) | ✘ (15.5) | ✘ (1.43) | ✔ (0.0) | ✔ (0.0) | ✘ (4.03) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Rare "== NULL" comparisons (<5 per KLOC) | ✘ (6.4) | ✔ (0.0) | ✔ (0.0) | ✘ (29.15) | ✘ (5.62) | ✔ (0.96) | ✘ (53.16) | ✘ (15.06) | ✔ (0.0) | ✔ (0.0) | ✔ (3.3) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Few #defines (<10 per KLOC) | ✘ (17.35) | ✔ (3.19) | ✘ (17.33) | ✘ (10.41) | ✘ (10.47) | ✔ (7.77) | ✘ (49.83) | ✘ (19.84) | ✘ (17.27) | ✔ (7.99) | ✘ (41.04) | ✘ (10.79) | ✔ (4.98) | ✔ (0.0) | | printf-family debug output (>10 per KLOC) | ✔ (18.78) | ✘ (1.06) | ✔ (10.73) | ✔ (12.49) | ✘ (6.13) | ✘ (8.07) | ✔ (44.3) | ✔ (39.45) | ✔ (30.71) | ✘ (1.0) | ✘ (3.3) | ✘ (1.56) | ✘ (0.0) | ✔ (47.26) | | One-line inline bodies "{ return x; }" (>5 per KLOC) | ✘ (0.61) | ✘ (4.26) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.48) | ✘ (4.8) | ✘ (0.0) | ✘ (0.0) | ✔ (42.68) | ✘ (0.0) | ✘ (3.05) | | Lowercase hex literals | ✔ (0.981) | ✘ (0.0) | ✔ (1.0) | n/a | ✔ (1.0) | ✔ (0.812) | ✔ (1.0) | ✘ (0.0) | ✔ (0.909) | ✔ (0.75) | ✔ (0.838) | ✔ (0.977) | ✔ (0.989) | n/a | | Named 64-bit int typedef used (>3 per KLOC) | ✘ (0.07) | ✔ (7.45) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✔ (11.33) | ✘ (0.0) | ✘ (0.0) | ✔ (35.51) | ✔ (3.33) | ✔ (6.23) | ✔ (18.45) | ✔ (4.98) | ✘ (0.0) | | C-prefixed class names (C++ only) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | n/a | n/a | ✘ (0.0) | ✔ (0.739) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | | Custom foreach/loop/lock-block macros | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0.37) | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0) | ✘ (0.16) | ✘ (0) | ✘ (0) | | No space between function name and "(" in calls | ✔ (0.014) | ✔ (0.0) | ✔ (0.0) | ✘ (0.993) | ✔ (0.018) | ✔ (0.004) | ✘ (0.147) | ✔ (0.025) | ✔ (0.0) | ✔ (0.0) | ✔ (0.003) | ✔ (0.0) | ✔ (0.0) | ✔ (0.003) | | Return type on same line as function name (not GNU style) | ✔ (0.033) | n/a | ✔ (0.0) | ✔ (0.004) | ✔ (0.031) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | n/a | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | PascalCase function/method names (>60%) | ✘ (0.4) | ✘ (13.0) | ✘ (0.0) | ✘ (0.0) | ✘ (30.1) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✘ (0.0) | ✔ (68.9) | ✘ (0.0) | ✘ (12.4) | ✘ (13.5) | ✔ (83.3) | | Boolean flags prefixed f (fFoo), not b (bFoo) | n/a | n/a | n/a | n/a | n/a | n/a | n/a | n/a | n/a | ✔ (f=8,b=0) | n/a | ✘ (f=0,b=63) | n/a | n/a | | **Habits matched** | **8/23** | **10/22** | **10/23** | **9/22** | **8/23** | **9/23** | **7/22** | **6/22** | **11/22** | **17/24** | **10/23** | **16/24** | **14/23** | **13/22** | --- ### 3d. Checklist for Dan Kaminsky (fourth pass) | Habit (Satoshi v0.1.0) | Satoshi v0.1.0 | Kaminsky Paketto 2.00pre5 (2002–03) | Kaminsky DakaRand (2012) | |---|---|---|---| | Spaces (not tabs) for indentation | ✔ (0.0) | ✘ (0.714) | ✘ (0.802) | | 4-column indent unit | ✔ (4.0) | ✘ (3.0) | ✘ (3.0) | | Allman braces (opening { on own line) | ✔ (0.999) | ✘ (0.414) | ✘ (0.067) | | Never "} else" on one line | ✔ (0.0) | ✘ (8.22) | ✘ (2.3) | | Space between if/for/while and "(" | ✔ (1.0) | ✘ (0.307) | ✘ (0.037) | | Pointer/ref attached to type ("CNode* p") | ✔ (0.973) | ✘ (0.011) | ✘ (0.0) | | // line comments, not /* */ | ✔ (0.99) | ✘ (0.299) | ✔ (0.929) | | Satoshi-style Hungarian (n/f/str/vch/map/p...) >20% of declared names | ✔ (52.6) | ✘ (0.0) | ✘ (0.0) | | No MS-Windows Hungarian (dw/lp/sz/b/h...) >10% | ✔ (1.3) | ✔ (0.0) | ✔ (0.0) | | Little snake_case (<5% of declared names) | ✔ (1.0) | ✘ (36.3) | ✘ (18.8) | | No m/m_ member prefix | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | No goto (<1 per KLOC) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Rare "== NULL" comparisons (<5 per KLOC) | ✔ (2.05) | ✘ (6.36) | ✔ (4.6) | | Few #defines (<10 per KLOC) | ✔ (2.78) | ✔ (5.83) | ✔ (4.6) | | printf-family debug output (>10 per KLOC) | ✔ (22.93) | ✔ (90.14) | ✔ (43.68) | | One-line inline bodies "{ return x; }" (>5 per KLOC) | ✔ (23.83) | ✘ (0.8) | ✔ (55.17) | | Lowercase hex literals | ✔ (0.921) | ✔ (0.864) | n/a | | Named 64-bit int typedef used (>3 per KLOC) | ✔ (16.46) | ✘ (0.0) | ✘ (0.0) | | C-prefixed class names (C++ only) | ✔ (0.853) | ✘ (0.0) | n/a | | Custom foreach/loop/lock-block macros | ✔ (17.12) | ✘ (0) | ✘ (0) | | No space between function name and "(" in calls | ✔ (0.0) | ✘ (0.135) | ✔ (0.0) | | Return type on same line as function name (not GNU style) | ✔ (0.0) | ✔ (0.023) | ✔ (0.0) | | PascalCase function/method names (>60%) | ✔ (88.5) | ✘ (0.0) | ✘ (0.0) | | Boolean flags prefixed f (fFoo), not b (bFoo) | ✔ (f=139,b=0) | n/a | n/a | Totals: **Paketto 7 / 23**, **DakaRand 10 / 21** (n/a items excluded). ### 3e. Checklist for Daira Hopwood (fifth pass) Peter Todd's added Bitcoin Core lines are shown for comparison, because both corpora are post-2009 edits inside a Satoshi-derived codebase. | Habit (Satoshi v0.1.0) | Satoshi v0.1.0 | Hopwood, zcashd added lines (2015–26) | Todd, Bitcoin Core added lines | |---|---|---|---| | Spaces (not tabs) for indentation | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | 4-column indent unit | ✔ (4.0) | ✔ (4.0) | ✔ (4.0) | | Allman braces (opening { on own line) | ✔ (0.999) | ✘ (0.164) | ✘ (0.559) | | Never "} else" on one line | ✔ (0.0) | ✘ (7.67) | ✘ (8.47) | | Space between if/for/while and "(" | ✔ (1.0) | ✔ (1.0) | ✔ (1.0) | | Pointer/ref attached to type ("CNode* p") | ✔ (0.973) | ✔ (0.807) | ✔ (0.714) | | // line comments, not /* */ | ✔ (0.99) | ✔ (0.96) | ✔ (0.969) | | Satoshi-style Hungarian (n/f/str/vch/map/p...) >20% of declared names | ✔ (52.6) | ✔ (25.4) | ✔ (45.1) | | No MS-Windows Hungarian (dw/lp/sz/b/h...) >10% | ✔ (1.3) | ✔ (1.5) | ✔ (0.0) | | Little snake_case (<5% of declared names) | ✔ (1.0) | ✘ (8.5) | ✔ (4.2) | | No m/m_ member prefix | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | No goto (<1 per KLOC) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | Rare "== NULL" comparisons (<5 per KLOC) | ✔ (2.05) | ✔ (1.92) | ✔ (1.41) | | Few #defines (<10 per KLOC) | ✔ (2.78) | ✔ (3.45) | ✔ (1.41) | | printf-family debug output (>10 per KLOC) | ✔ (22.93) | ✘ (9.21) | ✔ (11.3) | | One-line inline bodies "{ return x; }" (>5 per KLOC) | ✔ (23.83) | ✔ (5.95) | ✘ (0.0) | | Lowercase hex literals | ✔ (0.921) | ✘ (0.455) | ✔ (0.882) | | Named 64-bit int typedef used (>3 per KLOC) | ✔ (16.46) | ✔ (20.71) | ✔ (15.54) | | C-prefixed class names (C++ only) | ✔ (0.853) | ✘ (0.111) | n/a | | Custom foreach/loop/lock-block macros | ✔ (17.12) | ✘ (0.58) | ✔ (11.3) | | No space between function name and "(" in calls | ✔ (0.0) | ✔ (0.002) | ✔ (0.0) | | Return type on same line as function name (not GNU style) | ✔ (0.0) | ✔ (0.0) | ✔ (0.0) | | PascalCase function/method names (>60%) | ✔ (88.5) | ✘ (57.4) | ✘ (42.9) | | Boolean flags prefixed f (fFoo), not b (bFoo) | ✔ (f=139,b=0) | ✔ (f=28,b=0) | ✔ (f=13,b=0) | Totals: **Hopwood 16 / 24**; Todd 19 / 23. ## 4. Composite distance (z-scored over 29 continuous style features) The features are standardised across all corpora. The distance is the root-mean-square difference from Satoshi v0.1.0, so 0 means identical and ~1 means about one standard deviation away on an average feature. ``` Standardized Euclidean distance to satoshi_v0.1.0 (lower = more similar), over 29 features: satoshi_v0.1.0 0.0 satoshi_nov2008 0.295 andresen_own_repos_2014_2015 0.809 fields_libbtcnet_2016 0.819 weidai_cryptopp_5.5.2 1.023 andresen_bitcoin_2010_2012_blame 1.058 szabo_jtime_js_2011_2014 1.119 lombrozo_coinclasses_2012_2013 1.202 schnelli_libbtc_2015 1.233 ruffing_accas_2016_2024 1.25 leroux_e4m_2.01 1.328 sassaman_mixmaster_blame 1.338 mixmaster_3.0_project 1.406 finney_rpow_1.2.0 1.408 kaminsky_dakarand_2012 1.426 maxwell_opus_v1.0.0_blame 1.443 back_hashcash_1.21 1.577 zooko_pycryptopp_zfec_2007_2009 1.595 wuille_jif_2011 1.603 kaminsky_paketto_2.00_2002_2003 1.628 hearn_wine_2002_2006_added 1.691 corallo_relaynode_2013_2014 1.701 garzik_pre2010_linuxstyle_c 1.72 mccaleb_newcoin_2011 1.748 dashjr_bfgminer_2012_blame 1.775 hopwood_zcash_2015_2026_added 1.937 todd_bitcoincore_added 2.043 vanderlaan_etnaviv_2012_2013 2.054 maxwell_celt_2008_2009_blame 2.246 grigg_webfunds_java_cvs 2.402 andresen_openinventor_sgi 2.59 daftuar_txrelaysim_2018 2.63 poelstra_ramseyscript_2011_2013 2.747 trammell_snippets 3.424 ``` The z-score standardisation is **frozen to the original eight full-file corpora** (see `similarity.py`), so the first-pass numbers are unchanged and the new rows are directly comparable. Among the original suspects, Wei Dai is closest in **every** sub-group: layout, naming, and comments/idioms. However, his distance (≈1.0) is about 3.5× larger than the distance between Satoshi's own two versions (0.30). **No suspect looks like the same hand on this measure.** --- ## 5. Suspect by suspect, most to least similar, with evidence ### 5.1 Wei Dai (Crypto++ 5.5.2): most similar, but clear differences **Shared with Satoshi:** - C++ with Allman braces (97%) and never `} else`. - `if (` spacing, `//` comments (87%), lowercase hex. - PascalCase method names (93%) and one-line inline bodies in headers. - No `goto`, rare `== NULL`, and named 64-bit types (`word64`). - Satoshi literally used his code, so this is the closest "school". **Different:** - Tabs (98.6%) instead of spaces. - `Type &name` / `Type *p` (name side; only 6% type side) instead of `Type& name`. - `m_` member prefix (5,819 tokens) and no Hungarian (1.9% vs 52.6%). - Class names without `C` (4%). - No `printf` at all; he uses exceptions and `throw` heavily, plus `cout`. - No `loop`/`foreach`/`CRITICAL_BLOCK`-style macros. ```cpp // Wei Dai — cryptopp-5.5.2/files.cpp lines 22-38 (tabs shown as 4 spaces) void FileStore::StoreInitialize(const NameValuePairs ¶meters) { m_file.reset(new std::ifstream); const char *fileName; if (parameters.GetValue(Name::InputFileName(), fileName)) { ... if (!*m_file) throw OpenErr(fileName); m_stream = m_file.get(); } else { m_stream = NULL; ``` ```cpp // Satoshi — bitcoin v0.1.0 src/main.cpp lines 92-113 (4 spaces in the original) 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::iterator, bool> ret = mapWallet.insert(make_pair(hash, wtxIn)); CWalletTx& wtx = (*ret.first).second; bool fInsertedNew = ret.second; if (fInsertedNew) wtx.nTimeReceived = GetAdjustedTime(); //// debug print printf("AddToWallet %s %s\n", wtxIn.GetHash().ToString().substr(0,6).c_str(), fInsertedNew ? "new" : "update"); ``` *(The same function in the Nov 2008 preview, `main.cpp` lines 102-113, is nearly identical, e.g. `printf("AddToWallet %s %d\n", wtxIn.GetHash().ToString().c_str(), fInsertedNew);`.)* **Verdict:** the bracing and the overall "Windows C++ of the 2000s" look are the same, but the micro-habits (tabs, `&` placement, `m_`, no Hungarian, no printf) differ in ways that are usually stable for one person. Also, Satoshi's normalising of Wei Dai's `sha.cpp` to spaces shows the two had *different* editor settings. ### 5.2 Paul Le Roux (E4M 2.01): the only other Hungarian user, but a different dialect and layout **Shared:** - A Windows programmer, CRLF line endings, Allman braces (100%), no `} else`. - Hungarian-style naming: 9.8% of declared names use Satoshi-type prefixes (`nStatus`, `nIndex`, `nVolType`, `pThreadBlock`), and 26.9% use classic Microsoft Hungarian. - PascalCase function names (73%) and `printf`/`sprintf` use. **Different:** - Classic Microsoft dialect: `hwndDlg`, `szTmp`, `lpszTitle`, `dwResult`, and booleans are **`bFoo`** (90 vs 3 `fFoo`), while Satoshi uses `fFoo` 139 vs 0. - Tabs, not spaces. - GNU layout: return type on its own line (99.6%) and **a space before call parentheses** (97.5%, e.g. `DeleteObject (hSmallFont);`). Satoshi has 0%. - `/* */` comments only. Frequent `goto` (10.7 per KLOC) and `== NULL`. `return TRUE/FALSE`. Plain C with no classes. ```c /* Le Roux — e4m201/common/Dlgcode.c (tabs) */ void cleanup () { /* Cleanup the GDI fonts */ if (hSmallFont != NULL) DeleteObject (hSmallFont); ... /* Close the device driver handle */ if (hDriver != INVALID_HANDLE_VALUE) { CloseHandle (hDriver); } ``` **Verdict:** a superficial match (Hungarian, Windows, Allman), but several strongly individual habits contradict Satoshi's: the call-paren space, GNU function headers, `/* */`, `b` versus `f` flags, and goto. ### 5.3 Len Sassaman (Mixmaster 3.0): low - The project code is K&R braces (`if (...) {`, 76%), 2-space indent, `} else` on one line, snake_case/lowercase names, `/* */` comments only, `Type *p`, frequent `goto` (14.9 per KLOC) and `return (-1)`. - Sassaman-attributed lines (1,510 blame lines) are the same: K&R 83%, cuddled else, lowercase C names. ```c /* Sassaman (git blame d2f0a7b6, 2002-07-22, "Added support for AES in Type I messages") — Src/crypto.c */ int buf_aescrypt(BUFFER *buf, BUFFER *key, BUFFER *iv, int enc) { int n = 0; AES_KEY ks; if (key == NULL || key->length == 0) return (-1); ``` **Verdict:** little in common beyond generic C conventions. Note the weak attribution (§1). ### 5.4 Hal Finney (RPOW): low - C in GNU style: return type on its own line (96.5%), `func (args)` with a space (80%), tabs, `/* */` comments only. - `goto error;` error handling (12.7 per KLOC), `return -1` codes, `Type *p`, all-lowercase identifiers (95% are plain lowercase words such as `buf`, `rc`, `size`). No Hungarian at all. ```c /* Finney — RPOW client/rpowutil.c lines 148-164 (tabs) */ /* Read an rpow value */ rpow * rpow_read (rpowio *rpio) { rpow *rp = calloc (sizeof(rpow), 1); int hclen; int value; gbig_init (&rp->bn); if (rp_read (rpio, &rp->type, 1) != 1) goto error; ``` **Verdict:** a very different personal style. Finney's RPOW is also C rather than C++, which is part of the gap. ### 5.5 Adam Back (hashcash 1.21): low on the composite, though a few surface matches **Shared:** pointer on the type (`DB* h`, `const char* key`, 91.5%), no call-paren space, and `printf`. **Different:** - Very distinctive **padded parentheses** `if ( fd == -1 ) { goto fail; }` (1,566 padded vs 261 unpadded; Satoshi has 2 padded). - Braces on the same line (Allman only 18.5%), braces around one-line bodies, `} else`. - Mixed tab/space indentation, snake_case (41%), `goto fail`, uppercase hex, many `#define`s (61 per KLOC) and `/* */` only. ```c /* Back — hashcash-1.21/sdb.c lines 38-51 */ int sdb_open( DB* h, const char* filename, int* err ) { int fd = 0 ; FILE* fp = NULL ; *err = 0; h->file = NULL; if ( filename == NULL ) { return 0; } fd = open( filename, O_RDWR | O_CREAT, S_IREAD | S_IWRITE ); if ( fd == -1 ) { goto fail; } ``` **Verdict:** apart from `T* p`, essentially nothing distinctive matches. ### 5.6 Jed McCaleb (newcoin 2011): farthest on the composite, and contaminated by Bitcoin **Different:** - `if(` with no space (97%), `return(x)` in parentheses (50 per KLOC), `a=b` and `x,y` without spaces. - camelCase methods (74%) and an `mFoo` member prefix (450 tokens). Tabs. - No `printf`; he uses `cout` and Boost. **Matches** (`BOOST_FOREACH`, `int64`, `Type* p`, Allman, `//`) are expected from someone who started from Bitcoin's code. His repo literally contains Satoshi's `uint256.h`, `bignum.h`, `key.h` and so on, and this is post-2009 code. ```cpp // McCaleb — rippled @aa7946dc LedgerMaster.cpp lines 60-70 (tabs) bool LedgerMaster::isValidTransaction(TransactionPtr trans) { if(trans->from()==trans->dest()) return(false); if(trans->amount()==0) return(false); if(!Transaction::isSigValid(trans)) return(false); Ledger::Account* account=mCurrentLedger->getAccount( protobufTo160(trans->from()) ); if(!account) return(false); ``` **Verdict:** least similar. His very compact spacing is the opposite of Satoshi's consistently spaced code. ### 5.7 Gavin Andresen: three corpora showing how style is *learned* - **Pre-Bitcoin, SGI Open Inventor, ~1991–96 (sole-author files): distance 2.59, 9/23 habits.** This is very far from Satoshi: - Classic SGI layout: return type on its own line (96%), K&R braces inside functions, `} else`. - Mixed tab/space indentation and `Type *p` (type side only 6%). - camelCase methods and members (`numIndices`, `whichToTraverse`); no Hungarian (1.3%). - A 52% comment-line share driven by SGI's mandatory `////…// Description: … // Use: extender` templates, used by all SGI authors. Those banners are **house style**, so they are not evidence of a link to Satoshi's `//////` separators. - **Bitcoin 2010–12 (blame lines): distance 1.06, 20/24 habits.** He writes like Satoshi: 4 spaces, Allman, `fFoo`/`nFoo`/`strFoo` Hungarian (37%), `Type& x`, `foreach`, `printf`, `int64`. This is because he was editing Satoshi's codebase under Satoshi's conventions. - **His own repos 2014–15: distance 0.81, which is numerically the closest of anyone.** He keeps 4-space indent, `//`, `Type& x`, lowercase hex and Allman for function bodies. But inside functions he uses K&R `for (...) {` (Allman ratio 0.34), snake/camel variable names (Hungarian only 5%) and `uint64_t`/`std::` types. ```cpp // Gavin Bell, 1990s — open-inventor @791cc9c lib/database/src/so/nodes/SoLOD.c++ lines 237-259 (tab = 8 cols) SoLOD::GLRender(SoGLRenderAction *action) // //////////////////////////////////////////////////////////////////////// { int numIndices; const int *indices; switch (action->getPathCode(numIndices, indices)) { case SoAction::NO_PATH: case SoAction::BELOW_PATH: SoLOD::GLRenderBelowPath(action); break; ``` ```cpp // Gavin Andresen, 2014 — IBLT_Cplusplus @db28fd0f iblt.cpp lines 71-85 void IBLT::_insert(int plusOrMinus, uint64_t k, const std::vector v) { assert(v.size() == valueSize); std::vector kvec = ToVec(k); size_t bucketsPerHash = hashTable.size()/N_HASH; for (size_t i = 0; i < N_HASH; i++) { size_t startEntry = i*bucketsPerHash; ``` **Verdict:** this is the clearest evidence in the whole study that **code-style similarity can be acquired.** Gavin's independent pre-2010 code is among the *least* Satoshi-like, while his post-2010 code drifts toward Satoshi's after years in Satoshi's codebase. His low 2014 distance should not be read as evidence that he is Satoshi. It also argues against his candidacy on style grounds, because his pre-Bitcoin habits (GNU-style headers, K&R inner braces, `Type *p`, camelCase, no Hungarian) don't match Satoshi's. ### 5.8 Peter Todd (Bitcoin Core, his added lines 2012–2023): matches conventions, but they are inherited - 19/23 habits are shared: 4 spaces, `fFoo`/`nFoo` Hungarian (45%), `Type& x`, `int64`, `//` comments, `LOCK`/`foreach` macros, printf/`error()`. - Distance is 2.04. The naming sub-distance is only 0.46, but comment/idiom density is far off: diff fragments are comment-heavy (37% comment lines) and he uses some K&R braces (Allman 0.56) and `} else`. - **Confound:** every line is written inside Satoshi's codebase, under its conventions and later Core style rules, after 2012. It cannot tell us anything about his own pre-2009 style, and he has no pre-2009 C/C++ public code. ```cpp // Peter Todd — bitcoin/bitcoin src/main.cpp, added in his commit 28bf0623 (2015-05-25, "Fix off-by-one error w/ nLockTime in the wallet") bool CheckFinalTx(const CTransaction &tx) { AssertLockHeld(cs_main); return IsFinalTx(tx, chainActive.Height() + 1, GetAdjustedTime()); } ``` ### 5.9 Nick Szabo (jTime, JavaScript, 2011–14): mid-table, but the language mismatch dominates - Distance 1.12; 10/19 applicable habits. - **Shared:** spaces, `if (` spacing, `//` comments, no space before call parens. - **Different:** 2–3-space indent, K&R braces (Allman 0.9%), `} else`, camelCase (JS convention), no Hungarian, and a quirk of a **stray `;` after block braces** (`};` after `if` blocks), which Satoshi never does. - His mid-table distance mostly reflects features JS can't express (pointers, classes, hex, macros), which drop out as n/a. - **About the reddit claim** that Szabo alone shares Satoshi's "comment block borders": I checked it. The unscored HTML test page `tests/c.html` (inline JS) *does* contain long `////////…` separator lines (e.g. lines 529, 531, 572, 574 and 584). The scored `jTime.js` has none. Such banners are also not distinctive: SGI's house template uses 1,116 of them in Gavin's 1990s files, and Wei Dai's Crypto++ has 2. This is a real but weak point of contact. ```javascript // Nick Szabo — nicksz/jTime @f7511b2e jTime.js lines 150-161 JTime.prototype.every = function(period, start, timeout, actionObj, context) { var p; var curTime = (new Date()).getTime(); if (timeout <= start) { console.error("jTime.every() ERROR: timeout must be greater than start"); return; }; ``` ### 5.10 Zooko Wilcox-O'Hearn (pycryptopp + zfec, 2007–09): low (distance 1.60, 8/20) - K&R braces everywhere (Allman 0%), `/* */` comments (97%), `goto` error handling (19.5 per KLOC, the CPython idiom), snake_case (13.5%), no Hungarian, `Type *p`. - He shares 4-space indent and PascalCase method names; the latter come from Crypto++/CPython type-method naming. - Much of this is imposed by the Python C-API. ```c /* Zooko — tahoe-lafs/zfec @6c11c740 zfec/zfec/_fecmodule.c lines 54-68 */ static int Encoder_init(Encoder *self, PyObject *args, PyObject *kwdict) { static char *kwlist[] = { "k", "m", NULL }; int ink, inm; if (!PyArg_ParseTupleAndKeywords(args, kwdict, "ii:Encoder.__init__", kwlist, &ink, &inm)) return -1; ``` ### 5.11 Ian Grigg (WebFunds/SOX Java, 2000–01): low (distance 2.40, 11/22) - Java, as committed via CVS. The layout is surprisingly close: spaces, mostly Allman (0.68), `if (` spacing (layout sub-distance 0.65). - Naming is Java-standard: camelCase methods (56%), no Hungarian. Comments are Javadoc-heavy (50% comment lines, `/** @param */`). That gives the 4.2 comments/idioms sub-distance. ```java // Ian Grigg — webfunds/sox/AccountId.java, CVS commit by iang (webfunds-commits archive, 2000) public String fp() { if (id == null || id.length == 0) return ""; ``` ### 5.12 Dustin Trammell (C snippets): least similar (distance 3.42, 6/19) - Only 509 lines, so this result is unreliable. - Tabs, K&R, **`if( x )` with no keyword space but padded parens** (the opposite of Satoshi), `/* */` only, `} else`, heavy `printf`. ```c /* Trammell — dustintrammell.com/s/printhex.rtf (converted) */ void printhex( unsigned char *buf, int size ) { int x, y; for( x=1; x<=size; x++ ) { ``` --- ### 5.13 Bitcoin Core contributors, scored on code **outside** Bitcoin Core (third pass) The distance and habit count are the same frozen 29-feature measure and 24-habit checklist (see §3c and §4). For calibration: Satoshi Nov 2008 vs v0.1.0 = **0.30**, and the closest independent pre-2009 suspect (Wei Dai) = **1.02**. **Pre-Bitcoin or fully independent code (the rows that matter most):** - **Mike Hearn, Wine 2002–06 (1.69, 8/23).** Mixed indentation (4-space, 12% tabs), only 52% Allman, no `//` comments at all (Wine banned C++ comments), 3.8 `goto`/KLOC, and Win32 Hungarian at 6.4% (`BOOL`, `DWORD`, `LPWSTR`, `bFocussed`). Layout is moderately close (1.08) because of Win32 API conventions. Idioms are far (2.67). Wine's house rules shape all of it. - **Jeff Garzik, nfs4d/itd/hail 2005–09 (1.72, 9/23).** Pure Linux-kernel C: 99.6% tab indentation, 29% Allman (only function bodies), no `//` comments, `T *p`, 52% snake_case, **30 `goto`/KLOC**, no PascalCase. Opposite of Satoshi on nearly every naming and comment habit, though it is very consistent kernel style, so it reflects a convention as much as the person. - **Gregory Maxwell, CELT 2008–09 (2.25, 7/22) and Opus v1.0.0 (1.44, 6/22).** Xiph style: `/* */` only, 3-space indent in CELT, `T *p`, 15.5 `goto`/KLOC (CELT), snake_case. His Opus test files use dense one-line expressions without spaces, e.g. `if(((c==1||c==2)&&(i<=2048||i>1<<16))||…)test_failed();` (keyword spacing drops to 18% in the Opus corpus), which is the opposite of Satoshi's consistent `if (`. The Opus row sits mid-table only because layout and naming happen to be average. - **Pieter Wuille, JIF 2011 (1.60, 10/22).** 2-space indent, almost pure K&R (Allman 4%), cuddled `} else` (10.7/KLOC), `//` comments (95%, which matches), `T *p` (only 22% type-side), and 85% all-lowercase function names (PascalCase 13%). The layout sub-distance (1.85) is one of the farthest. - **Wladimir van der Laan, etna_viv 2012–13 (2.05, 8/23).** 4-space, mixed brace style (59% Allman), `/* */` comments (`//` only 24%), `struct etna_ctx *ctx` (pointer on the name in 99.5% of cases), snake_case (47%), many `#define`s (17/KLOC). Mesa/Gallium conventions apply to `driver/`, but his own `etnaviv/`, `fb/` and `lib/` code is the same. - **Andrew Poelstra, RamseyScript 2011–13 (2.75, 9/22).** GNU flavour: 2-space indent, Allman 93%, **`func (x)` with a space before the call paren in 99% of calls**, `/* */` only, snake_case 50%, many `== NULL`. Among the farthest of all corpora. **Bitcoin-adjacent code (outside Satoshi's codebase, but written after years of Bitcoin work):** - **Cory Fields, libbtcnet 2016 (0.819, 17/24): numerically the closest non-Satoshi corpus measured so far**, essentially tied with Gavin's own 2014–15 repos (0.809). It has `C`-prefixed classes (74%: `CConnectionBase`, `CProxyAuth`, `CRateLimit`), `fFoo` booleans (`fBadMsgStart`, `fComplete`, `fOneShot`), PascalCase methods (69%), `T* p` (98%), `//` comments (93%) and 4-space indentation. Every one of these is a **Bitcoin Core house convention**, and he wrote this in 2016 after years as a Core developer. It differs from Satoshi on K&R `} else` (8.3/KLOC), snake_case locals (30%) and almost no printf. This is inherited style, exactly like Gavin 2014–15. - **Eric Lombrozo, CoinClasses 2012–13 (1.20, 16/24).** `T* p` 97%, `//` 99%, 4-space, no goto. But he uses **`bFoo` booleans (63 vs 0 `f`)**, i.e. Microsoft Hungarian, not Satoshi's `f`. Classes are not C-prefixed, and PascalCase functions are only 12%. - **Jonas Schnelli, libbtc 2015 (1.23, 10/23).** C, 4-space, `T *p` (94% name-side), `/* */` mostly, `btc_`-prefixed snake_case, 41 `#define`/KLOC. Picocoin/trezor-crypto conventions. - **Tim Ruffing, accas 2016–24 (1.25, 14/23).** Modern C++, `T* p`, `//`, 4-space, but K&R (Allman 33%) and no Hungarian. Small (803 lines). - **Matt Corallo, RelayNode 2013–14 (1.70, 11/22).** Tabs (98%), **K&R almost everywhere (Allman 1%)**, `} else` 16/KLOC, lowercase/snake function names, `int64_t`. The layout sub-distance (2.12) is among the farthest. - **Luke Dashjr, bfgminer 2012 lines + libbase58 (1.78, 10/23).** Tabs, `T *p`, cgminer conventions, snake_case. The idiom sub-distance is far (2.75). - **Suhas Daftuar, tx-relay-simulation 2018 (2.63, 13/22).** One 656-line file. Has PascalCase functions (83%) and `//` comments, but K&R, `T *p`, snake_case locals and no `int64` typedef. Too small to read much into. **Net result for this pass:** none of these contributors' independent code resembles Satoshi's more than Wei Dai's does. The only rows near Satoshi (Fields 0.82, Lombrozo 1.20) are Bitcoin-adjacent code written years after joining Bitcoin, and Fields' similarity is fully explained by Core's conventions (`CFoo`, `fFoo`, PascalCase methods), which Satoshi originated. The genuinely pre-Bitcoin code (Hearn's Wine 2002–06, Garzik's daemons 2005–09, Maxwell's CELT 2008–09) is 1.69–2.25 away, i.e. 6–8× the Nov 2008–v0.1 gap. Each of those three is dominated by an imposed C project style (Wine, Linux kernel, Xiph) that is the opposite of Satoshi's on comments, pointer placement, goto and naming. ### 5.14 Dan Kaminsky (Paketto 2002–03, DakaRand 2012): low (1.63 and 1.43; 7/23 and 10/21) - **Paketto Keiretsu 2.00pre5 (pre-Bitcoin C, 3,772 code lines): distance 1.63, 7/23 habits.** Sub-distances: layout 1.25, naming 1.60, comments/idioms 2.12. - **Tabs** (71% of indented lines) with a 3-column unit, where Satoshi uses 4 spaces. - **Mixed braces** (Allman only 41%) with `} else` 8.2 per KLOC, where Satoshi is ~100% Allman and never uses `} else`. - `if(` without a space (keyword space 31%). - `T *p` pointers (pointer on the type side 1%). - Mostly `/* */` comments (`//` 30%). - **snake_case names (36% of declared names)** with `pk_` prefixes. No Hungarian of either kind: Satoshi-style prefixes 0%, Windows Hungarian 0%. - Heavy `printf`/`fprintf` (90 per KLOC) and `== NULL` 6.4 per KLOC. - Matches with Satoshi: no goto, few `#define`s, return type on the same line, no `m_` prefixes, lowercase hex. - Overall this is Unix/libpcap/libnet C culture. - **DakaRand (2012, 435 code lines): distance 1.43, 10/21 habits.** Sub-distances: layout 1.54, naming 1.50, idioms 1.08. - Tabs (80%), K&R braces (Allman 7%), `if(`, `T *p`, snake_case (19%). - `//` comments 93% and many one-line bodies (55 per KLOC), both of which match Satoshi. - **Small, single file**: the distance is unstable. - **Verdict:** both Kaminsky corpora sit in the lower half of the table. The pre-2009 code (Paketto) is about 5.5× the Nov-2008→v0.1 gap (0.30) from Satoshi. It shares none of Satoshi's distinctive markers: 4-space Allman, `CFoo` classes, `fFoo`/`nFoo`/`vch`/`psz` Hungarian, `T* p`, custom loop/lock macros, `int64` typedefs. - **Caveats:** - Paketto is C and Satoshi is C++; this language gap pushes C corpora away, as noted for Finney, Back and Le Roux. - Jason Spence is credited with "programmatic minutae", so a minority of lines may be his. There is no per-line history to separate them. - The archive is a third-party GitHub import. I could not checksum it against the original DoxPara tarball (404). ### 5.15 Daira Hopwood (zcashd added lines 2015–26): low (1.94, 16/24), and the matches are inherited - **Distance 1.94 (rank 24 of 32 rows), 16/24 habits.** Sub-distances: layout 2.47, naming 0.79, comments/idioms 1.76. - **What matches Satoshi:** 4-space indentation, no tabs, `if (`, `T* p` / `T& x` (pointer on the type side 81%), `//` comments (96%), `fFoo` booleans (f=28, b=0), Satoshi-style prefixes on 25% of declared names, the `int64_t` typedef family, no `goto`, few `#define`s and `== NULL`, no `m_` members. - Every one of these is a **Bitcoin Core / zcashd house convention**: zcashd is a fork of Bitcoin Core 0.11.2, and its code still carries Satoshi's `nFoo`/`fFoo`/`CFoo` names. This is the same inherited-style confound as Peter Todd (§5.8), whose added Bitcoin Core lines score 19/23 at distance 2.04. - **What differs:** braces are mostly K&R (Allman 16%, `} else` 7.7 per KLOC), where Satoshi is ~100% Allman and never writes `} else`. Snake_case is 8.5% of declared names (Satoshi 1%). Only 11% of declared classes are `C`-prefixed and 57% of functions are PascalCase (Satoshi 85% and 89%). Hex literals are mostly uppercase (lowercase 46%). Custom loop/lock macros are nearly absent (0.6 per KLOC; Satoshi 17). Lines are much longer: mean 56.4 and 95th percentile 112 characters, against Satoshi's 33.3 and 83. Together with the braces, this drives the large layout sub-distance. - Example (zcashd `src/main.cpp`, commit `473a11324`, Daira Hopwood, 2018-04-04 01:28:57 +0100, "Don't increase banscore if the transaction only just expired"): ```cpp // Don't increase banscore if the transaction only just expired int expiredDosLevel = IsExpiredTx(tx, nHeight - 1) ? dosLevel : 0; return state.DoS(expiredDosLevel, error("ContextualCheckTransaction(): transaction is expired"), REJECT_INVALID, "tx-overwinter-expired"); ``` - **Verdict:** in the lower half of the table, close to Todd. The code says nothing about Hopwood's own pre-2009 C++ style, because none could be found (their pre-2009 public code is Java, see §1). The Satoshi-like naming is inherited, and even with that help the layout is far from Satoshi's. - **Caveats:** - Post-2015, and about 80% from 2020–26, so it is 11–17 years after Satoshi's code. - Fragment corpus (diff hunks), so function-level metrics are skipped; 48 comment-split hunks were dropped (see §1e). - zcashd's later style rules (clang-format, review norms) are imposed on all contributors. - Git author time zones on these commits are +0000/+0100 in every year 2015–2026 (a UK clock), apart from four commits at −0600, −0800 and +1200. ## 6. Ranked summary (merged, all five passes; sixth-pass all-suspect table is in §9) The distance is the same 29-feature z-scored distance to Satoshi v0.1.0 (standardisation frozen to the original 8 full-file corpora; lower means more similar). "Habits" is the 24-item checklist count. **Bold** names mark code written before 2009 or fully independent of Bitcoin. *Inherited* marks code written inside Satoshi's codebase. *Adjacent* marks code outside it but written after years of Bitcoin work. *Imposed* marks rows dominated by a project house style. | Rank | Suspect / corpus | Lang, era | Distance | Habits | Key point | |---|---|---|---|---|---| | — | *Satoshi Nov 2008 (control)* | C++ 2008 | *0.30* | *23/24* | *Same author; what "very similar" looks like* | | 1 | Gavin Andresen, own repos | C++ 2014–15 | 0.81 | 15/23 | *Inherited/adjacent* after 4+ years in Satoshi's code | | 2 | Cory Fields, libbtcnet | C++ 2016 | 0.82 | 17/24 | *Adjacent*: Core conventions (`CFoo`, `fFoo`, PascalCase); K&R `} else`, snake locals | | 3 | **Wei Dai, Crypto++ 5.5.2** | C++ ≤2007 | 1.02 | 15/23 | **Closest independent pre-2009 code** | | 4 | Gavin Andresen, Bitcoin 2010–12 lines | C++ 2010–12 | 1.06 | 20/24 | *Inherited* | | 5 | Nick Szabo, jTime | JS 2011–14 | 1.12 | 10/19 | Language mismatch | | 6 | Eric Lombrozo, CoinClasses | C++ 2012–13 | 1.20 | 16/24 | *Adjacent*; `bFoo` booleans (MS Hungarian, not Satoshi's `f`) | | 7 | Jonas Schnelli, libbtc | C 2015 | 1.23 | 10/23 | *Adjacent*; `T *p`, `/* */`, `btc_` snake_case | | 8 | Tim Ruffing, accas | C++ 2016–24 | 1.25 | 14/23 | *Adjacent*; K&R, no Hungarian; small | | 9 | **Paul Le Roux, E4M 2.01** | C 1998–99 | 1.33 | 7/24 | MS-dialect Hungarian, GNU headers | | 10 | Len Sassaman, Mixmaster blame lines | C ≤2008 | 1.34 | 10/22 | Weak attribution | | 11 | Mixmaster 3.0 (project) | C 2008 | 1.41 | 6/23 | — | | 12 | **Hal Finney, RPOW** | C 2004–05 | 1.41 | 8/23 | GNU style, goto | | 13 | **Dan Kaminsky, DakaRand** | C 2012 | 1.43 | 10/21 | Independent but post-Bitcoin; one small file; tabs/K&R/`//` | | 14 | Gregory Maxwell, Opus v1.0.0 lines | C 2008–12 | 1.44 | 6/22 | *Imposed* Xiph style; `if(`-dense tests | | 15 | **Adam Back, hashcash 1.21** | C ~2006 | 1.58 | 10/22 | `if ( x )`, K&R | | 16 | **Zooko, pycryptopp/zfec** | C++/C 2007–09 | 1.60 | 8/20 | Python-C-API idioms | | 17 | **Pieter Wuille, JIF** | C 2011 | 1.60 | 10/22 | 2-space K&R, `} else`, `//` | | 18 | **Dan Kaminsky, Paketto Keiretsu 2.00pre5** | C 2002–03 | 1.63 | 7/23 | Pre-Bitcoin independent; tabs, mixed braces, snake_case `pk_`, `/* */` | | 19 | **Mike Hearn, Wine added lines** | C 2002–06 | 1.69 | 8/23 | *Imposed* Wine style; Win32 Hungarian, no `//`, goto | | 20 | Matt Corallo, RelayNode | C++ 2013–14 | 1.70 | 11/22 | *Adjacent*; tabs, K&R 99% | | 21 | **Jeff Garzik, nfs4d/itd/hail** | C 2005–09 | 1.72 | 9/23 | *Imposed* Linux-kernel style; tabs, goto 30/KLOC | | 22 | Jed McCaleb, newcoin | C++ 2011 | 1.75 | 14/23 | *Inherited* matches | | 23 | Luke Dashjr, bfgminer lines + libbase58 | C 2012–14 | 1.78 | 10/23 | *Adjacent/imposed* (cgminer) | | 24 | Daira Hopwood, zcashd added lines | C++ 2015–26 | 1.94 | 16/24 | *Inherited* (zcashd = Bitcoin Core fork); K&R `} else`, few `CFoo`; no pre-2009 C/C++ exists | | 25 | Peter Todd, Bitcoin Core added lines | C++ 2012–23 | 2.04 | 19/23 | *Inherited* | | 26 | **Wladimir van der Laan, etna_viv** | C 2012–13 | 2.05 | 8/23 | `/* */`, `T *p`, snake_case; Mesa conventions in part | | 27 | **Gregory Maxwell, CELT lines** | C 2008–09 | 2.25 | 7/22 | *Imposed* Xiph style; 3-space, goto | | 28 | Ian Grigg, WebFunds | Java 2000–01 | 2.40 | 11/22 | Language mismatch | | 29 | **Gavin Bell (Andresen), SGI Open Inventor** | C++ ~1991–96 | 2.59 | 9/23 | His real pre-Bitcoin style is far | | 30 | Suhas Daftuar, tx-relay-simulation | C++ 2018 | 2.63 | 13/22 | *Adjacent*; one small file | | 31 | **Andrew Poelstra, RamseyScript** | C 2011–13 | 2.75 | 9/22 | GNU-ish `func (x)`, 2-space, `/* */` | | 32 | Dustin Trammell, snippets | C, undated | 3.42 | 6/19 | Tiny sample | | — | James A. Donald, Crypto Kong | VB5 app + VC++ 5 OCX, 1998 | not measured (binary traits only) | — | Source not obtained; installer unpacked (§10). Main program is VB5, not C++. | | — | Falke, Morcos, O'Connor, Strateman, Nick, Malmi, Hanyecz, Schneider, and others | — | no usable code | — | See §1 no-code table | **Fifth pass (Hopwood):** the only scorable C/C++ is their 2015–26 zcashd added lines (1.94, 16/24, rank 24). It sits next to Peter Todd's Bitcoin Core lines and for the same reason: the Satoshi-like naming is inherited from a Bitcoin-derived codebase, while the brace and layout habits differ. Their pre-2009 code is Java (Cryptix) and their 2009+ Tahoe-LAFS work is Python, so there is no pre-Bitcoin C/C++ to test. **Fourth pass (Kaminsky):** his pre-Bitcoin Paketto C (1.63, 7/23) and his 2012 DakaRand (1.43, 10/21) both rank in the lower half. Neither changes the conclusion below. **Bottom line (updated):** Among **independent, pre-Bitcoin** code, Wei Dai's Crypto++ remains the closest (1.02). Adding thirteen Core contributors' outside-Bitcoin code did not change that. Their pre-2009 or independent C (Hearn 1.69, Garzik 1.72, Wuille 1.60, van der Laan 2.05, Maxwell CELT 2.25, Poelstra 2.75) is all far from Satoshi and mostly shaped by C project conventions. The only contributor rows that come close (Fields 0.82, Lombrozo 1.20) are post-2012 Bitcoin-adjacent C++ that reuses Satoshi-originated conventions, the same "learned style" effect seen with Gavin. ## 7. Caveats and confounds (please read) 1. **Style similarity is weak evidence of identity.** Layout and naming are learned conventions, editor-driven and easy to change. Someone hiding their identity could deliberately change style. 2. **Language:** - Finney, Back, Le Roux and Mixmaster are **C**; Satoshi, Wei Dai and McCaleb are **C++**. C cannot show classes, templates, references or STL, and C culture favours `goto`, `/* */`, snake_case and `== NULL`. This automatically pushes the C corpora away from Satoshi. - None of the C-only suspects has comparable pre-2009 C++ code that I could find. 3. **Era:** the code spans 1998 (E4M) to 2011 (newcoin). Styles drift over a decade. 4. **Project and team conventions:** - Crypto++ is a library with its own conventions. - Mixmaster's style was set by earlier authors (Lance Cottrell, Ulf Möller). Sassaman was mostly the committer, so even the blame-filtered lines may include code others wrote. - McCaleb's newcoin was built on Bitcoin's code, so any Satoshi-like features there are probably inherited. 5. **Windows/MFC culture:** Hungarian notation, Allman braces, PascalCase and CRLF were the norm among Visual C++ programmers around 2000. Sharing them (Le Roux, Satoshi, partly Wei Dai) points to the same programming culture, not the same person. Satoshi's `f`/`n`/`vch`/`psz`/`str`/`map` mix is a *personal variant*, though: Microsoft's own convention uses `b` for booleans. 6. **Generated and third-party code:** I removed wxFormBuilder output, bundled third-party crypto, getopt and Boost/JSON code, but contamination may remain (for example, some Crypto++ files include contributed code noted in their headers, such as `integer.cpp`). 7. **The metrics are heuristic.** They are regex-based measurements on code with comments and strings stripped, not a full C++ parser. The declared-name extraction and function-length estimates are approximate; ratios are more reliable than absolute counts. Thresholds in the checklist are judgment calls. The composite distance depends on which features are included and on the set of corpora (z-scores). 8. **Line endings (CRLF)** reflect how an archive was produced as much as the author. Git repos often normalise to LF. I did not use them in the scores. 9. **Missing data:** - James A. Donald's Crypto Kong / KongTools C++ source remains the main untested suspect who is *reported* to have real C++. On 26 November 2026 only the Windows installer `KongSetup.exe` could be fetched; the source was not obtained. The installer was unpacked: `Kong.exe` is Visual Basic 5 and `KongTools.ocx` is a small VC++ 5 control (§10). No 29-feature distance is assigned. - Hal Finney's PGP work and any private code of the other suspects are not covered. 10. **Inherited style (second pass):** Andresen 2010–12, Todd and McCaleb wrote code inside or after Bitcoin's codebase, so their Satoshi-like naming (`fFoo`, `nFoo`, `strFoo`), `foreach`/`LOCK` and `int64` are copied conventions. Gavin's 1990s SGI code shows how different an author's independent style can be from the conventions he later adopts. 11. **Language mismatch (second pass):** Szabo (JavaScript) and Grigg (Java) cannot express several features, which become n/a; JS/Java idioms (camelCase, Javadoc, K&R) also pull them away. Compare their layout sub-distances rather than the total. 12. **Fragment corpora:** the blame, added-line and CVS corpora (Sassaman, Andresen 2010–12, Todd, Grigg) are snippets, not whole files. Function-level metrics are skipped, and comment density is inflated because commit hunks are often comment-heavy (Todd 37%, Grigg 50%). 13. **Small samples:** Trammell (509 lines), Szabo (~665) and Gavin's own repos (860) are small. Per-KLOC rates there are noisy. 14. **House templates:** SGI's mandatory `////… Description:` banners (and similar templates in other companies) show that slash-banner separators are not personal fingerprints by themselves. 15. **Grigg attribution:** CVS commit mails attribute code to the *committer*. Newly added files committed by `iang` may include code drafted by others, even after dropping commits whose log mentions other people. 16. **Third pass, imposed conventions:** Garzik's daemons follow Linux-kernel style. Maxwell's CELT/Opus lines follow Xiph style. Hearn's Wine lines follow Wine's rules (C89, no `//`, Win32 types). Dashjr's bfgminer lines follow cgminer conventions. Part of van der Laan's etna_viv `driver/` follows Mesa/Gallium. These rows measure project style at least as much as personal style. 17. **Third pass, Bitcoin-adjacent rows:** libbtcnet, CoinClasses, libbtc, accas, RelayNode, bfgminer and tx-relay-simulation are outside Satoshi's codebase, but their authors had worked in or around Bitcoin Core for years. Satoshi-like features there (`CFoo`, `fFoo`, PascalCase, `T* p`) are expected to be inherited. Only Hearn (2002–06), Garzik (2005–09), Maxwell CELT (2008–09) and, as fully independent but post-2009 code, Wuille JIF (2011), Poelstra (2011–13) and van der Laan (2012–13) are uncontaminated. 18. **Third pass, attribution:** blame credits whoever last touched a line. Raw blame of etna_viv credited van der Laan with ~253k lines of imported vendor/Mesa code, so I kept only files with Etnaviv/van der Laan copyright headers. For Hearn I used lines added in his own commits, which can include code he moved or adapted inside Wine. Maxwell's and Dashjr's rows are fragment corpora (line-level metrics only). 19. **Third pass, small samples:** Daftuar (656 code lines), Ruffing (803), Maxwell CELT (903) and Wuille (939) are small, so per-KLOC rates are noisy. 20. **Fifth pass, Hopwood:** zcashd is a Bitcoin Core fork, so their row has the same inherited-convention confound as Todd and Andresen 2010–12. It is also a fragment corpus, and diff hunks that cut a `/* */` comment in half had to be dropped. Without that filter the comment stripper counts the following code as comment (comment lines 48–57% instead of 23.5%, distance 2.70–4.06 instead of 1.94). The same filter was **not** applied retroactively to the other fragment corpora: their numbers are locked, and a check found only one long block comment (64 lines in the Wine corpus, under 1% of its lines) that could be affected. ## 8. Reproduce ``` cd /workspace/satoshi-code python3 blame_sassaman.py # rebuilds corpus/sassaman_mixmaster_blame python3 style_metrics.py > metrics_table.txt # writes metrics.csv python3 extra_metrics.py # adds call-spacing, GNU-header, casing, bool-prefix, CRLF columns python3 similarity.py > similarity_out.txt # second-pass corpus builders: python3 blame_author.py corpora2/bitcoin v0.7.0 '^Gavin Andresen$' corpus/andresen_bitcoin_2010_2012_blame/gavin_lines.txt python3 added_lines.py corpora2/bitcoin '^Peter Todd ' corpus/todd_bitcoincore_added/todd_lines.txt # third-pass corpus builders (blame at fixed revisions; then header-copyright / generated-file filtering, see §1c): python3 build_author_corpus.py corpora3/jgarzik__nfs4d c09a481357 'Jeff Garzik' # likewise itd d5ab4986b9, hail a129ef0d5c python3 build_author_corpus.py corpora3/opus 74128befe4 'Gregory Maxwell' corpus/maxwell_celt_2008_2009_blame # and v1.0.0 python3 build_author_corpus.py corpora3/laanwj__etna_viv 24ab6f51f9 'Wladimir' # then keep only Etnaviv/vdLaan-(c) files python3 added_lines_any.py corpora3/wine '^Mike Hearn ' corpus/hearn_wine_2002_2006_added/added.txt # fifth pass (Hopwood): zcashd clone at 558f686599 in corpora3/zcash; vendored subtrees, imports, data lines and comment-split hunks are filtered inside the script python3 added_lines_hopwood.py corpus/hopwood_zcash_2015_2026_added/added.txt # (Open Inventor sole-author file list, Zooko/Szabo/Gavin repo copies, WebFunds crawl: corpora2/webfunds/crawl.py; Trammell RTF->txt via LibreOffice) ``` The corpus manifests are the directories under `corpus/` (copies of exactly the files analysed). The raw downloads are in `original-bitcoin/`, `jhuboo-satoshi/`, `bitcoin_src1/`, `RPOW/`, `E4M/`, `cryptopp/` and `corpora/`. ## 9. Sixth pass (26 November 2026): complete suspect census This pass does not change any locked distance or habit count. It widens the *list of people* and records, for each one, a cited public proposal (where one exists) and whether personally authored public C or C++ could be scored with the same 29-feature / 24-habit method. ### 9.1 How the list was built The starting list was everyone already scored or listed as having no usable code in §1–§6. It was then checked against the English Wikipedia article "Satoshi Nakamoto", section "Possible identities", fetched 26 November 2026 (https://en.wikipedia.org/wiki/Satoshi_Nakamoto), and against names already examined in earlier passes even when that article does not currently give them their own subsection. A name is included if a dated, citable public source proposed that person (or a named team) as Satoshi, or if an earlier pass of this study had already treated them as a usual suspect with a stated reason. "Jack Dorsey", "Bram Cohen", "Gwern Branwen" and "Jim Bell" were searched as possible additions; no comparable news or encyclopaedia proposal that *they* are Satoshi was found on 26 November 2026, so they are not listed as suspects. John McAfee appears only as someone who *proposed* Adam Back (2018), not as a candidate in his own right. ### 9.2 Cited proposals and code status Distances below are the locked 29-feature z-distance to Satoshi v0.1.0. "Independent" means the corpus is not written inside Bitcoin Core or a Bitcoin-derived tree and is not obviously dominated by another project's house style. | Person or theory | Who proposed them, and when (cited) | Public C/C++ in this study | |---|---|---| | **Adam Back** | Financial Times team theory with Finney and Szabo, 2016; John McAfee, 2018; YouTube channel Barely Sociable, 2020 (Back denied); HBO *Money Electric*, 2024; John Carreyrou, *The New York Times*, 8 April 2026 (Back denied). All as summarised on Wikipedia "Satoshi Nakamoto", fetched 26 Nov 2026. | **Scored, independent, pre-Bitcoin:** hashcash 1.21, C, distance **1.577**, 10/22 habits. | | **Hal Finney** | First user of the software; Andy Greenberg / *Forbes* and Juola & Associates writing comparison, 25 March 2014; also named in the 2016 FT team theory. A 2026 documentary, *Finding Satoshi*, proposed a Finney–Sassaman partnership (Wikipedia, same fetch). | **Scored, independent, pre-Bitcoin:** RPOW, C 2004–05, **1.408**, 8/23. PGP 2.x was not used (multi-author, no per-line history). | | **Dorian Prentice Satoshi Nakamoto** | Leah McGrath Goodman, *Newsweek*, 6 March 2014; denied. A 7 March 2014 P2P Foundation post under the Satoshi account said "I am not Dorian Nakamoto." | **No usable code.** No public software corpus attributable to him was found. | | **Nick Szabo** | Blogger Skye Grey, December 2013 (stylometry); later Dominic Frisby and Nathaniel Popper (*New York Times*, 2015). | **No pre-2009 C/C++.** Only scored corpus is jTime, JavaScript 2011–14, **1.119**, 10/19, language mismatch. | | **Craig Wright** (sometimes with **Dave Kleiman**) | *Wired* and *Gizmodo*, 8 December 2015. UK High Court (COPA), March 2024: he is not Satoshi; documents he submitted were found to be forged. | **No verifiable pre-2009 C/C++** for Wright. **No public code** for Kleiman. | | **Vili Lehdonvirta** | *The New Yorker*, 2011; denied. | **No public code found** (economist / sociologist). | | **Michael Clear** | *The New Yorker*, 2011; denied. | **No public pre-2009 C/C++ found.** | | **Neal King, Vladimir Oksman, Charles Bry** | Adam Penenberg, *Fast Company*, 2011 (15 August 2008 patent); all three denied. | **No public code**; named only via the patent filing. | | **Shinichi Mochizuki** | Ted Nelson, 2013; denied, *The Age*. | **No public software** (mathematician). | | **Gavin Andresen** | *Vice*, 2013 (with McCaleb, or a government agency). | **Three scored corpora.** Pre-Bitcoin SGI Open Inventor C++ ~1991–96: **2.590**, 9/23 (**independent**, far). Bitcoin 2010–12 blame lines: **1.058**, 20/24 (**inherited**). Own repos 2014–15: **0.809**, 15/23 (**inherited / adjacent**). | | **Jed McCaleb** | *Vice*, 2013. | Early rippled / newcoin, C++ 2011, **1.748**, 14/23 (**inherited** matches). eDonkey / Overnet: closed source. | | **Ross Ulbricht** | Dorit Ron and Adi Shamir, 2013; later retracted. | **No usable public C/C++** attributed to him was scored. | | **“European computer collective”** | Discussed in 2013 (Wikipedia). | **Not a named person**; no corpus. | | **Elon Musk** | Sahil Gupta, Medium, 2017; Musk denied by tweet. | **No personally authored public C/C++ corpus** was identified and scored in this pass. | | **Paul Le Roux** | Evan Ratliff, *WIRED*, 2019. | **Scored, independent, pre-Bitcoin:** E4M 2.01, C 1998–99, **1.328**, 7/24. | | **Len Sassaman** | bitcointalk, 15 March 2013; Evan Hatch, 2021. *Finding Satoshi* (2026) proposed Sassaman with Finney. | **Scored:** Mixmaster blame lines, C ≤2008, **1.338**, 10/22 (weak attribution). Project tree **1.406**. | | **David Chaum** | CoinMarketCap, 2023 (circumstantial). | **No public DigiCash / ecash source** (proprietary, never released). | | **Peter Todd** | Cullen Hoback, HBO *Money Electric*, October 2024; Todd denied. | **No public pre-2009 C/C++.** Bitcoin Core added lines 2012–23: **2.043**, 19/23 (**inherited**). python-bitcoinlib is Python, not scored. | | **Wei Dai** | Not a headline "outing", but a usual suspect because b-money is cited in the whitepaper and Satoshi emailed him. Treated as a usual suspect from the first pass of this study. | **Scored, independent, pre-Bitcoin:** Crypto++ 5.5.2, C++ ≤2007, **1.023**, 15/23. **Closest independent code.** b-money itself had no code. | | **Ian Grigg** | Usual-suspect list from earlier passes of this study (Ricardian contracts / WebFunds). | **Scored, language mismatch:** WebFunds Java 2000–01, **2.402**, 11/22. | | **Zooko Wilcox-O'Hearn** | Usual-suspect list from earlier passes (DigiCash, Mojo Nation, later Zcash). Denied being Satoshi on Bitcoin Takeover S16 E29 (4 June 2025). | **Scored, independent:** pycryptopp / zfec, C++/C 2007–09, **1.595**, 8/20 (Python C-API style). Mojo Nation / Tahoe-LAFS mostly Python. | | **Dustin Trammell** | Early correspondent; sometimes listed in broad suspect surveys. | **Scored, tiny sample:** snippets, C, **3.424**, 6/19. | | **Dan Kaminsky** | Not a Wikipedia "Possible identities" headliner; added in the fourth pass because he had comparable pre-2009 C and list writing. | **Scored, independent:** Paketto Keiretsu 2.00pre5, C 2002–03, **1.628**, 7/23; DakaRand, C 2012, **1.426**, 10/21 (post-Bitcoin, small). | | **Daira Hopwood** | November 2025 online rumour (e.g. CCN, Cryptonews: "Is Daira-Emma Hopwood Really Satoshi Nakamoto?"). Circumstantial (Satoshi once linked their crypto page; British spelling). Not in the Wikipedia section fetched 26 Nov 2026. | **No pre-2009 C/C++** (Cryptix is Java; Tahoe-LAFS is Python). zcashd added lines 2015–26: **1.937**, 16/24 (**inherited**, Bitcoin Core fork). | | **James A. Donald** | Early cryptography-list correspondent; often named in forum theories because of Crypto Kong (Windows C++, reported Hungarian). | **Not scored.** Product page historically advertised "Download KongTools source code (requires Visual C++ 5.0 to compile)". On 26 November 2026, FTP mirrors `ftp.gwdg.de` and `ftp.mizar.org` under `cryptokong/` held only `KongSetup.exe` (4,464,128 bytes, 10–11 January 1998). archive.org item search and GitHub did not yield `KongToolsSource`. web.archive.org has been unreachable from this box in earlier passes. An installer is not source. | | **Wladimir van der Laan** | Early/lead Core contributor; asked about in this study, not a standard press "outing". | **Scored, independent:** etna_viv, C 2012–13, **2.054**, 8/23. | | **Pieter Wuille** | Same basis as above. | **Scored, independent:** JIF, C 2011, **1.603**, 10/22. | | **Luke Dashjr** | Same basis. | **Scored, adjacent / imposed:** bfgminer lines + libbase58, C 2012–14, **1.775**, 10/23 (cgminer style). Eloipool is Python. | | **Andrew Poelstra** | Same basis. | **Scored, independent:** RamseyScript, C 2011–13, **2.747**, 9/22. rust-bitcoin is Rust, not scored. | | **Mike Hearn** | Early correspondent; not a standard press outing. | **Scored, imposed:** Wine added lines, C 2002–06, **1.691**, 8/23. | | **Jeff Garzik** | Early Core contributor. | **Scored, imposed:** nfs4d / itd / hail, C 2005–09, **1.72**, 9/23 (kernel style). | | **Gregory Maxwell** | Early Core contributor. | **Scored, imposed:** CELT 2008–09, **2.246**, 7/22; Opus v1.0.0 lines, **1.443**, 6/22 (Xiph style). | | **Cory Fields** | Core contributor. | **Scored, adjacent:** libbtcnet, C++ 2016, **0.819**, 17/24 (Core conventions). No pre-2009 public C/C++. | | **Eric Lombrozo** | Core contributor. | **Scored, adjacent:** CoinClasses, C++ 2012–13, **1.202**, 16/24 (`bFoo`, not `fFoo`). | | **Jonas Schnelli** | Core contributor. | **Scored, adjacent:** libbtc, C 2015, **1.233**, 10/23. | | **Tim Ruffing** | Core contributor. | **Scored, adjacent:** accas, C++ 2016–24, **1.25**, 14/23, small. | | **Matt Corallo** | Core contributor. | **Scored, adjacent:** RelayNode, C++ 2013–14, **1.701**, 11/22. bitcoinj is Java. | | **Suhas Daftuar** | Core contributor. | **Scored, adjacent:** tx-relay-simulation, C++ 2018, **2.63**, 13/22, one small file. | | **Martti Malmi** | First website / forum collaborator (2009), not a standard press outing. | **No usable public C/C++** (GitHub `sirius-m` listed 0 own public repos; no pre-2009 C/C++ found). | | **Laszlo Hanyecz, Marco Falke, Alex Morcos, Russell O'Connor, Patrick Strateman, Jonas Nick, Nils Schneider** | Core contributors asked about in the third pass. | **No usable independent C/C++** (see §1 no-code table: all C++ inside Core, or Haskell/Coq, or no public repo). | | **Ross Anderson** | Sometimes named in broad academic-suspect lists; earlier pass. | **No personally written code** used here. The Serpent C reference is by Frank Stajano; optimised C/Java by Eli Biham (https://www.cl.cam.ac.uk/~fms27/serpent/). | | **Michael Weber, Kevin Groves, Phil Wilson ("Scronty")** | Earlier-pass usual-suspect / forum names. | **No public code** attributable (Wilson: no independently verifiable source). | | **Team theories** (FT 2016 Back–Finney–Szabo; *Finding Satoshi* 2026 Finney–Sassaman; "European collective" 2013) | As cited above. | **No separate team corpus.** Each named member is scored, or marked unscorable, as an individual. A team would not be expected to share one 29-feature fingerprint. | ### 9.3 Crypto Kong retry (James A. Donald) Status on 26 November 2026: **source not obtained.** What was found, without using web.archive.org: - `https://ftp.gwdg.de/pub/misc/crypt/archive/utopia.hacktic.nl/crypto/CRYPTOapps/cryptokong/` and `https://ftp.mizar.org/pub/security/replay/crypto/CRYPTOapps/cryptokong/` — `KongSetup.exe`, 4,464,128 bytes, dated 10–11 January 1998. This is a Windows installer, not source, and was not scored. - A contemporary product page (historically at jim.com / mail.digiater.nl mirrors) advertised KongTools source requiring Visual C++ 5.0. That archive was not located. - archive.org *item* search and GitHub search did not yield `KongToolsSource`. The installer was then unpacked statically (WinZip SFX; Microsoft SZDD members). It contains no source. `Kong.exe` (SHA-256 `3ea2bf7b0f1b6200488b1b372485012382c450af68ffe5c67278bcfe8773fa99`) imports only `MSVBVM50.DLL` and is a Visual Basic 5 program (company `echeque.com`, project path `G:\code\Kong\Kong.vbp`). `KongTools.ocx` (SHA-256 `bcef199a6c889547ea6ab6d4f884156012f20bda2be613c31ca88d5672a409f4`) is a 118,784-byte Visual C++ 5 ActiveX control (linker 5.2, “Arc4 Encryption and elliptic curve encryption”). Full PE traits and the comparison with Bitcoin v0.1.0 `bitcoin.exe` are in §10 and `publication/binary_analysis.md`. Donald therefore stays in the unscorable table for the 29-feature source metric. If the KongTools *source* later becomes available, it should be scored with the locked metrics (standardisation frozen) so existing rows do not move. On recoverable *binary* traits, the shipped product does not resemble the shipped Bitcoin v0.1.0 MinGW / wxWidgets / OpenSSL program. ### 9.4 Merged ranking of every suspect (scored and unscorable) Lower distance means closer to Satoshi v0.1.0. The same-author control is Satoshi November 2008 at **0.295** (23/24 habits). #### A. Independent code, written outside Bitcoin and not obviously a house style | Rank in this band | Person / corpus | Lang, era | Distance | Habits | |---|---|---|---|---| | 1 | **Wei Dai, Crypto++ 5.5.2** | C++ ≤2007 | **1.023** | 15/23 | | 2 | Nick Szabo, jTime | JS 2011–14 | 1.119 | 10/19 | | 3 | Paul Le Roux, E4M 2.01 | C 1998–99 | 1.328 | 7/24 | | 4 | Len Sassaman, Mixmaster blame | C ≤2008 | 1.338 | 10/22 | | 5 | Hal Finney, RPOW | C 2004–05 | 1.408 | 8/23 | | 6 | Dan Kaminsky, DakaRand | C 2012 | 1.426 | 10/21 | | 7 | Adam Back, hashcash 1.21 | C ~2006 | 1.577 | 10/22 | | 8 | Zooko, pycryptopp / zfec | C++/C 2007–09 | 1.595 | 8/20 | | 9 | Pieter Wuille, JIF | C 2011 | 1.603 | 10/22 | | 10 | Dan Kaminsky, Paketto 2.00pre5 | C 2002–03 | 1.628 | 7/23 | | 11 | Wladimir van der Laan, etna_viv | C 2012–13 | 2.054 | 8/23 | | 12 | Ian Grigg, WebFunds | Java 2000–01 | 2.402 | 11/22 | | 13 | Gavin Andresen, SGI Open Inventor | C++ ~1991–96 | 2.59 | 9/23 | | 14 | Andrew Poelstra, RamseyScript | C 2011–13 | 2.747 | 9/22 | | 15 | Dustin Trammell, snippets | C, undated | 3.424 | 6/19 | Szabo and Grigg are in this band only for completeness; the language is not C/C++. Kaminsky DakaRand, Wuille, van der Laan and Poelstra are independent but post-date Bitcoin's release. **Among pre-2009 C or C++, Wei Dai remains closest, then Le Roux, Sassaman and Finney — all still about 3.5× or more farther than Satoshi's two builds are from each other.** #### B. Inherited or Bitcoin-adjacent (style learned in or next to Satoshi's codebase) | Person / corpus | Lang, era | Distance | Habits | Label | |---|---|---|---|---| | Gavin Andresen, own repos | C++ 2014–15 | 0.809 | 15/23 | inherited / adjacent | | Cory Fields, libbtcnet | C++ 2016 | 0.819 | 17/24 | adjacent | | Gavin Andresen, Bitcoin 2010–12 lines | C++ 2010–12 | 1.058 | 20/24 | inherited | | Eric Lombrozo, CoinClasses | C++ 2012–13 | 1.202 | 16/24 | adjacent | | Jonas Schnelli, libbtc | C 2015 | 1.233 | 10/23 | adjacent | | Tim Ruffing, accas | C++ 2016–24 | 1.25 | 14/23 | adjacent | | Matt Corallo, RelayNode | C++ 2013–14 | 1.701 | 11/22 | adjacent | | Jed McCaleb, newcoin | C++ 2011 | 1.748 | 14/23 | inherited | | Luke Dashjr, bfgminer + libbase58 | C 2012–14 | 1.775 | 10/23 | adjacent / imposed (cgminer) | | Daira Hopwood, zcashd added lines | C++ 2015–26 | 1.937 | 16/24 | inherited (Core fork) | | Peter Todd, Bitcoin Core added lines | C++ 2012–23 | 2.043 | 19/23 | inherited | | Suhas Daftuar, tx-relay-simulation | C++ 2018 | 2.63 | 13/22 | adjacent, small | These rows are **not** evidence of a pre-Bitcoin personal match. Andresen's 1990s Inventor code (2.590) shows how far the same person's independent style can sit from code written after years in Bitcoin. #### C. Imposed project house styles | Person / corpus | Lang, era | Distance | Habits | House style | |---|---|---|---|---| | Gregory Maxwell, Opus v1.0.0 lines | C 2008–12 | 1.443 | 6/22 | Xiph | | Mike Hearn, Wine added lines | C 2002–06 | 1.691 | 8/23 | Wine | | Jeff Garzik, nfs4d / itd / hail | C 2005–09 | 1.72 | 9/23 | Linux kernel | | Gregory Maxwell, CELT lines | C 2008–09 | 2.246 | 7/22 | Xiph | #### D. Publicly proposed, or previously listed, but unscorable on code | Person or theory | Why there is no 29-feature row | |---|---| | James A. Donald | KongTools C++ source not obtained. Installer unpacked (§10): main program is VB5; `KongTools.ocx` is a small VC++ 5 OCX. No 29-feature distance. Binary traits do not match Bitcoin v0.1.0. | | Dorian Nakamoto | No public software corpus found (*Newsweek*, 2014). | | Craig Wright | No verifiable pre-2009 C/C++. | | Dave Kleiman | No public code. | | David Chaum | DigiCash / ecash never released. | | Vili Lehdonvirta | No public code found. | | Michael Clear | No public pre-2009 C/C++ found. | | Neal King, Vladimir Oksman, Charles Bry | Patent filing only; no public code. | | Shinichi Mochizuki | No public software. | | Ross Ulbricht | No usable public C/C++ scored; 2013 claim later retracted. | | Elon Musk | No personally authored public C/C++ corpus scored in this pass. | | “European computer collective” | Not a named author. | | Ross Anderson | Serpent C written by others. | | Michael Weber, Kevin Groves, Phil Wilson ("Scronty") | No attributable public code. | | Martti Malmi, Laszlo Hanyecz, Marco Falke, Alex Morcos, Russell O'Connor, Patrick Strateman, Jonas Nick, Nils Schneider | No usable independent C/C++ (see §1). | | Team theories (FT 2016; *Finding Satoshi* 2026) | No team corpus; members are in the rows above. | **Bottom line, unchanged:** among independent pre-Bitcoin C or C++, Wei Dai is still closest (1.023), and that is still about 3.5 times the 0.295 same-author control. The sixth-pass census added many names and **no new scored corpus**. Everyone newly listed is unscorable on code, with a cited reason. A same-day unpack of Crypto Kong (§10) found no source and showed the shipped app to be Visual Basic 5, so it still cannot enter the numeric ranking. ## 10. Seventh pass (26 November 2026): binary traits (no distance scores) This pass answers whether the Crypto Kong *installer* can stand in for the missing source, and extends the same static PE analysis to other 1995–2010 suspect binaries, always compared with the official Bitcoin v0.1.0 `bitcoin.exe`. **Control.** `bitcoin.exe` from `bitcoin-0.1.0.rar` (SHA-256 of the rar `8b17eb9a5707f2519defda4cdf8d14fa1b8dee630e11e6ef85ff9f5547555b56`; of the exe `fbcac071d92e26d82ec917214e334bd43850c0691f113bab1d4741c9bdd30d2d`). Linker **2.56** (MinGW GNU `ld`), no Rich header, imports `libeay32.dll` and `mingwm10.dll`, statically linked wxWidgets, OpenSSL 0.9.8h, timestamp 2009-01-10 23:16:00 UTC. Class names such as `CBigNum`, `CBlock`, `CTransaction` and `CKey` survive in error strings. The tree also has `makefile.vc` for MSVC, but the shipped program is the MinGW build. **What can and cannot be measured.** A binary can show toolchain, linker, imports, RTTI names, PDB/`__FILE__` paths, version resources and some error strings. It **cannot** show indent, braces, comments or the rest of the 29-feature / 24-habit source metric. **No 29-feature distance is computed from a binary.** **Crypto Kong (`KongSetup.exe`).** SHA-256 `1a8ff5e082ec320266ff63ac0cce9dacc251b016a0950b3eb1e301c4723f8a38`, 4,464,128 bytes, identical on the GWDG and Mizar FTP mirrors. WinZip SFX; no source inside. `Kong.exe` is Visual Basic 5 (only import `MSVBVM50.DLL`; `echeque.com`; `jamesd@echeque.com`; paths `G:\code\Kong\Kong.vbp` and `G:\Program Files\DevStudio\VB\VB5.OLB`). `KongTools.ocx` is a 118 KB VC++ 5 COM control (linker 5.2, static CRT, raw Win32/OLE, comments “Arc4 Encryption and elliptic curve encryption”), with no Satoshi-like `C`-prefixed application classes in RTTI or strings. Full table: `publication/binary_analysis.md` §2. **E4M 2.00 / 2.01 installers.** Already on the box from the source study. Unpacked statically (InstallShield / UPX+RAR). `volformat.exe` and the other complete 2.01 programs are VC++ 5 (linker 5.0), static CRT, raw Win32, `paulca@rocketmail.com`. This agrees with the already-scored E4M source (distance 1.328) and does not match the Bitcoin MinGW toolchain. **Mojo Nation beta 0.9993 Windows installer.** SourceForge `mojonation-beta09993-win.exe`, SHA-256 `903734cb9af5aa02141433322b28c3226b81525bc737a435a1261af640ba3915`, MD5 matches the project RSS. Spoon Installer packing **Python 2.1 + Tcl/Tk**. Team software (Zooko, Jim McCoy and others). Carved `evilcryptopp.pyd` is Wei Dai's Crypto++ built with MinGW (linker 2.56, paths `c:/mojonation/extsrc/cryptopp/…`); `blockshare.pyd` is a small MinGW Python extension. A shared MinGW linker stamp is common and is not a unique match to Bitcoin. **Not obtained this pass:** eDonkey/Overnet clients; DigiCash official ecash; hashcash Windows `.exe`; an official Crypto++ DLL from Dai; PGP Inc/NAI builds (team-authored in any case); Mixmaster Windows `.exe`; any verifiable Craig Wright or Scronty binary. Details and search notes are in `publication/binary_analysis.md` §5. **Ranking.** No locked source distance changes. James A. Donald remains unscorable on the numeric table, but is no longer a blank: the shipped Kong product does not look like the shipped Bitcoin v0.1.0 binary on any recoverable trait. The same-evening publication extensions — a research-file mirror, a step-by-step investigation log, a master suspect table, and cited “alibi” timelines — are in `publication/investigation_log.md`, `publication/suspects_table.csv`, `publication/alibi.md`, and the separate `mirror.tar.zst` archive. They do not change any locked 29-feature distance.