From d3076198337fd05ec92c849a6d4ab8d45708a7be Mon Sep 17 00:00:00 2001 From: RubenCGomes Date: Sun, 2 Nov 2025 22:40:26 +0000 Subject: [PATCH] add quick verification test script for all DETI coin miners --- test_miners.bash | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100755 test_miners.bash diff --git a/test_miners.bash b/test_miners.bash new file mode 100755 index 0000000..2f1ed80 --- /dev/null +++ b/test_miners.bash @@ -0,0 +1,71 @@ +#!/bin/bash +# +# Quick test script to verify all DETI coin miners +# + +echo "===================================================" +echo "DETI Coin Miner - Quick Verification Test" +echo "===================================================" +echo "" + +# Test 1: CPU Miner +echo "Test 1: CPU Miner (1 million attempts)" +echo "---------------------------------------------------" +./coin_miner_cpu 1000000 +echo "" +echo "" + +# Test 2: SIMD Miner +echo "Test 2: SIMD Miner (1 million attempts)" +echo "---------------------------------------------------" +./coin_miner_simd 1000000 +echo "" +echo "" + +# Test 3: CUDA Miner (standard mode) +echo "Test 3: CUDA Miner - Standard Mode (10 million attempts)" +echo "---------------------------------------------------" +./coin_miner_cuda 10000000 +echo "" +echo "" + +# Test 4: CUDA Miner (scan mode) +echo "Test 4: CUDA Miner - Scan Mode (10 million attempts)" +echo "---------------------------------------------------" +./coin_miner_cuda 10000000 scan +echo "" +echo "" + +# Check if any coins were found +echo "===================================================" +echo "Checking for found coins..." +echo "===================================================" +if [ -f deti_coins_v2_vault.txt ]; then + echo "Vault file exists!" + echo "Number of coins found: $(wc -l < deti_coins_v2_vault.txt)" + echo "" + echo "First few coins:" + head -5 deti_coins_v2_vault.txt +else + echo "No coins found yet (this is expected - they're rare!)" +fi +echo "" + +# Check CUDA statistics +echo "===================================================" +echo "CUDA Statistics" +echo "===================================================" +if [ -f cuda_kernel_stats.csv ]; then + echo "CSV file exists with $(wc -l < cuda_kernel_stats.csv) entries" + echo "" + echo "Sample entries:" + head -10 cuda_kernel_stats.csv +else + echo "No CUDA statistics file found" +fi +echo "" + +echo "===================================================" +echo "All tests completed!" +echo "===================================================" +