# Workstream 45 — Energy and compute cost estimate for Bitcoin Puzzle #71 **Scope:** estimate the energy and compute cost of solving Puzzle #71 by brute-force private-key search, with explicit assumptions. Analysis + extrapolation, anchored by two measured data points (a local CPU microbenchmark and the public mining-pool aggregate rate). No key search was attempted; no transaction was broadcast. ## 1. Question and assumptions **Question:** How much electrical energy, money, and GPU-time would it take, in expectation, to recover the private key for `1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU` in the interval `0x400000000000000000`–`0x7fffffffffffffffff` (2^70 … 2^71−1), and how does that compare to the prize? **Assumptions (explicit):** - A1. Key is uniform over the 2^70-wide interval, so sequential brute force examines on average N/2 = **2^69 ≈ 5.903×10^20** candidates (worst case 2^70 ≈ 1.181×10^21). Justified by the creator's statement that the keys are "consecutive keys from a deterministic wallet … There is no pattern" — i.e. no exploitable structure within the masked interval [bitcointalk]. - A2. **No public key is exposed.** The address is unspent (spent_txo_count = 0), so only the hash160 is public. Sub-exponential interval methods (BSGS, Pollard Kangaroo, ~√N ≈ 2^35.5 ops) **require the public key as input, which Puzzle #71 does not supply.** Therefore the binding cost is full per-candidate `privkey → pubkey → SHA256 → RIPEMD160 → compare`. (If the address is ever spent, the pubkey leaks and the cost collapses to seconds–hours; that is the one scenario that invalidates this estimate.) - A3. Reference GPU = NVIDIA RTX 4090, TDP 450 W [Wikipedia]. Wall power incl. host ≈ 550 W. - A4. Per-GPU search rate taken from the **measured** public pool aggregate (see §4), not from a tool's self-reported peak. - A5. Electricity price = EIA Table 5.6.A, U.S. all-sectors avg **14.87 ¢/kWh** (Aug 2026) [EIA]. - A6. Prize = 7.10196696 BTC (funded_txo_sum 710196696 sat) × ~$61,402/BTC ≈ **$436,078**. ## 2. Sources with dates (full URLs + quotes in sources.json) - mempool.space & blockstream.info address APIs, fetched **2026-11-23 ~07:33 UTC**, chain tip height **977165**: `spent_txo_count:0`, `funded_txo_sum:710196696` → target is **unsolved**, holds 7.10196696 BTC. - btcpuzzle.info/puzzle/71 (fetched 2026-11-23): "Unsolved", "71 bit", range `400000000000000000`…`7fffffffffffffffff` — confirms parameters. - bitcointalk.org topic 1306983 (puzzle creator): "There is no pattern. It is just consecutive keys from a deterministic wallet (masked with leading 000...0001 to set difficulty)." - en.wikipedia.org GeForce RTX 40 series: RTX 4090 "official 450W TDP". - eia.gov Table 5.6.A (Aug 2026): U.S. Total average price of electricity. ## 3. Method and reproducible code Cost model: **Energy = (expected candidates) × (wall power / search rate)**, i.e. `E = C · (P / r)` joules, where `C` = 2^69 (expected) or 2^70 (worst), `P` = watts, `r` = keys/s. Money = `E_kWh × price`. Time = `C / r_total`. Two rates are measured rather than assumed: **(a) Local CPU microbenchmark** (reproducible). Build and run libsecp256k1's primitive: ```c // bench_ec.c — time privkey->pubkey (the per-candidate bottleneck) for(int i=0;i>8)&0xff; secp256k1_ec_pubkey_create(ctx,&pk,sk); secp256k1_ec_pubkey_serialize(ctx,out,&olen,&pk,SECP256K1_EC_COMPRESSED);} // N=200000 ``` ``` gcc -O2 -Iinclude -Isrc -DECMULT_WINDOW_SIZE=15 -DECMULT_GEN_PREC_BITS=4 \ bench_ec.c src/secp256k1.c src/precomputed_ecmult.c src/precomputed_ecmult_gen.c -o bench_ec ``` Hash160 throughput measured separately in Python (`hashlib.new('ripemd160', hashlib.sha256(x).digest())`). **(b) Public pool aggregate** (measured by a large real swarm): btcpuzzle.info/puzzle/71 reports a live pool speed and worker count; per-GPU rate = pool speed / workers. ## 4. Actual tests, hardware, runtime, results **Hardware (this machine):** QEMU Virtual CPU v2.5+, 4 vCPU, 7 GB RAM, **no GPU** (`nvidia-smi` absent). Measurements are single-core unless noted. | Measurement | Result | Note | |---|---|---| | `pubkey_create`+serialize (libsecp256k1) | **~33,700 ops/s / core** (200k in 5.9 s, 2 runs) | EC mult is the bottleneck | | hash160 (SHA256+RIPEMD160), Python | ~368,000 /s / core | ~11× faster than EC step; negligible | | → full candidate rate, this CPU | ~33.7k/s/core → **~135k/s** over 4 cores | measured scale reference | | Pool aggregate (btcpuzzle.info, 2026-11-23) | **123.5 Bkeys/s**, ~49 workers → **~2.52 Gkey/s per GPU** | measured real-world | These bracket the problem: a software-optimized GPU runs this search ~**18,000× faster** than one core of this VM. The pool's own "~300 years at current speed" readout is consistent with 2^70 / 123.5e9 ≈ 303 years, cross-checking the model. **Derived estimates** (expected = 2^69 candidates; GPU anchor 2.52 Gkey/s, 550 W wall → **2.18×10⁻⁷ J/key**): | Quantity | Expected (2^69) | Worst case (2^70) | |---|---|---| | Energy | **35.8 GWh** (1.29×10¹⁴ J) | 71.5 GWh | | Electricity cost @ 14.87¢ | **$5.32 M** | $10.6 M | | Single RTX 4090 wall-clock | **~7,400 years** | ~14,900 yr | | GPU-hours (one stream) | **6.5×10⁷ GPU-h** (7,400 GPU-yr) | 1.3×10⁸ | | GPUs to finish in 1 yr | **~7,400 RTX 4090** | ~14,800 | | Pool @123.5 Bkeys/s wall-clock | **~152 years** | ~303 yr | | This VM (4 cores) wall-clock | ~1.4×10⁸ years | — | **Energy cost vs. prize:** expected electricity alone (**$5.3 M**) is **~12×** the $0.436 M prize; worst case ~24×. This excludes hardware capital, cooling, and any cloud markup. Illustrative (not authorized/purchased): 6.5×10⁷ GPU-h at a nominal ~$0.35/GPU-h ≈ **$23 M**. **Break-even sensitivity.** Expected energy scales linearly with J/key: | J/key (assumption) | Expected energy | Elec. cost @14.87¢ | |---|---|---| | 5×10⁻⁸ (hypothetical 4× better) | 8.2 GWh | $1.22 M | | 1×10⁻⁷ | 16.4 GWh | $2.44 M | | 1.79×10⁻⁷ (4090 GPU-only 450 W) | 29.3 GWh | $4.35 M | | **2.18×10⁻⁷ (measured anchor, wall)** | **35.8 GWh** | **$5.32 M** | | 5×10⁻⁷ | 82 GWh | $12.2 M | To make **electricity alone** break even against the $436,078 prize you would need ≤ **1.79×10⁻⁸ J/key** — i.e. roughly **12× better energy efficiency than today's measured GPU** — before counting any hardware. Every efficiency in the plausible range leaves the search energy cost well above the reward. Carbon, illustrative only (uncited assumption 0.37 kg CO₂/kWh, U.S. grid-order): expected ~35.8 GWh → ~1.3×10⁴ tonnes CO₂. Flagged as an assumption, not a sourced figure. ## 5. Limitations and concrete next step **Limitations.** - Measured points are (i) one atypical VM CPU and (ii) a third-party pool's self-reported aggregate; I could not independently verify the pool's per-GPU figure or run a GPU here. Real GPU priv→hash160 rates vary with tool/kernel; the 2.52 Gkey/s anchor is an aggregate average, so single-card estimates carry ±2–3× uncertainty — the **qualitative conclusion (cost ≫ prize) is robust to that**, since break-even needs a ~12× efficiency gain. - Prize valuation moves with BTC price; at any realistic price the energy cost ratio stays >1. - Estimate assumes exhaustive scan with no algorithmic shortcut, valid **only while the pubkey is unexposed** (A2). It says nothing about luck (a solver may hit early) — these are expectation figures, not guarantees. - No pattern/statistical claims are made here, so held-out tests / multiple-hypothesis correction are not applicable to this workstream. **Concrete next step.** Obtain one **measured** GPU data point to replace the pool aggregate: run an open-source hash160 range scanner on a single known GPU over a *locally generated* small puzzle (e.g. a 40-bit key in a known interval) for a fixed wall-clock window, record keys/s **and** wall-power via `nvidia-smi --query-gpu=power.draw`, and recompute J/key directly. That converts the single biggest assumption (A4/J-per-key) from third-party-reported to first-party-measured, tightening the energy estimate and the break-even threshold. **Solution status:** No solution was found or attempted in this workstream; this item is a cost estimate only. The target was verified **unsolved** as of 2026-11-23 07:33 UTC (block 977165).