Files
jackpot-miner/run-jackpotminer.sh
T
jackpotincorporated e2fab622b5 Initial commit: jackpotminer Equihash 192,7 miner
GPU-accelerated Equihash 192,7 miner in Rust with three solver backends:
- CPU: Wagner's algorithm, AVX2 packed slots (xenoncat-style)
- OpenCL: full on-GPU solve (kernels/equihash.cl); runs on NVIDIA and AMD
- CUDA: driver-API replay of miniZ's extracted fatbin (src/miniz/)

Also includes a default-off pearlhash backend (src/pearl/, native CPU core +
NVRTC int8-GEMM GPU kernels) and a WIP Ethash CUDA backend (src/ethash/).

Reverse-engineering scratch (alpha-miner, pearl-dump/) and the active runtime
config (mine.toml) are gitignored; mine.example.toml is the template.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 23:08:20 -04:00

22 lines
706 B
Bash
Executable File

#!/usr/bin/env bash
# Double-click / .desktop launcher: runs jackpotminer with the mine.toml next to
# it and keeps the terminal window open afterwards so output/errors are readable.
cd "$(dirname "$(readlink -f "$0")")" || exit 1
bin="./target/release/jackpotminer"
if [ ! -x "$bin" ]; then
echo "jackpotminer is not built yet. Run: cargo build --release"
elif [ ! -f mine.toml ]; then
echo "No mine.toml found. Copy mine.example.toml to mine.toml and set your"
echo "pool URL + wallet, then double-click again."
else
"$bin" --config mine.toml "$@"
status=$?
echo
echo "jackpotminer exited (code $status)."
fi
echo
read -n1 -rsp "Press any key to close this window..."
echo