Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions src/core/web_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4772,28 +4772,6 @@ nlohmann::json MiningInterface::rest_web_currency_info()
default: result["share_version"] = 36; break;
}

// p2pool share version for the current coin — consumed by the
// bundled @c2pool/sharechain-explorer to classify share cells.
// Dash = v16, LTC/DOGE/BTC = v36.
switch (m_blockchain) {
case Blockchain::DASH: result["share_version"] = 16; break;
case Blockchain::LITECOIN:
case Blockchain::BITCOIN:
case Blockchain::DOGECOIN:
default: result["share_version"] = 36; break;
}

// p2pool share version for the current coin — consumed by the
// bundled @c2pool/sharechain-explorer to classify share cells.
// Dash = v16, LTC/DOGE/BTC = v36.
switch (m_blockchain) {
case Blockchain::DASH: result["share_version"] = 16; break;
case Blockchain::LITECOIN:
case Blockchain::BITCOIN:
case Blockchain::DOGECOIN:
default: result["share_version"] = 36; break;
}

// ─── Per-coin explorer map (operator 2026-06-23: each coin = a distinct
// blockchain). On merged-mining nodes (e.g. LTC primary + DOGE aux) the
// dashboard switcher must link each coin's blocks/txs/addresses to the
Expand Down
Loading