File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Phase 4 Stress Test: 48h run in --embedded-ltc mode (no daemon)
3+ # LTC testnet peer: 192.168.86.26:19335
4+
5+ set -euo pipefail
6+
7+ BINARY=" /home/user0/Github/c2pool/build/src/c2pool/c2pool"
8+ LOGDIR=" /home/user0/Github/c2pool/stress-test-logs"
9+ LOGFILE=" $LOGDIR /stress_$( date +%Y%m%d_%H%M%S) .log"
10+ PIDFILE=" $LOGDIR /c2pool.pid"
11+
12+ mkdir -p " $LOGDIR "
13+
14+ # LTC testnet address for payout (bech32 testnet format)
15+ PAYOUT_ADDR=" tltc1qg8emapewwtdxkr0m0jfvlsmflkqfkv3sdjhcne"
16+
17+ echo " === Phase 4 Stress Test: $( date) ===" | tee " $LOGFILE "
18+ echo " Mode: --embedded-ltc (no daemon)" | tee -a " $LOGFILE "
19+ echo " LTC testnet P2P: 192.168.86.26:19335" | tee -a " $LOGFILE "
20+ echo " Payout: $PAYOUT_ADDR " | tee -a " $LOGFILE "
21+ echo " " | tee -a " $LOGFILE "
22+
23+ exec " $BINARY " \
24+ --integrated \
25+ --embedded-ltc \
26+ --testnet \
27+ --coind-p2p-address 192.168.86.26 \
28+ --coind-p2p-port 19335 \
29+ --node-owner-address " $PAYOUT_ADDR " \
30+ --p2pool-port 19338 \
31+ --worker-port 19327 \
32+ --web-port 8080 \
33+ --dashboard-dir web-static \
34+ --cors-origin ' *' \
35+ --p2p-max-peers 20 \
36+ --stratum-min-diff 0.001 \
37+ --stratum-max-diff 65536 \
38+ --stratum-target-time 10 \
39+ 2>&1 | tee -a " $LOGFILE "
You can’t perform that action at this time.
0 commit comments