Bitcoin Institute

Bitcoin architecture evolution — Satoshi-era v0.1 vs modern v27+

Figures: Satoshi Nakamoto

Split technical diagram: a single stacked monolithic block on the left branches through a glowing node into six interconnected modular boxes on the right, above a horizontal timeline of milestone dots.

What this page is

This page is L2 #9 — Architecture evolution (Satoshi era vs v27+) in the design-document series. The three L2 pages each cut across several subsystems. Each of the eight L1 domain pages ends with a short comparison of the Satoshi era and today. Here all eight comparisons are set side by side, along with diagrams of the v0.1 and current architectures that no single domain page could show.

Scope. Every comparison uses two fixed reference points: Satoshi’s v0.1 release (January 8, 2009) and modern Bitcoin Core v27+ baseline. Intermediate versions are mentioned only when they introduced a structural change.

Design drift at the social or economic layer is outside the scope here — see the design-intent vs current-reality entry. Each section below compares the two in a table, matching the L1 numbering.

1 System-wide architecture

The most visible change between v0.1 and v27+ is architectural decomposition. Satoshi shipped a single binary that fused the wallet, the miner, the GUI, the validation engine, and the network layer into one process, backed by Berkeley DB indexes and flat block files. Modern Bitcoin Core separates these concerns into distinct modules, processes, and storage backends.

v27+ — modular

bitcoind

(node)

P2P network layer

Validation engine

Mempool

Storage layer

LevelDB

(UTXO set + block index)

Flat files

(blk*.dat / rev*.dat)

bitcoin-wallet

(logical separation;

experimental multiprocess)

SQLite

(descriptor wallet)

bitcoin-qt

(optional GUI)

External miner

(via getblocktemplate /

Stratum v2)

v0.1 — monolithic (January 2009)

Single binary

(bitcoin.exe)

Built-in GUI

(wxWidgets)

Built-in CPU miner

Validation + relay

Wallet (random keys)

Berkeley DB

(indexes + wallet)

Aspectv0.1 (January 2009)v27+ baseline
BinarySingle executable: wallet + miner + GUI + nodebitcoind (node), bitcoin-wallet (wallet), bitcoin-qt (GUI) — separate binaries
Process modelOne process, one address spaceLogically separated; experimental multiprocess work in progress (not yet default)
DatabaseBerkeley DB for indexes and wallet; flat files for block dataLevelDB (UTXO set, block index) + flat files (blocks) + SQLite (wallet)
MiningInternal CPU miner, same processExternal via getblocktemplate (BIP 22/23); Stratum v2 in ecosystem
InterfacesNone at launch; JSON-RPC added in v0.2.6 (February 2010)JSON-RPC (full read/write), REST (read-only), ZMQ (push notifications)
Cryptography libraryOpenSSL (ECDSA/secp256k1); Crypto++ (SHA-256)libsecp256k1 (ECDSA/Schnorr), internal SHA-256 with hardware acceleration

2 Network layer

Featurev0.1v27+ baselineKey BIP / version
Peer discoveryIRC channel + addrDNS seeds + addrv2 + peers.dat cacheBIP 155 (addrv2, v0.21)
Address typesIPv4 onlyIPv4, IPv6, Tor v3, I2P, CJDNSBIP 155
Outbound peersNew outbound connections opened until the node had 15 connections of any kind; a fixed 8 outbound came in August 20108 full-relay + 2 block-relay-only + feeler + anchorv19+ (block-relay-only)
Block relayFull block to every peer, whatever its sizeCompact blocks: header + short IDs (~20 kB)BIP 152 (v0.13)
TransportPlaintext TCPOpportunistic encrypted transport (ChaCha20-Poly1305)BIP 324 (v26, default v27)
Initial syncSequential: one block at a timeHeaders-first: parallel block downloadv0.10
Eclipse resistanceMinimalOutbound rotation, diverse eviction, anchor peers, block-relay-only peersv19+

