Question: why do I see in the log:
Found Hash 00049945caf793d422dccfb56212d35a3161b9b960315a806099c4df3c9e5c94
hash 00049945caf793d422dccfb56212d35a3161b9b960315a806099c4df3c9e5c94
hash2 00049945caf793d422dccfb56212d35a3161b9b960315a806099c4df3c9e5c94
ProtoSharesMiner:
proof-of-work found
but still nothing added in the QT....
(multiple-times occuring in log)
ok some lines further in log:
ERROR: ProtoSharesMiner : generated block is stale
https://github.com/InvictusInnovations/ProtoShares/blob/psforkinit/src/main.cppline:4521
(printf's are log lines:)
//// debug print
printf("ProtoSharesMiner:\n");
printf("proof-of-work found \n hash: %s \ntarget: %s\n", hash.GetHex().c_str(), hashTarget.GetHex().c_str());
pblock->print();
printf("generated %s\n", FormatMoney(pblock->vtx[0].vout[0].nValue).c_str());
// Found a solution
{
LOCK(cs_main);
if (pblock->hashPrevBlock != hashBestChain)
return error("ProtoSharesMiner : generated block is stale");
// Remove key from key pool
reservekey.KeepKey();
// Track how many getdata requests this block gets
{
LOCK(wallet.cs_wallet);
wallet.mapRequestCount[pblock->GetHash()] = 0;
}
// Process this block the same as if we had received it from another node
CValidationState state;
if (!ProcessBlock(state, NULL, pblock))
return error("ProtoSharesMiner : ProcessBlock, block not accepted");
}