Skip to content

Releases: p2pool-starter-stack/p2pool-starter-stack

XvB Support, Sync Mode, and Better Dashboard

13 Feb 20:03
Immutable release. Only release title and notes can be modified.
8c1e05f

Choose a tag to compare

v0.2: Algorithmic Yield Optimization & Dashboard 2.0

🚀 High-Level Summary

This release represents a complete architectural overhaul of the P2Pool Starter Stack. We have introduced Algorithmic Yield Optimization, a smart engine that intelligently switches hashrate between P2Pool and the XMRvsBeast bonus pool to maximize profitability based on donation tiers.

The update also features Dashboard 2.0, a completely rewritten monitoring interface with historical charting, persistence, and real-time system metrics, alongside a new CLI management tool and a dedicated Worker Provisioning Kit.

✨ Key Features

🧠 Algorithmic Switching Engine

  • Yield Optimization: A new background service monitors total cluster hashrate and XMRvsBeast donation tiers.
  • Dynamic Routing: Automatically switches the xmrig-proxy upstream target between P2Pool (default) and XMRvsBeast (bonus rounds) when specific hashrate thresholds are met.
  • Seamless Operation: Workers connect to a single endpoint (Port 3333); the stack handles all routing logic transparently without requiring worker reconfiguration.

📊 Dashboard 2.0

  • Complete Rewrite: Replaced the legacy status script with a robust Python/Aiohttp application.
  • Persistence: Implemented SQLite storage to persist hashrate history and worker data across container restarts.
  • Rich Visualizations:
    • Interactive charts showing P2Pool vs. XvB hashrate split and share submission events.
    • Real-time "Sync Mode" overlay for Monero/Tari synchronization status.
    • Detailed "Workers Alive" table with sorting and individual metrics.
  • System Monitoring: Added tracking for Host CPU load, RAM usage, Disk usage, and HugePages status.

🛠️ New Management Tools

  • Unified CLI (p2pool-starter-stack.sh): Replaces deploy.sh.
    • Start/Stop: ./p2pool-starter-stack.sh -s / -d
    • Upgrade: ./p2pool-starter-stack.sh -u (Rebuilds containers preserving config)
    • Logs: ./p2pool-starter-stack.sh -l
    • Reset: ./p2pool-starter-stack.sh -rd (Wipes dashboard data)
  • Worker Provisioning Kit: A new worker/ directory containing scripts to automate XMRig compilation, kernel tuning (HugePages, MSR), and systemd setup on satellite miners.

🏗️ Architecture Changes

  • XMRig Proxy: Added as a core service to aggregate worker connections.
  • Docker Socket Proxy: Introduced a read-only sidecar for secure container monitoring.
  • Tari gRPC: Dashboard now communicates directly with the Tari Base Node via gRPC.
  • Network Mode: Dashboard uses network_mode: host for improved local discovery.

📦 Component Updates

  • Monero: Updated to v0.18.4.5
  • P2Pool: Updated to v4.13
  • Tari: Updated to v5.2.1-mainnet
  • Tor: Configuration refined for better hidden service isolation.

⚠️ Breaking Changes

  • Script Deprecation: deploy.sh is removed. Use p2pool-starter-stack.sh for all operations.
  • Worker Port: To utilize the algorithmic switching, point your workers to port 3333 (XMRig Proxy) instead of the P2Pool ports directly.

🆙 Upgrade Instructions

  1. Stop the current stack:
    docker compose down
  2. Pull the latest changes:
    git pull
  3. Run the upgrade command:
    chmod +x p2pool-starter-stack.sh
    ./p2pool-starter-stack.sh -u

Initial Dashboard

10 Feb 00:01
b12e0f5

Choose a tag to compare