See L1 #1 — P2P network design for the full design-document treatment.

3 Transaction layer

Featurev0.1v27+ baselineKey BIP / version
FormatLegacy: version + inputs + outputs + locktimeSegWit: + marker/flag + witnessBIP 141 (2017)
Transaction IDSHA-256d of full serialized transactiontxid excludes witness; wtxid includes itBIP 141
MalleabilityPossible — third parties can alter scriptSigFixed — witness excluded from txidBIP 141
Where signatures sitIn scriptSigIn the witness (SegWit and Taproot inputs)BIP 141, 341
Script typesP2PK, P2PKHP2PKH, P2SH, P2WPKH, P2WSH, P2TRBIP 16, 141, 341
Signature schemeECDSA via OpenSSLECDSA + Schnorr via libsecp256k1BIP 340 (2021)
OpcodesFull set (including later-disabled)Reduced set; in tapscript the disabled opcodes become OP_SUCCESSxBIP 342
TimelocksAbsolute locktime onlyAbsolute + relative (BIP 68) + script-level (OP_CLTV, OP_CSV)BIP 65, 68, 112, 113
Replace-by-FeenSequence replacement (not a fee mechanism), disabled in August 2010; first-seen afterwardFull RBF defaultBIP 125 (v0.12 opt-in; v24 option added; v28 default)
Coin selectionExact match, else 1,000 randomized subset-sum passes or the smallest larger coin (the knapsack’s ancestor)BnB + knapsack + single-random-draw + CoinGrinder; waste metricBnB v0.17; single random draw and waste metric v23; CoinGrinder v27

See L1 #2 — Transaction design for the full design-document treatment.

4 Block and chain layer

Featurev0.1v27+ baselineKey BIP / version
Header format80 bytes, version 180 bytes, same structure; BIP 9 signaling bitsBIP 9
Block versionAlways 1Version-bits (0x20000000 base + signal bits)BIP 9 (2016)
Merkle treeSingle tree over full serialized transactionsPrimary tree (stripped txs) + witness commitment in coinbaseBIP 141
Size limitNo limit in v0.1; 1 MB added 20104 MWU weight limitBIP 141 (2017)
Witness discountDoes not existWitness bytes at 1/4 weight (1 WU vs 4 WU)BIP 141
Coinbase dataArbitrary up to 100 bytesBIP 34: block height prefix requiredBIP 34 (2013)
Sigop limitNo limit in v0.1; 20,000 added 201080,000 per block (weight-adjusted); tapscript counts differentlyBIP 141, 342

See L1 #3 — Block and chain design for the full design-document treatment.

5 Consensus layer

Featurev0.1v27+ baselineKey BIP / version
Hash functionSHA-256d (double SHA-256)Same—
Chain selectionLongest chain (height comparison, nBestHeight)Most-work chain (nChainWork, since v0.3.3)—
Difficulty adjustmentEvery 2,016 blocks; off-by-one bugSame algorithm; bug preserved (fixing = hard fork)—
Soft fork activationDirect code change (flag day)BIP 9 versionbits; Speedy Trial (a modified BIP 9) for TaprootBIP 9
Script validationCombined scriptSig + scriptPubKey executionSeparated evaluation; SegWit witness programs; tapscriptBIP 141, 342
Timestamp ruleMust exceed the median of the previous 11 blocks (median-time-past, present since v0.1)Same acceptance rule; BIP 113 extends MTP to lock-time evaluationBIP 113
CheckpointsNone in v0.1; hardcoded checkpoints added July 2010 (v0.3.2)assumevalid replaces most checkpoint functionalityv0.14+

See L1 #4 — Consensus design for the full design-document treatment.

6 Monetary and incentive layer

