NVIDIA CUDA miner for the BTCW NEWFORK signing-work algorithm. It talks to a local node through shared memory. Build it for Windows or Linux.
Source for NVIDIA GPUs. There is no packaged release yet — build with the CUDA toolkit.
Required to mine. Run the QT wallet on the same machine as the GPU miner.
Sign up to receive notifications when new miner versions are released.
9 miners have signed up!
🟢
NVIDIA
CUDA toolkit and driver
Supported🔴
AMD
This miner is CUDA only
Not supportedThe default Linux build targets an RTX 4060 (compute capability 8.9). Set CUDA_ARCH for a different NVIDIA GPU.
1. Get the source
git clone https://github.com/btcw-space/cuda-btcw-miner.git cd cuda-btcw-miner
2. Start the BTCW node on the same machine
The wallet needs at least one UTXO. The miner reads work from the node shared-memory object.
3. Build and run
Linux:
chmod +x build_cuda.sh ./build_cuda.sh ./release/btcw_cuda_miner
Windows, from a CUDA-enabled prompt:
build_cuda.bat release\btcw_cuda_miner.exe
Default Linux settings are sm_89, 160 registers, and a sign batch of 128. Confirm startup prints sign-batch128 and that the RFC6979 self-test passed.
./build_cuda.sh 160 CUDA_SIGN_BATCH=64 ./build_cuda.sh 160 CUDA_ARCH=sm_89 ./build_cuda.sh 160
./release/btcw_cuda_miner [gpu] [work_size] [block_size] ./release/btcw_cuda_miner
Run the miner on the same machine as the BTCW node. It uses the shared-memory mailbox named shared_mem.
Only one node and miner pair should use a given shared-memory object.
If the miner says it is not connected, start the node wallet and make sure it has at least one UTXO.
Do not mine with a binary whose RFC6979 self-test fails. Rebuild for the GPU's CUDA architecture.