BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

Electrum

Electrum is a lightweight Bitcoin wallet introduced by Thomas Voegtlin (ThomasV) in November 2011. Its early design separated two jobs that ordinary Bitcoin clients then tended to perform together: the user's computer held and used private keys, while a remote server supplied information about the blockchain and relayed signed transactions. It also adopted deterministic key recovery, so that a lost wallet file need not mean lost keys. Convenience, custody, verification and privacy were separate questions from the beginning.

A launch record with two clocks

Voegtlin announced Electrum on 5 November 2011 in a Bitcoin Forum thread. The opening post survives under that date but was last edited on 5 January 2013; it even begins with an October 2012 update. Its present feature list is evidence of the later maintained announcement, not an untouched inventory of launch-day features. Electrum announcement and dated replies

An earlier kind of evidence is available in the project's Git history. The earliest surviving commit is author-dated 4 November 2011. Its README already calls Electrum a lightweight client with a deterministic wallet recoverable from a passphrase. It describes a client that does not download the blockchain or send its private keys to the server. The commit documents a source tree, not an independently authenticated copy of the software distributed on 5 November. Initial Git commit and README

What the server did

The initial README described a client that polled a server for updates without opening an inbound port. The server side combined a patched Bitcoin daemon, bitcoin-abe and an Electrum server script. The client avoided storing the entire chain; the server performed the chain-facing work. In the 5 November forum discussion, Voegtlin also described the client's Board tab as displaying a welcome message supplied by the server, potentially including advertisements or donations. The server thus had control over at least one non-transactional piece of the client's displayed content. Contemporary developer reply 3 This was not a claim that the client itself had become a full node. Initial README and server code

In a separately dated reply on 5 November 2011, Voegtlin explained that the server ran a full Bitcoin node patched to forward transactions signed by clients, alongside bitcoin-abe and his server script. Another early reply explained why he published the server code too: users should not be captive to one operator, and clients should not need server accounts. These statements establish the developer's design and intentions, not a measurement of how many independently operated servers existed. Contemporary replies 3 and 7

What the 4 November client actually verified

The source in Electrum's earliest surviving commit lets us test the original trust boundary more precisely than a feature list does. Its default connection was an ordinary TCP socket to ecdsa.org:50000, with an HTTP alternative when configured for port 80. The client submitted a watch request containing its address list; it then asked for individual address histories with h, polled for changes with poll, and submitted signed transactions with tx. Those were source-level observations, not a claim about every binary distributed in November. Initial connection defaults · Original requests and updates

The balance calculation summed values in the returned address histories, treating a server-provided height as the distinction between confirmed and unconfirmed entries. Coin selection likewise used reported transaction hashes, output positions, values and scripts. In this inspected source tree, there is no client-side download of block headers or verification of transaction Merkle proofs against a proof-of-work chain. It would be misleading to project the verification capabilities of later SPV-style clients backward onto this first source. Original balance calculation · Coin selection and signing

This does not mean the client performed no checks. It derived and retained keys locally, signed its own constructed transactions, checked the signatures it produced, and compared the server's broadcast response with its locally calculated transaction hash. These checks protected different properties from independently authenticating a server's history claims. This distinction describes the 4 November 2011 source only, not every subsequent Electrum release. Local signature check · Broadcast-response check

A wallet could retain its keys and still reveal its activity

There was a privacy cost in the original design, and it was not concealed in the README. It explicitly acknowledged that the server knew which Bitcoin addresses belonged to the same wallet. This was a statement about what the server could observe from a client, not proof that particular operators retained, published or abused those observations. Initial README

The trust boundary was narrower than possession of the coins, but wider than nothing. On 5 November, freemoney458 asked whether an Electrum server could falsify transactions or mislead users. Voegtlin replied that the server did not possess spending keys and therefore could not spend the client's coins; he also acknowledged that it could misreport balances or transaction information. That reply carries a 6 November edit timestamp, so its exact surviving wording is not independently frozen at the moment of its first posting. Contemporary replies 4–5, with visible edit

My reading is that Electrum's first trade-off was not simply trust the server versus do not trust the server. Local signing protected spending authority, while the server still had influence over the information displayed and visibility into an address set. Open server software and the possibility of changing operators addressed dependence, but did not make those differences disappear.

The first week's recovery design

The 4 November source derived receiving and change addresses from the user's passphrase, an address index and a change flag. A 5 November commit changed the term passphrase to seed. On 6 November, the code moved to generating a random 128-bit seed instead of requiring a person to invent secret text, and added repeated hashing during derivation. Original derivation · Seed terminology · Random seed change

On 8 November, another commit added client/mnemonic.py and recovery through a human-readable sequence of words. The source credited a word list from Wiktionary's contemporary-poetry frequency lists. This was an Electrum-specific reversible encoding, not the later BIP 39 mnemonic standard. The BIP's first preserved October 2013 draft explicitly acknowledged that Electrum already used a different wordlist and proposed a compatibility checkbox, but that proposal is not evidence Electrum implemented one. The steps visible in the 2011 source were distinct: deterministic derivation came first, automatic seed generation next, and mnemonic display and recovery after that. Deterministic wallets places this sequence among earlier Bitcoin key-backup proposals and later standards. Mnemonic source and recovery UI · First preserved BIP 39 draft

A release claimed on launch day

In a separately dated 5 November 2011 forum reply, Voegtlin reported making a Linux binary and pointed to a distribution URL on ecdsa.org. That is contemporary first-party evidence of a claimed binary release; the post is not itself an authenticated copy of the file, and the contents and checksum of that download have not been recovered here. It is narrower, and stronger, than relying only on the later-edited announcement for a launch date. Contemporary reply 8

Verification took shape in October 2012

Electrum's surviving Git history narrows the verification transition to October 2012. In a commit author-dated 21 October, Voegtlin added a WalletVerifier class in lib/wallet.py and started it alongside the wallet synchronizer. It requested transaction Merkle branches and block headers, compared reconstructed Merkle roots with header contents, and checked the hashes linking neighbouring headers. The preceding source tree lacks this class. This is the earliest verifier introduction identified in the inspected Git history, not proof of a release to users that day or of independent proof-of-work validation in this initial implementation. 21 October source introduction

On 24 October, a commit moved the verifier into its own lib/verifier.py module and added fetching of 2,016-header chunks and difficulty-target calculations. The initial chunk-checking code still caught some difficulty failures and printed diagnostics rather than always rejecting the chunk. Subsequent 25–27 October changes added header subscriptions, strengthened header checking and revised handling of reorganizations. These were visible changes to the implementation, not a single completed security property introduced on one day. 24 October verifier refactor · 25 October header subscription · 26 October reorganization handling · 27 October verification retry

Bootstrap handling changed later. The 5 November 2012 packaging commit configured distributions to include a blockchain_headers file. On 17 December, a separate commit switched to downloading the headers over HTTP, the path visible in the 1.5.7 source below. This distinction matters because checking subsequent Merkle branches against a locally stored header root does not itself establish how the initial header file was authenticated. Packaged headers · HTTP bootstrap change

Verification had changed by December 2012

By Electrum's 1.5.7 source, the client included a WalletVerifier class described in its docstring as Simple Payment Verification. It subscribed to block headers, requested chunks of 2,016 headers and transaction Merkle branches, checked the preceding-header hash and difficulty target of downloaded headers, and compared reconstructed transaction Merkle roots against locally stored block-header roots. Those checks are visible in source, in contrast to the inspected 4 November 2011 client. The claim is about this tagged source tree, not a reconstructed release-by-release chronology. Electrum 1.5.7 verifier source

There is an important qualification. In that same source, init_headers_file obtains a bootstrap headers file from http://images.ecdsa.org/blockchain_headers over plain HTTP when no local file exists. The method does not visibly authenticate that download or re-check every header in it; set_local_height determines the available height from its byte length. Later verification against roots read from such a file is not, by itself, proof that the bootstrap chain was trustworthy. This is a source-level limitation, not evidence of a specific attack. Header-file bootstrap and verification methods

The project's release notes date 1.5.7 to 18 December 2012 and explain that a blockchain-header file previously packaged with Electrum would now be downloaded at startup. That supplies a contemporary first-party upper bound for the presence of these mechanisms, not the date of their first introduction or proof of the bits in a particular distributed binary. Servers still saw wallet queries and could influence which transactions were reported: verification of reported inclusion cannot establish that the reported history is complete. Release 1.5.7 notes

What remains to establish

Contemporary source code and forum replies document the original architecture and rapid changes, but do not authenticate what every early user installed. The inspected 4 November 2011 tree signed locally without header or Merkle-proof checking; the 1.5.7 tree included explicit verification code, with the bootstrap-header qualification above. Keeps private keys, checks transaction inclusion and learns a complete wallet history are different properties.

Open question
Recover independently authenticated Electrum packages from the October–December 2012 verification transition and compare them with their source trees. Can the bundled November headers and the December HTTP bootstrap file be recovered and authenticated?