# Workstream 17 — Evaluate exhaustive search for the verified input type **Item:** `17-evaluate-exhaustive-search-for-th` · Goal: Bitcoin Puzzle #71. **Solution found: NO.** This report is analysis + bounded, executed micro-benchmarks + extrapolation. No key was recovered; no transaction was built or broadcast. ## 1. Question and assumptions **Question.** For the *verified input type* of Puzzle #71, is brute-force ("exhaustive") key search a viable path, and what does it actually cost? What are the exact inputs the method needs, and does #71 supply them? **Verified input type (what we are actually searching).** Puzzle #71 is a **P2PKH (base58 `1...`) address, `1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU`**, funded 2015-01-15, whose coins have **never been spent**. Therefore the **public key is NOT on-chain** — only the HASH160 (RIPEMD160(SHA256(pubkey))) embedded in the address is public. The private key is one integer in the **closed interval `0x400000000000000000 .. 0x7fffffffffffffffff` = 2^70 .. 2^71−1** (per the puzzle construction: puzzle N holds a key in `2^(N-1) ≤ k < 2^N`). I independently reproduced that the puzzle uses **compressed** public keys: in my own code `privkey=1` → `1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH` (compressed), which is the published Puzzle #1 address, while the uncompressed form gives `1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm`. So the per-key work unit is: `k → EC scalar-mult k·G → compress → SHA256 → RIPEMD160 → compare 20 bytes`. **Consequences for algorithm choice (key point for this workstream).** - Because the **pubkey is hidden**, the fast discrete-log attacks that give a √ speedup — **Pollard's Kangaroo / BSGS**, which would solve a 71-bit interval in ~2^35.5 group ops — **cannot be applied**: they require the target *public key* as input, which #71 does not publish. (A pubkey-interval search is a *different* input type; see workstream caveat.) - The only algorithm family that works on the *actual* input (an address/HASH160) is **exhaustive address search over the interval**: enumerate candidate `k`, derive the HASH160, compare. This is O(2^70) worst case, ~2^69 expected, embarrassingly parallel, and needs **no shared state between workers** — each worker owns a sub-range. That makes it self-contained per the goal's "independent items" rule. **Assumptions.** (a) Parameters as stated in the goal and confirmed below. (b) The key is uniformly distributed in the interval (the creator states "There is no pattern"), so exhaustive search has no exploitable structure and the *expected* cost is half the range. (c) No GPU is present on this machine (`nproc`=4, AMD EPYC CPU only); optimized GPU rates below are cited/estimated, not measured here, and are labelled as such. ## 2. Sources with dates Accessed 2026-11-23 (UTC). Full quotes in `sources.json`. - **privatekeys.pw — "~1000 BTC Bitcoin Challenge"**: confirms address `1PWo3JeB9jrGwfHDNpdGK54CRas7fsVzXU`, start date 2015-01-15, creator handle `saatoshi_rising`, the construction "one private key from each progressively larger range", and the creator's own words "There is no pattern. It is just consecutive keys from a deterministic wallet". Status overall PARTIALLY SOLVED (lower puzzles solved; #71 listed unsolved / in-progress across trackers). - **btcpuzzlesearch.com/puzzle/71, btcpuzzle.info/puzzle/71** (search-indexed, 2026-11): #71 unsolved, range 2^70→2^71, prize ≈7.1 BTC; one solo-pool tracker reported ≈1.05% of ranges scanned (data stamped 2026-11-20) and an ~199-year estimate at its then-current pooled speed. Trackers are third-party/volunteer and figures are approximate/stale. **Status conclusion:** Puzzle #71 is **UNSOLVED** as of 2026-11-23 per multiple independent trackers; parameters match the goal. No conflict found, so target-specific analysis proceeds. I did not query a live UTXO node from this sandbox (no trusted node reachable); balance/height figures above are from trackers and are labelled approximate. **Recipient address (validated, not the target).** `bc1pg6luxm9s4qq65lge4l6ual7xwdw5v85eh675cmrl5we0ht3vpfhswxu0cx` — I decoded it locally: HRP `bc`, **witness version 1 (P2TR/Taproot)**, **bech32m checksum VALID**. It is a well-formed mainnet Taproot address. (Encoding validity ≠ control of the key; no funds were moved.) ## 3. Method and reproducible code Self-contained pure-Python (no third-party deps; `coincurve`/`ecdsa`/`pip` are absent in this sandbox). The script in `test/scratch/bench.py` (reproduced below in essence): 1. Implements secp256k1 point add/double/mul, compressed-pubkey HASH160, and base58check. 2. **Correctness oracle:** derives Puzzle #1 (`k=1`) and checks it equals the published compressed address — proves the derivation pipeline is correct. 3. **Throughput bench:** times N full work-units (`mul+hash160+compare`) → keys/sec/core. 4. **Scaled-down exhaustive search:** hides a secret `k` in a small window `[2^22, 2^22+W)`, brute-forces linearly, and asserts it recovers the exact secret — proving the *method* finds the key, so only *scale* (not correctness) separates it from #71. ```python P=0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F Gx=0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798 Gy=0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8 def inv(a):return pow(a,P-2,P) def add(Pp,Q): if Pp is None:return Q if Q is None:return Pp (x1,y1),(x2,y2)=Pp,Q if x1==x2 and (y1+y2)%P==0:return None s=((3*x1*x1)*inv(2*y1) if Pp==Q else (y2-y1)*inv((x2-x1)%P))%P x3=(s*s-x1-x2)%P;return (x3,(s*(x1-x3)-y1)%P) def mul(k): R=None;A=(Gx,Gy) while k: if k&1:R=add(R,A) A=add(A,A);k>>=1 return R # hash160 = ripemd160(sha256(0x02/03||x)); compare to target HASH160. ``` ## 4. Actual tests, hardware, runtime, results **Hardware:** this sandbox — AMD EPYC (IBPB), **4 vCPU**, no GPU. Pure CPython 3.12, single thread for the bench. | Test | Result | |---|---| | Correctness oracle (k=1) | compressed → `1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH` ✅ matches published Puzzle #1 | | Throughput (300 work-units) | 300 keys in **1.210 s → ≈248 keys/s per core** (pure Python) | | Scaled exhaustive search | secret at 4,195,373 in `[2^22, 2^22+2000)`; scanned 1,070 keys in 6.68 s, **found=4,195,373, correct=True** ✅ | So the exhaustive method **provably works** at small scale. Measured single-core rate ≈248 keys/s; ~1,000 keys/s across 4 cores (pure Python — unoptimized). **Extrapolation to the full 2^70 interval** (keyspace = 2^70 ≈ 1.18×10^21; expected = half). *These are estimates; only the two rows marked "measured" were run here.* | Engine (rate) | Worst-case time | Expected time | |---|---|---| | This machine, **measured** ~1×10^3 keys/s | 3.7×10^10 yr | 1.9×10^10 yr | | Optimized multicore CPU (keyhunt-class) ~1×10^7 keys/s *(estimate)* | 3.7×10^6 yr | 1.9×10^6 yr | | One high-end GPU (BitCrack/VanitySearch-class) ~2×10^9 keys/s *(estimate)* | 1.9×10^4 yr | 9.4×10^3 yr | | Fleet of 10,000 such GPUs ~2×10^13 keys/s *(estimate)* | 1.9 yr | 0.94 yr | Interpretation: on **any single machine**, exhaustive search is **infeasible** (millennia to cosmological timescales). It becomes "merely very hard" only for a **large sustained GPU fleet** — consistent with the real distributed solo-pools that, per trackers, have scanned only ≈1% of #71's range despite years of volunteer effort. My measured CPU number is ~10^6× slower than an optimized GPU; the gap is implementation (C/CUDA, batched modular inverse, endomorphism, precomputed tables), not a different algorithm. ## 5. Limitations and concrete next step **Limitations.** - Pure-Python rate is a *floor*, not what a serious attacker uses; it only establishes the correctness and the per-unit shape of the work, plus an anchor for extrapolation. - No GPU here, so the GPU rows are cited/estimated, not measured. No live UTXO node was reachable from the sandbox; balance/height are from third-party trackers (approximate). - "There is no pattern" (creator) means no held-out pattern test is warranted for exhaustive search; address-prefix proximity is **not** evidence of numerical closeness to the key and gives no speedup. Kangaroo/BSGS are excluded because #71 **does not expose a public key**. **Honest negative result.** Exhaustive search cannot solve #71 within this item's bounded resources (or any single machine's). Its only merit is that it needs exactly the input #71 *does* provide (a HASH160) and requires no inter-worker state. **Concrete next experiment.** Build a reproducible, correctness-verified **batched GPU/CPU kernel micro-benchmark**: implement the per-key work-unit with (a) batched/Montgomery modular inversion (one inverse per ~1024 keys via the Montgomery trick) and (b) sequential point addition by +G (incremental, avoiding a full scalar-mult per key). Measure keys/s on a single commodity GPU, then recompute the table above from *measured* GPU throughput to replace the estimated rows — this sharpens the only number that determines whether a fleet could ever finish, without spending real compute on the hopeless full scan. Separately, the highest-value pivot is to track whether the **public key ever becomes exposed** (any spend from the address); if it does, the input type changes and Kangaroo (~2^35.5 ops, hours on one GPU) becomes the correct method — that transition, not faster brute force, is the real threat model.