Is the merge mining code working?
Ok, successfully merge mined a block:
https://chainz.cryptoid.info/uno/block.dws?601321.htmIt required this code change:
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp
index 20aadfd..52fb24d 100644
--- a/src/rpcmining.cpp
+++ b/src/rpcmining.cpp
@@ -721,8 +721,13 @@ Value getauxblock(const Array& params, bool fHelp)
uint256 hashTarget = uint256().SetCompact(pblock->nBits);
Object result;
+#if 0
result.push_back(Pair("target", hashTarget.GetHex()));
result.push_back(Pair("hash", HexStr(BEGIN(hashTarget), END(hashTarget))));
+#endif
+ result.push_back(Pair("target", HexStr(BEGIN(hashTarget), END(hashTarget))));
+ result.push_back(Pair("hash", pblock->GetHash().GetHex()));
+
result.push_back(Pair("chainid", pblock->GetChainID()));
return result;
}
I'll integrate the coin into the
mmpool after some more testing.
Hi Mmpool, thanks for adding Uno and for the feedback. I've passed it back to Bryce.
Uno hash has just jumped from about 20 ths to nearly 700 ths, and difficulty from about 1 million to 29 million.