Publish sanitized P2Pool hashrate at www.eom.dev/p2pool/stats.json #1

Merged
eric merged 4 commits from p2pool-public-stats into main 2026-11-08 17:35:49 +00:00
Showing only changes of commit 4bff3c6cd5 - Show all commits
+2 -2
View File
@@ -238,6 +238,8 @@
command:
- p2pool
# P2Pool takes "--opt value" only; "--opt=value" makes it exit.
# --data-api/--local-api feed the stats sidecar below.
# local/stratum lists worker IPs, so /api is never served.
args: >-
{{
['--host', 'monerod',
@@ -245,8 +247,6 @@
'--wallet', monero_p2pool_wallet_address,
'--stratum', '0.0.0.0:3333',
'--p2p', '0.0.0.0:37889',
# JSON stats for the sidecar below. local/stratum lists
# worker IPs, so /api is never served directly.
'--data-api', '/api', '--local-api']
+ ([] if monero_p2pool_chain == 'main' else ['--' ~ monero_p2pool_chain])
+ (['--addpeers', monero_p2pool_addpeers | join(',')] if monero_p2pool_addpeers else [])