Post
Topic
Board Announcements (Altcoins)
Re: GRouPcoin
by
RoadTrain
on 19/10/2013, 21:13:11 UTC
Actually, KrLos, if you read THIS VERY PAGE, you'll see that there is now an updated version (though experimental) with a more recent bitcoind/bitcoin-qt base.
And it seems to work well, though I'd appreciate some feedback  Smiley
After all I could move on to other merge mined coins to update their clients.

Had floating point exceptions when downloading full blockchain.  Can't be bothered forking in github but here's a patch:
Code:
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1115,8 +1115,8 @@ unsigned int static GetNextWorkRequired(const CBlockIndex* pindexLast, const CBl
     if (pindexLast == NULL)
         return nProofOfWorkLimit;

-    if (pindexLast->nHeight < 9500)
-        nTargetTimespan *= 14; // two weeks
+    // prior to block 9500 2 weeks.. daily after
+    nTargetTimespan = (pindexLast->nHeight < 9500) ? 1209600 : 86400;
     int64 nInterval = nTargetTimespan / nTargetSpacing;

Only quickly tested daemon on ubuntu 12.04 x64 but seems to work.
Well it should be equal, there's no floating point math used.
Do you have any logs?