Post
Topic
Board Announcements (Altcoins)
Re: [UNO] Unobtanium Info & Discussion - Miners Update to 0.1.0
by
mmpool
on 11/05/2015, 03:56:32 UTC
Is the merge mining code working? I see some weirdness with 'getauxblock'. Here's a couple of examples:

Code:
$ ixcoind getauxblock
{   
    "target" : "0000000000000000000000000000000000000000005974620000000000000000",
    "hash" : "caa9f6003247c2a92b79c61454e6544ceb8b62b60f97e8ebb2707ae0ecb82138",
    "chainid" : 3
}

$ devcoind getauxblock
{   
    "target" : "000000000000000000000000000000000000000000003af40600000000000000",
    "hash" : "f83d19f5e5b5d3a7c1cc134d2671cb65f8dcdca7fdf98b4ae15255e8089765e7",
    "chainid" : 4
}

$ unobtanium-cli getauxblock
{   
    "target" : "00000000000013f4420000000000000000000000000000000000000000000000",
    "hash" : "000000000000000000000000000000000000000000000042f413000000000000",
    "chainid" : 117
}

Notice that the 'target' for unobtanium seems way different to the other coins. The same with the 'hash'. Looking at the code I see:

Code:
Unobtanium:

        result.push_back(Pair("target", hashTarget.GetHex()));
        result.push_back(Pair("hash", HexStr(BEGIN(hashTarget), END(hashTarget))));

Ixcoin:

        result.push_back(Pair("target",   HexStr(BEGIN(hashTarget), END(hashTarget))));
        result.push_back(Pair("hash", pblock->GetHash().GetHex()));

That seems quite different. Trialing unobtanium in mmpool as it is gets no blocks.