Featurev0.1v27+ baselineKey BIP / version
Total supply cap20,999,999.9769 BTCSame — consensus-frozen constant—
Block subsidy50 BTC (era 0)3.125 BTC (era 4, after the 2024 halving)—
Subsidy calculationnSubsidy >>= (nHeight / 210000)Same arithmetic; zero-guard for shift ≥ 64—
Fee behaviorMost transactions free; priority by coin ageFee-rate auction (sat/vB); coin-age priority removed—
CPFPNot implementedAncestor-aware mempool; package evaluationv0.13+
Block templateInternal miner; trivial orderinggetblocktemplate (BIP 22/23); fee-rate sortedBIP 22, 23
Witness discountDoes not existWitness bytes at 1/4 weightBIP 141

See L1 #5 — Monetary design for the full design-document treatment.

7 Cryptography layer

Featurev0.1v27+ baselineKey BIP / version
Cryptography libraryOpenSSLlibsecp256k1 (constant-time)v0.10 (2015, signing); v0.12 (2016, verification)
Signature schemesECDSA onlyECDSA (legacy/SegWit v0) + Schnorr (Taproot)BIP 340 (2021)
Key formatUncompressed public keys (65 bytes)Compressed (33 bytes); x-only (32 bytes, Taproot)BIP 340
Signature encodingDER, variable length (70–72 bytes)DER for ECDSA; 64 bytes for Schnorr (65 with a non-default sighash type)BIP 340, 341
Address formatsBase58Check (P2PKH, starting with 1)Base58Check, Bech32 (bc1q…), Bech32m (bc1p…)BIP 173, 350
Signature malleabilityPossible — s value alterableLow-S rule (BIP 146) for ECDSA; Schnorr non-malleableBIP 146
Nonce generationOpenSSL PRNGRFC 6979 deterministic (ECDSA); BIP 340 synthetic (Schnorr)RFC 6979
Hash functionsSHA-256d/RIPEMD-160 via OpenSSL; mining SHA-256 via bundled Crypto++Same algorithms; internal with hardware acceleration (SHA-NI, ARMv8-A)—
Sighash algorithmLegacy sighash (quadratic in inputs)BIP 143 (SegWit v0, linear) + BIP 341 (Taproot, epoch-tagged)BIP 143, 341

See L1 #6 — Cryptography design for the full design-document treatment.

8 Storage layer

Featurev0.1v27+ baselineKey version
Primary databaseBerkeley DB (indexes + wallet)LevelDB (UTXO set + block index); flat files (blocks)v0.8 (2013)
UTXO storageFull transactions with spent-flag vectorOnly unspent outputs; outpoint-indexed, compact serializationv0.8
Coins cacheNo separate cache; BDB handled reads/writesDedicated in-memory write-back cache (default 450 MiB)v0.15+
Block storageFlat files (blk*.dat), ~2 GB rotationSequential flat files (blk*.dat, ~128 MiB each)v0.8
Undo dataNot needed; spent transactions stayed in the BDB index, and a reorg only cleared their spent pointersDedicated rev*.dat files for fast rollbackv0.8
PruningNot availableAvailable; minimum retention 550 MiBv0.11 (2015)
assumeUTXONot availableSnapshot-based bootstrap with background verificationv26 (loadtxoutset); v28 (mainnet snapshot)
Disk sizeNegligible (chain was tiny)~774 GB of blocks archival (October 2026); ~10 GB pruned—

See L1 #7 — Storage design for the full design-document treatment.

9 Wallet and interface layer

