Commit Graph
5 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 fd4f3184d7 Publish sanitized P2Pool hashrate stats
Enable P2Pool's --data-api/--local-api and add a small stdlib-only sidecar
that copies an allowlist of numeric fields (node/sidechain hashrate,
connected miners, shares, network difficulty) to /p2pool/stats.json. Worker
IPs and wallet fragments in local/stratum are never served.

An Ingress adds that single path to the website host (www.eom.dev by
default), so the homepage can read it same-origin and reuse its TLS cert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018STDcc5BaYxPMNA9S8Wycs
2026-11-08 02:36:23 +00:00
claudeandClaude Opus 5.5 c1465f9d5c Pass P2Pool's RPC login as two arguments
P2Pool rejects "--rpc-login=value" and exits after printing its help, so
the previous commit crash-looped it. monerod accepts either form.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:53:03 -05:00
claudeandClaude Opus 5.5 46aec42185 Move RPC login to a Secret, put P2Pool on a selectable sidechain
The monerod RPC login was in both Deployments' args, readable by anyone who
can read Deployments. It now lives in the monerod-rpc Secret and reaches the
containers through an env var.

P2Pool now runs on monero_p2pool_chain, defaulting to nano. On main the
miners found a share about every 6 days and missed most PPLNS windows.
The hardcoded main-chain peer only applied to main, so peers are a variable.

monerod's RPC SSL is now autodetect: Shkeeper's Monero module always uses
plain HTTP, so with SSL required it saw the node as Offline and hid XMR.

Also: Deployments use apps/v1, monerod's ZMQ binds 0.0.0.0 to match the
live deployment (P2Pool connects from its own pod), required variables are
checked up front, and the README describes the role.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:46:16 -05:00
eric dfef5bea63 Secured rpc login 2026-07-15 13:23:08 -04:00
eric 4dcdc58d73 Initial commit 2026-07-07 10:43:07 -04:00