Satoshi's code, line by line
This is the code Satoshi Nakamoto actually shipped, from the v0.1.0 archive of January 2009 to his last commit, SVN r202 on December 15th 2010. Every line has its own link, so if you want to show someone where the 21 million cap lives, or the moment he switched off OP_CAT, you can point to the exact line instead of a screenshot. Click a line number and the address bar gives you the link; add -L20 to it (like #L10-L20) to highlight a range.
Bitcoin was released under the MIT license, and each snapshot keeps its own license.txt. Wei Dai's SHA-256, the wxFormBuilder-generated UI files and other borrowed code are labeled where they appear, because they aren't Satoshi's hand. The bundled cryptopp/, json/ and translation folders of later releases aren't reproduced here (they're third-party code), and neither are images and binaries: those are in the research mirror.
Full snapshots
| Version | Released | Files | Lines | Notes |
|---|---|---|---|---|
| v0.1.0 | 2009-01-08 · announcement | 33 | 20,154 | The first release. Source from bitcoin-0.1.0.tgz in the research mirror (file dates 2009-01-11, packed by Hal Finney). main.cpp |
| v0.1.3 | 2009-01-12 · announcement | 33 | 20,235 | Patch release. Source from bitcoin-0.1.3.rar in the research mirror (newest file dated 2009-01-12). main.cpp |
| v0.1.5 | 2009-02-04 · announcement | 32 | 20,381 | Released 2009-02-04; this is the copy imported into SourceForge SVN in August 2009 (git tag v0.1.5, 2009-09-16). main.cpp |
| v0.2.0 | 2009-12-16 · announcement | 37 | 22,677 | First release with a Linux build (git tag v0.2.0, commit of 2009-12-14). main.cpp |
| v0.3.0 | 2010-07-06 · announcement | 41 | 22,205 | Version 0.3 (git tag v0.3.0, commit of 2010-07-04). main.cpp |
| v0.3.10 | 2010-08-15 · announcement | 39 | 22,717 | The value-overflow patch release (git tag v0.3.10). main.cpp |
| v0.3.19 | 2010-12-13 · announcement | 40 | 25,453 | His last tagged release, SVN r201: DoS limits, safe mode removed. main.cpp |
| r202 (last Satoshi commit) | 2010-12-15 | 40 | 25,485 | SVN r202, "get external ip from irc", the last commit under s_nakamoto. main.cpp |
What changed, release by release
Every release tag from the Satoshi era, including the in-between versions that don't have a full snapshot above. Line counts are added and removed lines in the hosted files.
| Diff | Files | + | − | Commit message (last commit of the release) |
|---|---|---|---|---|
| v0.1.0 → v0.1.3 | 10 | 158 | 77 | From the release archives |
| v0.1.3 → v0.1.5 | 16 | 428 | 279 | 2009-09-16 · No dll's here |
| v0.1.5 → v0.2.0 | 27 | 6,351 | 4,052 | 2009-12-14 · filter out duplicate getblocks and don't relay inv messages during initial block download -- 0.2 rc2 |
| v0.2.0 → v0.2.2 | 31 | 1,933 | 3,614 | 2010-02-17 · all builds are now with wxWidgets-2.9.0, we are now using UTF-8, added support for language translation file locale/<lan |
| v0.2.2 → v0.2.4 | 10 | 555 | 487 | 2010-02-20 · Address Book with tabs instead of separate Your Address book, with live update of default address in main window, New... |
| v0.2.4 → v0.2.5 | 8 | 189 | 83 | 2010-02-21 · transaction filter tabs instead of view->show generated -- version 0.2.5 |
| v0.2.5 → v0.2.6 | 7 | 208 | 48 | 2010-02-23 · run as daemon without GUI, hooked wxApp::Initialize to ignore gtk-init-check failure if no GUI, fork to daemonize, rpc g |
| v0.2.6 → v0.2.7 | 13 | 838 | 794 | 2010-02-25 · GUI-less build target bitcoind that links to wxBase and shouldn't need GTK, split init and shutdown from ui.cpp into ini |
| v0.2.7 → v0.2.8 | 14 | 135 | 91 | 2010-05-19 · Mac OS build fixes by laszlo -- version 0.2.8 |
| v0.2.8 → v0.2.9 | 14 | 642 | 105 | 2010-05-26 · better prevention of inventory relaying during initial download, message checksum between nodes with 0.2.9 or higher, op |
| v0.2.9 → v0.2.10 | 15 | 297 | 172 | 2010-06-10 · automatically change displayed address whenever it receives anything, added help and -? for daemon command line rpc comm |
| v0.2.10 → v0.2.11 | 5 | 24 | 13 | 2010-06-15 · more addr message error checking -- version 0.2.11 |
| v0.2.11 → v0.2.12 | 4 | 96 | 20 | 2010-06-18 · use seed nodes as fallback if IRC fails or with TOR -- version 0.2.12 |
| v0.2.12 → v0.2.13 | 9 | 56 | 35 | 2010-06-21 · fixed colors on ubuntu lucid, enabled -O2 in makefile.unix, boost removed -mt from their library names in 1.40, updated |
| v0.2.13 → v0.3.0 | 15 | 55 | 38 | 2010-07-04 · version 0.3 release |
| v0.3.0 → v0.3.1 | 15 | 263 | 110 | 2010-07-19 · version 0.3.1 release |
| v0.3.1 → v0.3.2 | 3 | 20 | 7 | 2010-07-19 · security safeguards, limited addr messages -- version 0.3.2 |
| v0.3.2 → v0.3.3 | 19 | 411 | 115 | 2010-07-26 · Gavin Andresen's JSON-RPC HTTP authentication, faster initial block download -- version 0.3.3 |
| v0.3.3 → v0.3.6 | 23 | 1,521 | 2,117 | 2010-07-30 · reverted makefile.unix wx-config -- version 0.3.6 |
| v0.3.6 → v0.3.7 | 8 | 52 | 54 | 2010-07-31 · fixed segfault in bignum.h, additional security limits, refactoring -- version 0.3.7 |
| v0.3.7 → v0.3.8 | 8 | 84 | 37 | 2010-08-04 · new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgrade -- |
| v0.3.8 → v0.3.10 | 17 | 776 | 172 | 2010-08-15 · makefile.unix to build with option to enable tcatm's 4-way SSE2 SHA-256 with -4way switch on Linux -- version 0.3.10 rel |
| v0.3.10 → v0.3.12 | 20 | 1,251 | 577 | 2010-09-07 · cleanup, catch some recoverable exceptions and continue -- version 0.3.12 release |
| v0.3.12 → v0.3.13 | 15 | 550 | 273 | 2010-09-30 · fixed linux build, dkaparis: _WIN32_WINNT 0x500 -- version 0.3.13 release |
| v0.3.13 → v0.3.14 | 20 | 644 | 234 | 2010-10-21 · -- version 0.3.14 release |
| v0.3.14 → v0.3.15 | 14 | 363 | 164 | 2010-11-14 · -- version 0.3.15 release |
| v0.3.15 → v0.3.17 | 15 | 1,115 | 409 | 2010-11-25 · -- version 0.3.17 release |
| v0.3.17 → v0.3.18 | 15 | 639 | 193 | 2010-12-08 · -- version 0.3.18 release |
| v0.3.18 → v0.3.19 | 9 | 50 | 26 | 2010-12-13 · -- version 0.3.19 release |
| v0.3.19 → r202 | 5 | 49 | 17 | 2010-12-15 · get external ip from irc |
| r202 → v0.3.20 | 18 | 728 | 366 | 2011-02-18 · Changed setup for mingw toolchain |
| v0.3.20 → v0.3.21 | 23 | 1,253 | 601 | 2011-04-20 · Better wording for transaction fee notification messages |
| v0.3.21 → v0.3.22 | 37 | 1,027 | 2,066 | 2011-06-02 · Bugfix for dnsseed introduced by dnslookup |
| v0.3.22 → v0.3.23 | 10 | 149 | 29 | 2011-06-11 · Merge pull request #300 from sipa/connecttimeout |
| v0.3.23 → v0.3.24 | 28 | 2,777 | 2,306 | 2011-07-08 · Compile 'sv' translation |
Sources: bitcoin-0.1.0.tgz and bitcoin-0.1.3.rar from the research mirror; everything from v0.1.5 on is from the SourceForge SVN history as preserved in the bitcoin/bitcoin repository. Line endings are normalized to Unix; nothing else is touched. For what the code does and how it changed, read the code analysis.
