Bitcoin Forum
December 04, 2016, 02:31:39 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 »  All
  Print  
Author Topic: [GRP] GRouPcoin  (Read 25718 times)
RoadTrain
Legendary
*
Offline Offline

Activity: 1148

The most centralized thing in Bitcoin is expertise


View Profile
October 20, 2013, 03:42:52 PM
 #161

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;

"The centralization measure is the cost of the option to create a new full node" - Measuring Decentralization
Why Bitcoin XT is a piece of nonsense
I AM HODLING
1480861899
Hero Member
*
Offline Offline

Posts: 1480861899

View Profile Personal Message (Offline)

Ignore
1480861899
Reply with quote  #2

1480861899
Report to moderator
1480861899
Hero Member
*
Offline Offline

Posts: 1480861899

View Profile Personal Message (Offline)

Ignore
1480861899
Reply with quote  #2

1480861899
Report to moderator
1480861899
Hero Member
*
Offline Offline

Posts: 1480861899

View Profile Personal Message (Offline)

Ignore
1480861899
Reply with quote  #2

1480861899
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480861899
Hero Member
*
Offline Offline

Posts: 1480861899

View Profile Personal Message (Offline)

Ignore
1480861899
Reply with quote  #2

1480861899
Report to moderator
hendo
Newbie
*
Offline Offline

Activity: 10


View Profile
October 21, 2013, 06:19:03 AM
 #162

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.
RoadTrain
Legendary
*
Offline Offline

Activity: 1148

The most centralized thing in Bitcoin is expertise


View Profile
October 21, 2013, 02:33:50 PM
 #163


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

"The centralization measure is the cost of the option to create a new full node" - Measuring Decentralization
Why Bitcoin XT is a piece of nonsense
I AM HODLING
bitpop
Legendary
*
Offline Offline

Activity: 1918


https://keybase.io/bitpop


View Profile WWW
October 21, 2013, 02:38:10 PM
 #164

What's going on here

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
RoadTrain
Legendary
*
Offline Offline

Activity: 1148

The most centralized thing in Bitcoin is expertise


View Profile
October 21, 2013, 04:25:49 PM
 #165

Fixed retarget issue, added a checkpoint and a couple of nodes.
https://github.com/RoadTrain/groupcoin


"The centralization measure is the cost of the option to create a new full node" - Measuring Decentralization
Why Bitcoin XT is a piece of nonsense
I AM HODLING
markm
Legendary
*
Offline Offline

Activity: 1778



View Profile WWW
November 01, 2013, 07:28:03 PM
 #166

I grabbed RoadTrain's version from github, it seems to be working fine for me so far...

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
RoadTrain
Legendary
*
Offline Offline

Activity: 1148

The most centralized thing in Bitcoin is expertise


View Profile
November 02, 2013, 04:12:55 PM
 #167

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

"The centralization measure is the cost of the option to create a new full node" - Measuring Decentralization
Why Bitcoin XT is a piece of nonsense
I AM HODLING
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
November 03, 2013, 01:02:58 AM
 #168

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

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
IYFTech
Hero Member
*****
Offline Offline

Activity: 686


WANTED: Active dev to fix & re-write p2pool in C


View Profile
November 03, 2013, 09:58:02 AM
 #169

A logo would be nice though....... Cool

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
Asphyxiated
Newbie
*
Offline Offline

Activity: 22


View Profile
November 21, 2013, 01:39:05 AM
 #170

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 Offline

Activity: 78



View Profile
December 06, 2013, 02:05:09 AM
 #171

is there a market where groupcoins are traded?

▬▬▬▬▬▬▬▬▬▬▬▬▬▬ [D]ecentralized application [E]liminated third parties [C]ontent distribution
  █ DECENT FOUNDATION    ░░░░░░░░░░░░░░░░░░░░░░░░   JOIN NOW! ICO ⏰ 10th of September
▬▬▬▬▬▬▬▬▬▬▬▬▬▬ [E]ncrypted & secure         [N]o borders                  [T]imeless reputation
IYFTech
Hero Member
*****
Offline Offline

Activity: 686


WANTED: Active dev to fix & re-write p2pool in C


View Profile
December 06, 2013, 02:42:12 PM
 #172

is there a market where groupcoins are traded?

Not that I'm aware of........yet.

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
SebastianJu
Legendary
*
Offline Offline

Activity: 1624


Free Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
December 06, 2013, 07:57:56 PM
 #173

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.

 

██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
██████████████████████████████████████████████████████████████
 
Get Free Bitcoin Now!
  ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦    ¦¯¦¦¯¦   
0.8%-1% House Edge
[/
uzer23
Sr. Member
****
Offline Offline

Activity: 456


View Profile
January 15, 2014, 11:31:42 PM
 #174

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 <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
make: *** [obj/init.o] Error 4

bitpop
Legendary
*
Offline Offline

Activity: 1918


https://keybase.io/bitpop


View Profile WWW
January 15, 2014, 11:45:03 PM
 #175

Use the Linux vm inside Linux Roll Eyes

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
almightyruler
Legendary
*
Offline Offline

Activity: 1078


View Profile
January 16, 2014, 04:11:07 AM
 #176

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 <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
Jr. Member
*
Offline Offline

Activity: 51


View Profile
February 01, 2014, 04:05:31 AM
 #177

where can I sell or buy these?
nibyokwy
Jr. Member
*
Offline Offline

Activity: 51


View Profile
February 01, 2014, 04:22:57 AM
 #178

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
Legendary
*
Offline Offline

Activity: 1778



View Profile WWW
February 01, 2014, 09:13:51 AM
 #179

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-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
nibyokwy
Jr. Member
*
Offline Offline

Activity: 51


View Profile
February 01, 2014, 11:57:21 AM
 #180

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.
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!