Featurev0.1v27+ baselineKey BIP / version
ArchitectureEmbedded in single binaryLogically separated; experimental multiprocess in progress (not yet default)v27+
Key generationIndependent random keys; a 100-key pool from v0.3.14 (October 2010)Descriptor wallets: deterministic from master seedBIP 380+ (default v23)
Key storageBerkeley DB (wallet.dat)SQLite (wallet.dat, new format)v26 (BDB deprecated for new wallets)
Backup modelExport file after every new keyDescriptor backup covers all derived keys (raw BIP 32 seed, not BIP 39)BIP 32 + descriptors
SigningInternal, same processInternal, PSBT (BIP 174/370), or hardware wallet via HWIBIP 174 (2018)
Multi-device signingNot supportedPSBT workflow: create → update → sign → combine → finalizeBIP 174, 370
Fee estimationNone (most transactions were free)Estimates a fee rate from recent blocks and the mempoolv0.10+
Fee bumpingNot availableReplace-by-Fee (bumpfee), CPFPBIP 125
InterfacesNone at launch; JSON-RPC added in v0.2.6 (February 2010)JSON-RPC (full), REST (read-only), ZMQ (push notifications)—
Process modelMonolithic (wallet + node + miner + GUI)Modular binaries: bitcoind, bitcoin-wallet, bitcoin-qt; runtime process separation experimentalv27+

See L1 #8 — Wallet design for the full design-document treatment.

10 Structural migration timeline

2009–2010v0.1 (Jan 2009)Monolithic binary, BDB,IRC, CPU miner,OpenSSL1 MB limit enforced(Sep 2010)Block-size cap,opcodes disabled2012–2013v0.8 (Mar 2013)BDB → LevelDB, flatblock files, undo data2015–2017v0.10 (2015)Headers-first sync,libsecp256k1SegWit — BIP 141 (Aug2017)Witness field, 4 MWU,non-malleable txid2018–2021BIP 174 (2018)PSBT workflowTaproot — BIP 341(Nov 2021)Schnorr, tapscript,key/script-path2023–2025v26 (2023)BIP 324 encryptedtransport, BDBdeprecatedv27 baseline (2024)v2 encrypted transporton by defaultv28 (2024)full RBF default,mainnet assumeUTXOsnapshotv30 (2025)legacy BDB walletsremovedArchitectural milestones: v0.1 → v27+

11 What changed vs what did not

Seventeen years of development transformed the implementation, but the consensus-critical core remains exactly as Satoshi shipped it.

Unchanged since v0.1:

  • SHA-256d proof of work
  • 2,016-block difficulty adjustment (including the original off-by-one bug)
  • UTXO model
  • 21 million supply cap
  • 210,000-block halving interval
  • coinbase maturity (100 blocks)
  • secp256k1 curve
  • 10-minute target block interval
  • permissionless participation

Transformed since v0.1:

  • storage engine (BDB indexes + flat block files → LevelDB indexes + flat files + SQLite wallet)
  • cryptography library (OpenSSL → libsecp256k1)
  • signature schemes (ECDSA only → ECDSA + Schnorr)
  • block capacity (no limit → 1 MB → 4 MWU)
  • transaction format (legacy → SegWit)
  • script system (full opcodes + concatenated execution → reduced set + separated evaluation + tapscript)
  • key management (independent random keys → HD derivation + descriptors)
  • peer transport (plaintext → encrypted)
  • peer discovery (IRC → DNS seeds + addrv2)
  • mining interface (internal CPU → external via getblocktemplate)
  • initial sync (sequential → headers-first + assumeUTXO)
  • fee market (free → fee-rate auction with RBF/CPFP)
  • process architecture (monolithic → modular)
  • soft fork activation (flag day → BIP 9 version bits)
  • chain selection rule (height only, nBestHeight → most-work chain, nChainWork)

Four of these items — HD key derivation, SegWit, the ECDSA-to-Schnorr signature transition, and libsecp256k1 itself — trace back to one person: Pieter Wuille authored or co-authored BIP 32, BIP 141, and BIP 340/341, and started libsecp256k1 in 2013.

12 Limits of this page

The comparison here spans all domains at two reference points, but it does not replace the domain pages. For full treatment of any subsystem, see the L1 page linked at the bottom of each section above.

Out of scope:

The way Bitcoin’s architecture moved away from v0.1 is also traced, from the toolchain side, in the Windows development-environment analysis.

Reference external source

https://bitcoin.org/bitcoin.pdf