Bitcoin Forum
May 24, 2024, 01:17:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 »
281  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 12, 2013, 12:32:13 AM
When did I say I would stop primecoin development? Go back to the prerelease annoucement, I specifically said both ppcoin and primecoin would have dedicated long term support.

Yes primecoin is part of my long term strategy to compete better, since when is having a strategy a bad thing? So please don't listen to someone who'd like to twist my words to suit his own agenda.
282  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 11, 2013, 10:34:40 PM
I notice some users releasing builds with changes to protocol related code without my review. This is dangerous. If you want to optimize that aggressively you should be working on an external miner instead.

Please remove any optimization code touching protocol related functions such as Target* functions, CheckProofOfWork(), ProbablePrimeChainTest() etc.
283  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 11, 2013, 10:26:54 PM
stuck at 2 blocks synced no matter how many connections i have

received block 9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488
SetBestChain: new best=9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488  height=1  difficulty=7 log2Work=13  log2ChainWork=13.044394  tx=2  date=2013-07-07 18:28:00 progress=0.000000
ProcessBlock: ACCEPTED
received block 7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34
SetBestChain: new best=7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34  height=2  difficulty=7 log2Work=13  log2ChainWork=14.022368  tx=3  date=2013-07-07 18:29:58 progress=0.000000
ProcessBlock: ACCEPTED
received block b22946daedabb93d4e9e28945278fd3d9f7ec601ce4aba1a25e6e203cf6fa41f
ERROR: AcceptBlock() : incorrect proof of work
ERROR: ProcessBlock() : AcceptBlock FAILED
Misbehaving: 192.241.209.212:9911 (0 -> 100) DISCONNECTING

Try using -debug and -printtarget and post the ERROR messages about block #3 being rejected again

This gave me a little hint. FYI sunny, the code this was built from is here, it is slightly modified from your latest commit to include some additional suggested optimizations from Mike270. https://github.com/Zalfrin/primecoin

There may be a bug in the way the "phash" variable is replacing "pblock->GetHeaderHash();". Maybe phash needs to be updated within the loop starting on line 4640 of main.cpp

Please be *very careful* with protocol related code. If you break the protocol all users on a fork caused by your build will be invalid.

Please uncomment the print call in TargetGetNext() and try to reproduce the issue with block#3 rejection due to wrong target. The print is only turned on when use -debug and -printtarget
284  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 11, 2013, 06:54:38 PM
It's okay for now. There was a shorter fork of about 50 blocks. I will look into the cause of that.

This type of situation is why the maturity is set at 3200 blocks. Currently the block rate on the network is very fast before difficulty catches up. So higher orphan rate is expected.
285  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 11, 2013, 06:32:34 PM
okay it appears most everyone is now on the longer fork now.

286  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 11, 2013, 05:51:05 PM
There appears to be a network fork at block#14214 just now. Please run this command

getblockhash 14215
and report your current block number
287  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 11, 2013, 04:55:10 PM
Here's another binary I've made which targets simply x86-64 processors. This SHOULD work over a wider range of processors than my earlier releases. It may not work on 32-bit OSes (not sure).

https://www.dropbox.com/s/q7w4fosqjyqydff/release8_x86-64.zip
stuck at 2 blocks synced no matter how many connections i have

received block 9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488
SetBestChain: new best=9657908608eeddce30390a30ac72b3348fd584c1b3cb917922707f9cfc01a488  height=1  difficulty=7 log2Work=13  log2ChainWork=13.044394  tx=2  date=2013-07-07 18:28:00 progress=0.000000
ProcessBlock: ACCEPTED
received block 7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34
SetBestChain: new best=7edd2add999ca4a7d3c6abbe827a9aa19ea3e0e782e80c299d22599a29ec1f34  height=2  difficulty=7 log2Work=13  log2ChainWork=14.022368  tx=3  date=2013-07-07 18:29:58 progress=0.000000
ProcessBlock: ACCEPTED
received block b22946daedabb93d4e9e28945278fd3d9f7ec601ce4aba1a25e6e203cf6fa41f
ERROR: AcceptBlock() : incorrect proof of work
ERROR: ProcessBlock() : AcceptBlock FAILED
Misbehaving: 192.241.209.212:9911 (0 -> 100) DISCONNECTING

Try using -debug and -printtarget and post the ERROR messages about block #3 being rejected again
288  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 11, 2013, 04:48:19 PM

This is the testnet checkpoint. There seems a bug somewhere allowing you to enter this state. Did you use the testnet at some point and what's the sequence of operations/events related to using testnet? Are you running a testnet node right now with main net node?

You know what, yeah I think I know how it happened, I'm messing around with the client to build a p2p pool, and I'm using the testnet flags and variables to let it know if its running as a pool node or a regular node.

However it still shouldn't have entered this state even though you operated testnet mode.
289  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 11, 2013, 04:32:09 PM


getcheckpoint

Code:
{
"synccheckpoint" : "221156cf301bc3585e72de34fe1efdb6fbd703bc27cfc468faa1cdd889d0efa0",
"height" : 0,
"timestamp" : 1373063882,
"subscribemode" : "advisory"
}


getblockhash 14131

Code:
93c94769cfde74003f65b7fac93c2908e166da50dfd118fc0fcfcd0a51b00348


This is the testnet checkpoint. There seems a bug somewhere allowing you to enter this state. Did you use the testnet at some point and what's the sequence of operations/events related to using testnet? Are you running a testnet node right now with main net node?
290  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 11, 2013, 04:20:14 PM
Code:
{
"blocks" : 14131,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "Warning: checkpoint on different blockchain fork, contact developers to resolve the issue",
"generate" : true,
"genproclimit" : 1,
"primespersec" : 156,
"pooledtx" : 0,
"testnet" : false
}

Derp?

Please run these command
getcheckpoint
getblockhash 14131

And post output
Current checkpoint is still on genesis. So I don't expect this to pop up.
291  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 10, 2013, 10:55:41 PM
Just pushed another commit on github.

https://github.com/primecoin/primecoin/commit/eda38d62ad571be02095ce44469c0cc26a2b3675

sieve round limit further reduced to 1 second.
added mike's suggestion.

Give it a try and let me know how it goes.
292  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 10, 2013, 10:22:09 PM
I will incorporate Mike's suggestion of checking pindexBest.
Hang on.
293  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [XPM] [ANN] Primecoin Release - First Scientific Computing Cryptocurrency on: July 10, 2013, 08:38:02 PM
Sorry for my earlier error on Market cap.  The newest exchange rates and coin total (168,186.31) yields a cap of around 68k which would be 15th just behind CNC.  The hourly mining rate is equivalent to 6 BTC (assuming 1 minute blocks and 20.41 coins per block as the last few have been) which wold be $500 at current exchange rates, still 3rd over.

Going according to plan isn't it  Wink
Looking forward to XPM's debut on the network mining income pie chart  Cool
294  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 10, 2013, 05:28:36 PM
Is there any clue to what kind of systems affected by this issue? I wonder whether my Intel Atom is just too slow to compete, BTW I have OpenSUSE 11.4.

From the reports I have gathered, it impacted some server systems with high thread count, yes it may impact atoms as it's threads are relatively slow.
295  Alternate cryptocurrencies / Altcoin Discussion / [XPM] Primecoin Built-in Miner Sieve Performance Issue on: July 10, 2013, 04:35:06 PM
I have been alerted that certain classes of system continue to experience extremely low primespersec values. Upon investigation it seems certain systems have performance problems with the sieve, causing extended sieve round time. A temporary fix is now pushed to github. Please note I don't have enough time yet to fully test this solution, so try it out first to see if this resolves your system's problems.

https://github.com/primecoin/primecoin/commit/338e61568a32e74fa112edf1f3d8eee8d6780ae9

Please report back if this resolves your performance issues.

Update (July 14):

More sieve optimization:

https://github.com/primecoin/primecoin/commit/ab9fe91d711c92527fcde2fa34563b0aefd16742
296  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [PPC] PPCoin Released! - First Long-Term Energy-Efficient Crypto-Currency on: July 10, 2013, 03:47:06 PM
Ah, thank you, that makes more sense.  Does that mean that the client intentionally throttles the stake mining thread?  Otherwise I would expect to see at least one thread at 100% if you have any coins that are 30 days or older that haven't been staked yet.

Is there a command in ppcoind that can give me confirmation that it is trying to stake mine?

The stake minter thread is automatically running as long as the client wallet is running. If it couldn't run (e.g. locked wallet) it would give a message.

Normally it shouldn't consume much cpu when it is minting.
297  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Record Books on: July 10, 2013, 03:01:56 PM
Good job Petrified! What primality test you are testing on your crawler?
298  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Record Books on: July 10, 2013, 02:47:04 PM
Both fail on #9 in my Block Crawler:

Block 2044
Block 5355

Of course that is dependent of my code for generating the chain being correct. Wink

You miss the first prime. The first prime is origin+1 for 2CC.
299  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Record Books on: July 10, 2013, 05:59:19 AM
Sorry, but aren't prime numbers supposed to be odd?

Yes that's why they are called origin, not prime. See my design paper or the bitcoin magazine article for the definition of prime chain origin.
300  Alternate cryptocurrencies / Altcoin Discussion / Re: [XPM] Primecoin Record Books on: July 10, 2013, 05:50:42 AM
Bi-twin chain records only count even lengths. So we are waiting for the first TWN10 block (which is the bi-twin of 4 links)
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!