xploited
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 304
Merit: 252
CLAM Dev
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 02:45:34 AM |
|
Regarding the difficulty, we were always under the impression that this line in the main.cpp handled the re-target (making it every 30 minutes or blocks). We've also been told in the early stages it's more complicated than that and will fluctuate until hash-rates rise and settle. Can anyone with more technical experience of this please share with us your experience/knowledge. Thanks.
LINE 836 static const int64 nTargetTimespan = 30 * 60; // 30 x 60 seconds (30 blocks)
From my understanding that just defines how long you would like the average target time span to be. Difficulty retargeting is taken care of slightly below that, it should be around like 920 in the main.cpp file but I'm not looking at the code for noblecoin specifically so I dobt that is exact. Look for the function unsigned int static GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlock *pblock)
that is where the difficulty re targeting is handled.
|
|
|
|
icecube45
Legendary
Offline
Activity: 1218
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 02:59:52 AM |
|
I'd like to thank hearnomore of valid-error. He has helped me optimize my pool, we are now finding more blocks, faster noblepool.zapto.org
care to share the details of what he did? =) If the pool owners hop on over to irc, we'll happily tell you (tiny bit of blackmail) It also fixed the net hash error
|
|
|
|
Rofo (OP)
Legendary
Offline
Activity: 1232
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 03:11:35 AM |
|
Thanks xploited. We're still comparing our code to others with a similar re-target and don't see any difference that would prevent us from settling on our initial 30 block re-target. I'm thinking it takes some time to settle considering the (slight) complexity of the code actually handling the re-target you pointed out. Correct me if I'm wrong though? Thank you.
|
|
|
|
xploited
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 304
Merit: 252
CLAM Dev
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 03:26:15 AM |
|
Thanks xploited. We're still comparing our code to others with a similar re-target and don't see any difference that would prevent us from settling on our initial 30 block re-target. I'm thinking it takes some time to settle considering the (slight) complexity of the code actually handling the re-target you pointed out. Correct me if I'm wrong though? Thank you.
I just took a look tat the noblecoin codebase and its the same as the earthcoin code in that function. As its currently wrote retargets will happen every block, like earthcoin does. That code is missing the section that tells it to limit the retargets to a certain interval. An example of the code from the litecoin client is // Only change once per interval if ((pindexLast->nHeight+1) % nInterval != 0) { // Special difficulty rule for testnet: if (fTestNet) { // If the new block's timestamp is more than 2* 10 minutes // then allow mining of a min-difficulty block. if (pblock->nTime > pindexLast->nTime + nTargetSpacing*2) return nProofOfWorkLimit; else { // Return the last non-special-min-difficulty-rules-block const CBlockIndex* pindex = pindexLast; while (pindex->pprev && pindex->nHeight % nInterval != 0 && pindex->nBits == nProofOfWorkLimit) pindex = pindex->pprev; return pindex->nBits; } }
return pindexLast->nBits; }
|
|
|
|
Rofo (OP)
Legendary
Offline
Activity: 1232
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 03:51:51 AM |
|
I see now xploited, thanks very much for pointing out the issue. I'm grateful for the help but slightly disappointed we didn't see the differences in code between Litecoin and our original source. It seems a lot of other alt-coins at the moment are missing this piece in main.cpp and adjusting per block (including EAC?). However, we don't want a short difficulty re-target causing us any problems long-term. I think we can always (and will because we would like to ultimately fix this) update in the future. What do you think?
|
|
|
|
ctenc001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 04:07:17 AM |
|
I'd like to thank hearnomore of valid-error. He has helped me optimize my pool, we are now finding more blocks, faster noblepool.zapto.org
care to share the details of what he did? =) If the pool owners hop on over to irc, we'll happily tell you (tiny bit of blackmail) It also fixed the net hash error I'll have to get with you in the morning if you can't PM it; I am away from a computer =/
|
|
|
|
icecube45
Legendary
Offline
Activity: 1218
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 04:30:13 AM |
|
I'd like to thank hearnomore of valid-error. He has helped me optimize my pool, we are now finding more blocks, faster noblepool.zapto.org
care to share the details of what he did? =) If the pool owners hop on over to irc, we'll happily tell you (tiny bit of blackmail) It also fixed the net hash error I'll have to get with you in the morning if you can't PM it; I am away from a computer =/ That was just some bribery to get some pool owners on irc, haha I'll send it over now, just promise to visit us some time
|
|
|
|
Rofo (OP)
Legendary
Offline
Activity: 1232
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 05:01:58 AM |
|
Looks like the config. changes and community movement have spread things around - now it's time to grow back to our pre-Coinye hashrate!
|
|
|
|
blackman330
Newbie
Offline
Activity: 40
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 05:25:51 AM |
|
9ib3kPbQGQwPK9XWGYLg4wekW1zLygrm5g
thanks
|
|
|
|
Rofo (OP)
Legendary
Offline
Activity: 1232
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 07:19:22 AM |
|
Bounties have been updated. We know it's hard having no 'official' exchange price *yet* - but we're hoping this helps further involve those who want to get on-board (including those who aren't primarily miners). Nothing is too big or small. If you already accept many alt-coins and feel like there is potential in NobleCoin and would consider adding it, give me a shout. Cheers. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
Rocou
Legendary
Offline
Activity: 3205
Merit: 1181
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 07:21:04 AM |
|
Hi,
Where can I find a Mac OSX Wallet?
|
|
|
|
Rofo (OP)
Legendary
Offline
Activity: 1232
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 07:23:30 AM |
|
Hi Rocou (sorry!), we've had a couple look at one (we are unable to build one here) but I can push now immediately to get that prioritised. If anyone who has been with us early can share with us on Mega a VirusTotal clean wallet (for what it's worth) I will send through a bounty deemed fair your way. Rocou I'll also hook you up in the meantime to make up for the lost time since we haven't got one sorted yet. Hope that helps, cheers.
|
|
|
|
|
Amph
Legendary
Offline
Activity: 3248
Merit: 1070
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 08:32:27 AM |
|
bump
|
|
|
|
icecube45
Legendary
Offline
Activity: 1218
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 08:37:05 AM |
|
Announcing Ice's MS Paint shop! Send 100 NOBLE to 9Vc8X8ARFeKEyEZQqMT2diij7YhejHb9WM, along with an email/request And I will send you a (crappyish) MS paint drawing! Signed by ice! Previous work: The Square, an artist's look on the regulations society puts on the individual: http://prntscr.com/2in7ot
|
|
|
|
Rofo (OP)
Legendary
Offline
Activity: 1232
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 08:42:24 AM |
|
Oh dear.
|
|
|
|
icecube45
Legendary
Offline
Activity: 1218
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 08:46:13 AM |
|
Oh dear.
A free one for you Rofo http://prntscr.com/2in921Oh Dear is an artists representation of taking what society gives us, and using it to our advantage
|
|
|
|
TheTribesman
Legendary
Offline
Activity: 1019
Merit: 1003
Kobocoin - Mobile Money for Africa
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 09:00:56 AM |
|
Oh dear.
A free one for you Rofo http://prntscr.com/2in921Oh Dear is an artists representation of taking what society gives us, and using it to our advantage LOL
|
|
|
|
icecube45
Legendary
Offline
Activity: 1218
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 09:05:58 AM |
|
Oh dear.
A free one for you Rofo http://prntscr.com/2in921Oh Dear is an artists representation of taking what society gives us, and using it to our advantage LOL You know what, have a free one LOL shows an artists interpretation of how the means of having fun by children has changed over the years http://prntscr.com/2inbva
|
|
|
|
NorrisK
Legendary
Offline
Activity: 1946
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 12, 2014, 10:08:16 AM |
|
good price for paintings of this MS Paintness!
serioualy, wtf :p
|
|
|
|
|