How swar0g/seeker works
Seeker builds a sorted HASH160 index from Bitcoin addresses, then repeatedly generates valid secret keys, hashes them through a selected compute backend, and checks the results against the index. A match is reported with its private key; the application also reports throughput. The graph includes the documented CUDA kernel and verification capabilities. The main-loop excerpt is partial, so its documented workflow relationships cite the README; implementation details not shown there are not inferred.
Main entry points: main.rs Seeker loop · mod.rs Backend selection · cuda.rs CUDA backend · build_index.rs Index builder
Components 14
Index construction
- Address list
- Index builder
src/bin/build_index.rs - Mapped address index
src/main.rs
Collision seeking
- Seeker loop
src/main.rs - Key generation
src/main.rs - Collision lookup
src/main.rs - Match and stats
src/main.rs
Compute backends
- Backend selection
src/backend/mod.rs - CPU backend
src/backend/cpu.rs - CPU hash pipeline
src/main.rs
CUDA acceleration
- CUDA backend
src/backend/cuda.rs - GPU kernels
src/backend/cuda_kernels.cu - CPU parity checks
src/backend/cuda.rs
Other components
- Operator
Connections 15
- Operator → Index builder: builds index
README.md - Operator → Seeker loop: runs search
README.md - Address list → Index builder: reads addresses
README.md - Index builder → Mapped address index: writes index
src/bin/build_index.rs - Seeker loop → Mapped address index: opens index
README.md - Seeker loop → Key generation: generates batches
README.md - Seeker loop → Backend selection: selects backend
src/main.rs - Backend selection → CPU backend: creates default
src/backend/mod.rs - Backend selection → CUDA backend: creates optionally
src/backend/mod.rs - CPU backend → CPU hash pipeline: delegates hashing
src/backend/cpu.rs - Seeker loop → Collision lookup: checks digests
README.md - Collision lookup → Mapped address index: searches hashes
README.md - Seeker loop → Match and stats: reports results
README.md - CUDA backend → GPU kernels: launches kernels
README.md - CUDA backend → CPU parity checks: verifies samples
src/backend/cuda.rs