success log
This commit is contained in:
@@ -64,7 +64,9 @@ The original code didn't show the actual hash vs target comparison, making it di
|
||||
/mnt/shared/DEV/repos/d-popov.com/mines/rin/proxy/
|
||||
├── custom/ # Our implementation
|
||||
│ ├── stratum_proxy.py # Fixed version with all issues resolved
|
||||
│ └── start_stratum_proxy.sh # Startup script
|
||||
│ ├── start_stratum_proxy.sh # Startup script
|
||||
│ ├── view_mining_log.sh # Script to view mining log
|
||||
│ └── mining_log.txt # Mining log file (created when running)
|
||||
├── third-party/ # External stratum implementations
|
||||
│ └── [stratum library files] # Node.js stratum implementation
|
||||
├── README.md # This file
|
||||
@@ -84,6 +86,55 @@ cd /mnt/shared/DEV/repos/d-popov.com/mines/rin/proxy/custom
|
||||
sudo docker exec -it amd-strix-halo-llama-rocm bash -c "/mnt/dl/rinhash/cpuminer-opt-rin/cpuminer -a rinhash -o stratum+tcp://127.0.0.1:3334 -u user -p pass -t 28"
|
||||
```
|
||||
|
||||
### 3. Monitor Mining Progress
|
||||
```bash
|
||||
# View mining log summary
|
||||
./view_mining_log.sh
|
||||
|
||||
# Watch live mining log
|
||||
tail -f mining_log.txt
|
||||
|
||||
# View full log
|
||||
cat mining_log.txt
|
||||
```
|
||||
|
||||
## Mining Log Feature
|
||||
|
||||
The stratum proxy now includes comprehensive logging:
|
||||
|
||||
### **What Gets Logged**
|
||||
- **Found Hashes**: Every valid block hash with difficulty, height, reward, nonce, and timestamp
|
||||
- **Wallet Balance**: Current balance logged every 10 minutes and after each successful block
|
||||
- **Mining Session**: Start time, target address, and configuration details
|
||||
|
||||
### **Log File Format**
|
||||
```
|
||||
================================================================================
|
||||
RinCoin Mining Log
|
||||
================================================================================
|
||||
Started: 2025-09-15 22:45:30
|
||||
Target Address: rin1qahvvv9d5f3443wtckeqavwp9950wacxfmwv20q
|
||||
Stratum: 0.0.0.0:3334
|
||||
RPC: 127.0.0.1:9556
|
||||
================================================================================
|
||||
|
||||
[2025-09-15 22:50:15] 💰 Wallet Balance: 0.00000000 RIN
|
||||
[2025-09-15 23:15:30] 🎉 HASH FOUND!
|
||||
Hash: 0000000123456789abcdef...
|
||||
Difficulty: 0.544320
|
||||
Height: 246531
|
||||
Reward: 12.50000000 RIN
|
||||
Nonce: 12345678
|
||||
Time: 68c86788
|
||||
----------------------------------------
|
||||
[2025-09-15 23:15:35] 💰 Wallet Balance: 12.50000000 RIN
|
||||
```
|
||||
|
||||
### **Monitoring Commands**
|
||||
- `./view_mining_log.sh` - Summary of mining activity
|
||||
- `tail -f mining_log.txt` - Live log monitoring
|
||||
- `grep "HASH FOUND" mining_log.txt` - Count blocks found
|
||||
|
||||
## Expected Behavior with Fixed Version
|
||||
|
||||
With your ~750 kH/s hashrate and network difficulty of 0.544320:
|
||||
|
Reference in New Issue
Block a user