Pages:
Author

Topic: [GRP] GRouPcoin - page 4. (Read 28430 times)

legendary
Activity: 2912
Merit: 1060
January 15, 2014, 06:45:03 PM
Use the Linux vm inside Linux Roll Eyes
newbie
Activity: 3
Merit: 250
January 15, 2014, 06:31:42 PM
Even with RoadTrain version I get compiler error on ubuntu 13.x

Quote
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 for instructions.
make: *** [obj/init.o] Error 4

legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
December 06, 2013, 02: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.
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
December 06, 2013, 09:42:12 AM
is there a market where groupcoins are traded?

Not that I'm aware of........yet.
member
Activity: 442
Merit: 10
December 05, 2013, 09:05:09 PM
is there a market where groupcoins are traded?
newbie
Activity: 22
Merit: 0
November 20, 2013, 08:39:05 PM
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?
'
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
November 03, 2013, 04:58:02 AM
A logo would be nice though....... Cool
legendary
Activity: 1792
Merit: 1008
/dev/null
November 02, 2013, 08:02:58 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... Grin

most ppl dont use qt anyway
legendary
Activity: 1386
Merit: 1009
November 02, 2013, 11:12:55 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... Grin
legendary
Activity: 2940
Merit: 1090
November 01, 2013, 02:28:03 PM
I grabbed RoadTrain's version from github, it seems to be working fine for me so far...

-MarkM-
legendary
Activity: 1386
Merit: 1009
October 21, 2013, 11:25:49 AM
Fixed retarget issue, added a checkpoint and a couple of nodes.
https://github.com/RoadTrain/groupcoin

legendary
Activity: 2912
Merit: 1060
October 21, 2013, 09:38:10 AM
What's going on here
legendary
Activity: 1386
Merit: 1009
October 21, 2013, 09:33:50 AM

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 Tongue Forgot about it being global. I'll try to resync from scratch to check and update code if needed. Thanks. Smiley
newbie
Activity: 10
Merit: 0
October 21, 2013, 01: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  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?

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.
Code:
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.
legendary
Activity: 1386
Merit: 1009
October 20, 2013, 10:42:52 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  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?

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.
Code:
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;
legendary
Activity: 2912
Merit: 1060
October 19, 2013, 10:10:28 PM
Move wallet.dat?

How I can groupcoin wallet:
1) download Pankkake's ova-file.
2) import this file into VM,
3) start VM with login\pass groupcoin,
4) wait while groupcoind synchronized data (approximately 2 hours),
5) some intresting command (Pankkake gives me):
    groupcoind help
    groupcoind getinfo
    groupcoind getnewaddress
    groupcoind sendtoaddress
    groupcoind listtransactions & etc.
Now I have groupcoin address - 2hh8R3QHsDmcsbAGZyVG49FGrERb1S78m4d
Question: how I can build GUI-wallet with my new groupcoin address? Example - bitcoin & others cryptomoney.
I see screenshot in this theme from RoadTrain, but I did not understand how to do it.
Explained to me please step by step.

newbie
Activity: 10
Merit: 0
October 19, 2013, 05:11:22 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  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?

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?
legendary
Activity: 1386
Merit: 1009
October 19, 2013, 04:13:11 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  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?
newbie
Activity: 22
Merit: 0
October 19, 2013, 02:50:40 PM
How I can groupcoin wallet:
1) download Pankkake's ova-file.
2) import this file into VM,
3) start VM with login\pass groupcoin,
4) wait while groupcoind synchronized data (approximately 2 hours),
5) some intresting command (Pankkake gives me):
    groupcoind help
    groupcoind getinfo
    groupcoind getnewaddress
    groupcoind sendtoaddress
    groupcoind listtransactions & etc.
Now I have groupcoin address - 2hh8R3QHsDmcsbAGZyVG49FGrERb1S78m4d
Question: how I can build GUI-wallet with my new groupcoin address? Example - bitcoin & others cryptomoney.
I see screenshot in this theme from RoadTrain, but I did not understand how to do it.
Explained to me please step by step.
newbie
Activity: 10
Merit: 0
October 19, 2013, 08:18:52 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  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.
Pages:
Jump to: