RoadTrain
Legendary
Offline
Activity: 1386
Merit: 1009
|
|
October 20, 2013, 03:42:52 PM |
|
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 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: --- 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? Original version increases nTargetTimespan for every GetNextWorkRequired with block < 9500. This is used in some modulo operations later which I'm guessing eventually result in a div 0 after it overflows. Also, couldn't see where it would be set back to 1 day on block 9500, without restart? For any block earlier than 9500 nTargetTimespan is 14 days, 1 day thereafter. It's exactly what my code does, the same code is used in old client. unsigned int static GetNextWorkRequired(const CBlockIndex* pindexLast) { const int nSmoothBlock = 9500; const int64 nTargetSpacing = 10 * 60; int64 nTargetTimespan = 24 * 60 * 60; // one day
if (pindexLast->nHeight < nSmoothBlock) nTargetTimespan *= 14; // two weeks int64 nInterval = nTargetTimespan / nTargetSpacing;
|
|
|
|
hendo
Newbie
Offline
Activity: 10
Merit: 0
|
|
October 21, 2013, 06:19:03 AM |
|
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 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: --- 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? Original version increases nTargetTimespan for every GetNextWorkRequired with block < 9500. This is used in some modulo operations later which I'm guessing eventually result in a div 0 after it overflows. Also, couldn't see where it would be set back to 1 day on block 9500, without restart? For any block earlier than 9500 nTargetTimespan is 14 days, 1 day thereafter. It's exactly what my code does, the same code is used in old client. unsigned int static GetNextWorkRequired(const CBlockIndex* pindexLast) { const int nSmoothBlock = 9500; const int64 nTargetSpacing = 10 * 60; int64 nTargetTimespan = 24 * 60 * 60; // one day
if (pindexLast->nHeight < nSmoothBlock) nTargetTimespan *= 14; // two weeks int64 nInterval = nTargetTimespan / nTargetSpacing; Sorry for flogging a dead horse but not quite... In the new fork, nTargetTimespan is global (i.e. will be multiplied by 14 every call, and eventually overflow). If the above snippet is original client, it is local and so will behave as expected. Am guessing it is global now as was referenced in some other function/s, otherwise making it local would have been the better fix. You might want to check if mutating the value on the fly will affect any other usages of it too. I'm assuming we are both looking at the same code, branch i0coin-0.8.x was default in git? If not my humble apologies.
|
|
|
|
RoadTrain
Legendary
Offline
Activity: 1386
Merit: 1009
|
|
October 21, 2013, 02:33:50 PM |
|
Sorry for flogging a dead horse but not quite...
In the new fork, nTargetTimespan is global (i.e. will be multiplied by 14 every call, and eventually overflow). If the above snippet is original client, it is local and so will behave as expected. Am guessing it is global now as was referenced in some other function/s, otherwise making it local would have been the better fix. You might want to check if mutating the value on the fly will affect any other usages of it too.
I'm assuming we are both looking at the same code, branch i0coin-0.8.x was default in git? If not my humble apologies.
Well I think I'm starting to understand Forgot about it being global. I'll try to resync from scratch to check and update code if needed. Thanks.
|
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
October 21, 2013, 02:38:10 PM |
|
What's going on here
|
|
|
|
|
markm (OP)
Legendary
Offline
Activity: 3010
Merit: 1121
|
|
November 01, 2013, 07:28:03 PM |
|
I grabbed RoadTrain's version from github, it seems to be working fine for me so far...
-MarkM-
|
|
|
|
RoadTrain
Legendary
Offline
Activity: 1386
Merit: 1009
|
|
November 02, 2013, 04:12:55 PM |
|
I grabbed RoadTrain's version from github, it seems to be working fine for me so far...
-MarkM-
Just in case you have GRP logo or icon, I'd be glad to update the repo. Cause GRP with I0C logo looks a bit...
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
November 03, 2013, 01:02:58 AM |
|
I grabbed RoadTrain's version from github, it seems to be working fine for me so far...
-MarkM-
Just in case you have GRP logo or icon, I'd be glad to update the repo. Cause GRP with I0C logo looks a bit... most ppl dont use qt anyway
|
[GPG Public Key]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
IYFTech
|
|
November 03, 2013, 09:58:02 AM |
|
A logo would be nice though.......
|
|
|
|
Asphyxiated
Newbie
Offline
Activity: 22
Merit: 0
|
|
November 21, 2013, 01:39:05 AM |
|
I just recently started merged mining on bitparking so I had to get a groupcoin wallet, I did get the GUI version to compile. Although it seems that it was been switched to Qt4 instead of wxwidgets because that is what it linked against in the make file.
My question though is that the groupcoin wallet has downloaded all the blocks it says are on the chain but its still 44 hours behind.... so does this mean that a block hasnt been created for over 44 hours on the groupcoin chain? '
|
|
|
|
thehulkk
Member
Offline
Activity: 442
Merit: 10
|
|
December 06, 2013, 02:05:09 AM |
|
is there a market where groupcoins are traded?
|
|
|
|
IYFTech
|
|
December 06, 2013, 02:42:12 PM |
|
is there a market where groupcoins are traded?
Not that I'm aware of........yet.
|
|
|
|
SebastianJu
Legendary
Offline
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
|
|
December 06, 2013, 07:57:56 PM |
|
I think at the Digitalis Server of Open Transactions. Unfortunately i never was able to install the client software. Even with help for weeks. There are problems of some kind i cant solve.
|
Please ALWAYS contact me through bitcointalk pm before sending someone coins.
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
January 15, 2014, 11:45:03 PM |
|
Use the Linux vm inside Linux
|
|
|
|
almightyruler
Legendary
Offline
Activity: 2268
Merit: 1092
|
|
January 16, 2014, 04:11:07 AM |
|
Even with RoadTrain version I get compiler error on ubuntu 13.x SOURCE=2 -MMD -MF obj/db.d -o obj/db.o db.cpp g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/root/groupcoin/src -I/root/groupcoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/root/groupcoin/src/leveldb/include -I/root/groupcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/init.d -o obj/init.o init.cpp g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions. make: *** [obj/init.o] Error 4
Are you on a memory limited VPS? Try adding more (or any) swap. https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
|
|
|
|
nibyokwy
Newbie
Offline
Activity: 51
Merit: 0
|
|
February 01, 2014, 04:05:31 AM |
|
where can I sell or buy these?
|
|
|
|
nibyokwy
Newbie
Offline
Activity: 51
Merit: 0
|
|
February 01, 2014, 04:22:57 AM |
|
i've come across what looks like a discrepancy between the old client and the new client. if I use vanitygen to generate the address (using vanitygen -X 3 2) I sometimes get an address that is valid in the old client but not in the new one. i use 'groupcoind validateaddress' to check if it is valid. any thoughts on what the problem could be?
|
|
|
|
markm (OP)
Legendary
Offline
Activity: 3010
Merit: 1121
|
|
February 01, 2014, 09:13:51 AM |
|
Does this apply to the daemons?
As I recall there is an input verification in the GUI that one needs to change to make address in the GUI work right, when we first made GRPcoin and DVCcoin we discovered that.
Other than that well maybe compare the code of the two versions see if they treat addresses differently?
-MarkM-
|
|
|
|
nibyokwy
Newbie
Offline
Activity: 51
Merit: 0
|
|
February 01, 2014, 11:57:21 AM |
|
Does this apply to the daemons?
it's the daemons, yes. unfortunately I'm not a programmer so can't tell what might be wrong.
|
|
|
|
nibyokwy
Newbie
Offline
Activity: 51
Merit: 0
|
|
February 23, 2014, 10:49:46 PM |
|
difficulty seems to have jumped hugely the last day or two. it's now larger than i0coin. has it been picked up by other big pools or is it being traded on an exchange?
|
|
|
|
|