This commit is contained in:
Dobromir Popov
2025-10-01 13:43:34 +03:00
10 changed files with 169 additions and 5 deletions

2
.gitignore vendored
View File

@@ -2,3 +2,5 @@
AI/MCP/*
.fuse_hidde*
*.pyc
MINE/rin/mining_log.txt
*mining_log.txt

View File

@@ -1,4 +1,54 @@
pool:
# RANDOMX:
root@db-NucBox-EVO-X2:/home/db/Downloads/SRBMiner-Multi-2-9-6# ./SRBMiner-MULTI --algorithm randomx --pool xmr-us-east1.nanopool.org:14444 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j --disable-gpu --cpu-threads 28
cd /home/db/Downloads/SRBMiner-Multi-2-9-6
./SRBMiner-MULTI --algorithm randomx --pool randomx.mine.zergpool.com:4453 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=ZEPH --cpu-threads 28
./SRBMiner-MULTI --algorithm randomx --pool randomx.mine.zergpool.com:4453 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=ZEPH --cpu-threads 28 --gpu-id 1
# pool/solo/party -p [m=solo][m=party]
# experim
export LD_LIBRARY_PATH=/opt/rocm-6.4.3/lib:$LD_LIBRARY_PATH
./SRBMiner-MULTI --algorithm ethash --pool ethash.mine.zergpool.com:9999 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j --disable-cpu
-o stratum+tcp://ethash.mine.zergpool.com:9999 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC
./SRBMiner-MULTI --algorithm blake2s --pool auto.nicehash.com:3333 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j --disable-cpu
# exp-eth
./SRBMiner-MULTI --algorithm ethash --pool ethash.mine.zergpool.com:9999 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j --gpu-boost 3
./SRBMiner-MULTI --algorithm ethash --pool ethash.mine.zergpool.com:9999 --wallet bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j --gpu-id 0 --gpu-intensity 24 --gpu-worksize 256 --gpu-threads 1 --gpu-boost 3 --disable-cpu
#xmrig
cd /home/db/Downloads/xmrig-6.21.0 && ./xmrig -o stratum+tcp://randomx.mine.zergpool.com:4453 -a randomx -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=ZEPH -t 32
./xmrig --opencl --opencl-platform=1 --opencl-devices=0 -o stratum+tcp://randomx.mine.zergpool.com:4453 -a randomx -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=ZEPH -t 16
# ok working kawpow
./xmrig --opencl --opencl-platform=1 --opencl-devices=0 -o stratum+tcp://kawpow.mine.zergpool.com:3638 -a kawpow -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC --no-cpu
./xmrig --opencl --opencl-platform=1 --opencl-devices=0 -o stratum+tcp://ethash.mine.zergpool.com:9999 -a ethash -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC --no-cpu
./xmrig --opencl --opencl-platform=1 --opencl-devices=0 -o stratum+tcp://rinhash.mine.zergpool.com:7148 -a rinhash -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN --no-cpu
# RIN GPU local???
./xmrig --opencl --opencl-platform=1 --opencl-devices=0 -o stratum+tcp://localhost:3334 -a rinhash -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN --no-cpu
# RIN
/mnt/shared/DEV/repos/d-popov.com/mines/rin/miner/cpuminer-opt-rin/cpuminer -a rinhash -o stratum+tcp://192.168.0.188:3334 -u x -p x -t 32
cd /mnt/shared/DEV/repos/d-popov.com/mines/rin/miner/cpuminer-opt-rin
cpuminer -a rinhash -o stratum+tcp://rinhash.mine.zergpool.com:7148 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN,ID=StrixHalo -t 32
/mnt/shared/DEV/repos/d-popov.com/mines/rin/miner/cpuminer-opt-rin/cpuminer -o stratum+tcp://randomx.mine.zergpool.com:4453 -a randomx -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=ZEPH -t 32
# EXPERM MINERS
# Install OpenCL development libraries
sudo apt install opencl-headers ocl-icd-opencl-dev
# Download XMRig source and compile with OpenCL
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build && cd build
cmake .. -DWITH_OPENCL=ON
make -j$(nproc)

View File

@@ -64,14 +64,18 @@ rinhash.mine.zergpool.com:7148 c=RIN]
# WIN
PS F:\projects\mines\rin\miner\cpuminer\cpuminer-opt-rin> .\cpuminer.exe -a rinhash -o stratum+tcps://eu.rplant.xyz:17148 -u rin1qahvvv9d5f3443wtckeqavwp9950wacxfmwv20q -p m=solo
!!!!!!!!!!!!!!!!!!!!!! BEST CURRENT CPU !!!!!!!!!!!!!!!!!! Active exchange: Listed on Exbitron (RIN/USDT)
# WIN
PS F:\projects\mines\rin\miner\cpuminer\cpuminer-opt-rin> .\cpuminer.exe -a rinhash -o stratum+tcps://eu.rplant.xyz:17148 -u rin1qahvvv9d5f3443wtckeqavwp9950wacxfmwv20q -p m=solo
<!--------------------------BEST CURRENT CPU -------------------------- Active exchange: Listed on Exbitron (RIN/USDT) -->
sudo docker exec -it amd-strix-halo-llama-rocm bash -c "/mnt/dl/rinhash/cpuminer-opt-rin/cpuminer -a rinhash -o stratum+tcp://rinhash.mine.zergpool.com:7148 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN,ID=StrixHalo -t 32"
<win>
.\cpuminer.exe -a rinhash -o stratum+tcp://rinhash.mine.zergpool.com:7148 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN,ID=StrixHalo -t 3
.\cpuminer.exe -a rinhash -o stratum+tcp://192.168.0.188:3333 -u db.rog -p c=BTC,mc=RIN,ID=StrixHalo -t 3
-----------------------------------------------------------------
./cpuminer-rinhash.exe -a rinhash -o stratum+tcp://192.168.0.188:3333 -u username.workername -p x -t 4
SOLO:
/home/db/Downloads/rinhash/cpuminer-opt-rin/cpuminer -a rinhash -o stratum+tcp://192.168.0.188:3333 -u username.workername -p x -t 28./cpuminer-rinhash.exe -a rinhash -o stratum+tcp://192.168.0.188:3333 -u username.workername -p x -t 4
./cpuminer-rinhash.exe -a rinhash -o stratum+tcp://rinhash.mine.zergpool.com:7148 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN,ID=StrixHalo -t 3
./cpuminer --algo rinhash --url [pool_url] --user [your_rin_wallet] --pass x --threads 32

2
MINE/rin/mining_log.txt Normal file
View File

@@ -0,0 +1,2 @@
[2025-09-29 20:11:03] 💰 Wallet Balance: 0.00000000 RIN
[2025-09-29 22:31:04] 💰 Wallet Balance: 0.00000000 RIN

View File

@@ -0,0 +1,76 @@
# #!/bin/bash
# # RinCoin Solo Mining via RPC
# # This script uses RinCoin's RPC interface for solo mining
# echo "=== RinCoin Solo Mining via RPC ==="
# echo ""
# # Configuration
# RPC_HOST="127.0.0.1"
# RPC_PORT="9556"
# RPC_USER="rinrpc"
# RPC_PASS="745ce784d5d537fc06105a1b935b7657903cfc71a5fb3b90"
# # Function to call RPC
# call_rpc() {
# local method="$1"
# local params="$2"
# curl -s --user "$RPC_USER:$RPC_PASS" \
# -H 'content-type: text/plain' \
# --data "{\"jsonrpc\":\"1.0\",\"id\":\"curl\",\"method\":\"$method\",\"params\":$params}" \
# "http://$RPC_HOST:$RPC_PORT/"
# }
# # Wait for node to be ready
# echo "Waiting for RinCoin node to be ready..."
# while true; do
# response=$(call_rpc "getblockchaininfo" "[]")
# if [[ $response != *"Loading block index"* ]]; then
# break
# fi
# echo "Node still loading... waiting 10 seconds"
# sleep 10
# done
# echo "✅ Node is ready!"
# echo ""
# # Get wallet address
# echo "Getting wallet address..."
# wallet_response=$(call_rpc "getnewaddress" "[]")
# rin_address=$(echo "$wallet_response" | grep -o '"result":"[^"]*"' | cut -d'"' -f4)
# if [ -z "$rin_address" ]; then
# echo "❌ Error: Could not get RinCoin address!"
# echo "Response: $wallet_response"
# exit 1
# fi
# echo "✅ RinCoin Address: $rin_address"
# echo ""
# # Get blockchain info
# echo "Blockchain Status:"
# blockchain_info=$(call_rpc "getblockchaininfo" "[]")
# blocks=$(echo "$blockchain_info" | grep -o '"blocks":[^,]*' | cut -d':' -f2)
# headers=$(echo "$blockchain_info" | grep -o '"headers":[^,]*' | cut -d':' -f2)
# difficulty=$(echo "$blockchain_info" | grep -o '"difficulty":[^,]*' | cut -d':' -f2)
# echo "Blocks: $blocks"
# echo "Headers: $headers"
# echo "Difficulty: $difficulty"
# echo ""
# echo "⚠️ IMPORTANT: RinCoin solo mining requires:"
# echo "1. A fully synced node (currently at block $blocks of $headers)"
# echo "2. Mining software that supports RinCoin's RPC mining protocol"
# echo "3. Very high hashpower to find blocks solo"
# echo ""
# echo "For now, we recommend pool mining for consistent rewards:"
# echo ""
# echo "Pool Mining Command:"
# echo "sudo docker exec -it amd-strix-halo-llama-rocm bash -c \"/mnt/dl/rinhash/cpuminer-opt-rin/cpuminer -a rinhash -o stratum+tcp://rinhash.mine.zergpool.com:7148 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p c=BTC,mc=RIN,ID=StrixHalo -t 32\""
# echo ""
# echo "Your RinCoin address for solo mining: $rin_address"

View File

@@ -0,0 +1,14 @@
# #!/bin/bash
# set -euo pipefail
# SCRIPT_DIR="/mnt/shared/DEV/repos/d-popov.com/scripts/MINE/rin/web_wallet"
# if ! command -v python3 >/dev/null 2>&1; then
# echo "python3 is required"
# exit 1
# fi
# python3 "${SCRIPT_DIR}/server.py"

1
MINE/stratum Submodule

Submodule MINE/stratum added at 829075155a

6
dev/AI.md Normal file
View File

@@ -0,0 +1,6 @@
curl -fsSL https://cli.coderabbit.ai/install.sh | bash
1. Restart your shell or run: source ~/.bashrc
2. Run 'coderabbit auth login' to authenticate

View File

@@ -2,10 +2,10 @@
git config --global user.name "Dobromir Popov"
#store credentals
git config --global credential.helper store
#store credentals in file
git config --global credential.helper store --file
git config credential.helper store --file
#add upstream (when forked)
git remote add upstream https://github.com/petals-infra/health.petals.dev.git

9
mining_log.txt Normal file
View File

@@ -0,0 +1,9 @@
================================================================================
RinCoin Mining Log
================================================================================
Started: 2025-09-24 14:14:54
Target Address: rin1qahvvv9d5f3443wtckeqavwp9950wacxfmwv20q
Stratum: 0.0.0.0:3334
RPC: 127.0.0.1:9556
================================================================================