We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0989175 + af37332 commit 7364408Copy full SHA for 7364408
1 file changed
src/core/web_server.cpp
@@ -4709,6 +4709,17 @@ nlohmann::json MiningInterface::rest_web_currency_info()
4709
default: result["share_version"] = 36; break;
4710
}
4711
4712
+ // p2pool share version for the current coin — consumed by the
4713
+ // bundled @c2pool/sharechain-explorer to classify share cells.
4714
+ // Dash = v16, LTC/DOGE/BTC = v36.
4715
+ switch (m_blockchain) {
4716
+ case Blockchain::DASH: result["share_version"] = 16; break;
4717
+ case Blockchain::LITECOIN:
4718
+ case Blockchain::BITCOIN:
4719
+ case Blockchain::DOGECOIN:
4720
+ default: result["share_version"] = 36; break;
4721
+ }
4722
+
4723
return result;
4724
4725
0 commit comments