Skip to content

Benchmark Tor vs clearnet while mining (p2pool / monerod / Tari) — does steady-state mining lose yield over Tor? #256

Description

@VijitSingh97

Motivation

The privacy epic #160 locks in a v1.1 plan to flip the yield-trade-off paths to Tor by default — p2pool outbound sidechain P2P (#165) and XvB donation mining (#166) — but explicitly conditions it on:

v1.1 — Tor-by-default for the yield-trade-off paths (benchmark first; opt-out documented)

This issue is that benchmark. We need quantitative data on whether routing the mining-path networking over Tor (vs clearnet) measurably hurts yield or reliability while actively mining (steady state — not initial sync, which #183/#234 already established is impractically slow over Tor). The result feeds the default decisions in #165/#166 and gives us an honest trade-off section for docs/privacy.md.

Question

While the stack is mining at steady state, does routing p2pool sidechain P2P, monerod P2P, and Tari P2P over Tor instead of clearnet cost us anything that matters — share latency, orphan/uncle rate, block propagation lag, effective on-pool hashrate, or crediting at XvB?

Metrics to compare (Tor vs clearnet, same hashrate input)

p2pool (most latency-sensitive → directly revenue-affecting)

  • Share submission latency / round-trip to sidechain peers
  • Uncle / orphan share rate (the headline number — latency → stale shares → lost revenue)
  • Time-to-first-share after start; sidechain peer count & churn
  • Effective/accepted hashrate as seen on the pool

monerod

  • Tip lag / block propagation delay (how stale is our chain tip vs network)
  • Peer count, connection stability, reorg exposure

Tari (merge-mining)

  • Block-template freshness, block propagation, peer connectivity

XvB donation path (#166)

  • Whether clearnet vs Tor affects accepted-share crediting at na.xmrvsbeast.com

Overhead

  • Tor daemon CPU / memory cost under sustained mining traffic

Method

Output / deliverable

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    moneromonerod / Monero nodep2poolP2Pool sidechainperformanceHashrate / tuning / efficiencysecuritySecurity-sensitive issue or hardeningtariTari / merge-miningtestingTests, CI, and test infrastructurewave-2-privacyv1.1 Wave 2 — privacy defaults (the long pole; benchmark-gated)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions