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

Eli0t had success using the last official client from Sunny to sync up the blockchain, then switching over to my release for mining.

I'll be investigating the sync-up problem in my version... I'm working on getting a second computer to recreate the problem. The ancient Pentium 4M computer I tried out was not happy, but it didn't make it as far as downloading ANY of the block chain. Smiley