Post
Topic
Board Altcoin Discussion
Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue
by
tjb0607
on 11/07/2013, 17:56:06 UTC
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

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

I'm also suck at 2 blocks 3 days behind.. any thoughts?

Try running these commands in the console:
Code:
addnode 94.23.215.174 add
addnode 87.98.146.72 add

EDIT: Or, if that doesn't work, here's some more you can try until the blockchain starts synchronizing:
Code:
addnode 54.225.81.214 add
addnode 54.225.116.178 add
addnode 54.225.123.48 add
addnode 107.20.202.112 add
addnode 54.225.123.87 add
addnode 54.225.81.214 add
addnode 54.225.116.178 add
addnode 54.225.123.48 add
addnode 54.225.123.87 add
addnode 107.20.202.112 add
addnode 54.224.142.224 add
addnode 54.224.28.160 add
addnode 184.72.193.229 add
addnode 54.225.19.196 add
addnode 50.16.142.10 add
addnode 23.20.77.101 add
addnode 54.224.95.193 add
addnode 54.234.90.173 add
addnode 23.21.2.143 add
addnode 23.20.0.137 add
addnode 54.227.57.231 add
addnode 54.227.81.48 add
addnode 54.224.112.133 add
addnode 54.224.194.112 add
addnode 50.16.112.122 add
addnode 54.214.144.235 add
addnode 54.244.76.225 add
addnode 54.245.7.222 add
addnode 54.244.204.96 add
addnode 54.214.187.152 add
addnode 50.112.197.152 add
addnode 54.214.168.133 add
addnode 54.214.100.229 add
addnode 54.244.199.134 add
addnode 54.245.138.68 add
addnode 54.214.59.206 add
addnode 54.244.208.77 add
addnode 54.214.103.110 add