stratum working, implement mining pool, support "extranonce"
This commit is contained in:
46
MINE/rin/QUICK_REFERENCE.md
Normal file
46
MINE/rin/QUICK_REFERENCE.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# RinCoin Mining Quick Reference
|
||||
|
||||
## 🚀 **Quick Commands:**
|
||||
|
||||
### **Solo Mining (All Rewards to You)**
|
||||
```bash
|
||||
# Start solo mining proxy
|
||||
./MINE/rin/start_stratum_proxy.sh
|
||||
|
||||
# Connect miner
|
||||
./cpuminer -a rinhash -o stratum+tcp://127.0.0.1:3333 -u user -p pass -t 28
|
||||
```
|
||||
|
||||
### **Mining Pool (Distribute Rewards)**
|
||||
```bash
|
||||
# Start mining pool
|
||||
./MINE/rin/start_mining_pool.sh
|
||||
|
||||
# Miners connect
|
||||
./cpuminer -a rinhash -o stratum+tcp://YOUR_IP:3333 -u username.workername -p x
|
||||
```
|
||||
|
||||
### **Cleanup**
|
||||
```bash
|
||||
# Kill proxy/pool processes
|
||||
./MINE/rin/kill_stratum_proxy.sh
|
||||
```
|
||||
|
||||
## 📊 **What Each Does:**
|
||||
|
||||
| Command | Purpose | Rewards | Miners |
|
||||
|---------|---------|---------|--------|
|
||||
| `start_stratum_proxy.sh` | Solo mining | 100% to you | Single |
|
||||
| `start_mining_pool.sh` | Pool mining | Distributed | Multiple |
|
||||
|
||||
## 🌐 **Web Dashboard (Pool Only)**
|
||||
- **URL**: `http://YOUR_IP:8080`
|
||||
- **Features**: Stats, miners, blocks, hashrate
|
||||
|
||||
## ⚡ **Quick Test**
|
||||
```bash
|
||||
# Test solo mining
|
||||
./MINE/rin/start_stratum_proxy.sh &
|
||||
sleep 5
|
||||
./cpuminer -a rinhash -o stratum+tcp://127.0.0.1:3333 -u user -p pass -t 4
|
||||
```
|
Reference in New Issue
Block a user