Author

Topic: [ANN]Faircoin - MULTIPOOL PAYS --- 20%--- BONUS! for the next week!! - page 181. (Read 341944 times)

sr. member
Activity: 504
Merit: 254
yep, I confirm that the client is moving the chain

Code:
BitcoinMiner:
new block found  
  hash: 0000000c8dfb06e20166ca4f5c0c9b1b7bf1fac89a5738478ff29e0e07a7bf97  
target: 00000020f8990000000000000000000000000000000000000000000000000000
CBlock(hash=0000000c8dfb06e20166ca4f5c0c9b1b7bf1fac89a5738478ff29e0e07a7bf97, ver=4, hashPrevBlock=0000003af22d74f547451c9433949e580dc468953993c499517e1d780147736e, hashMerkleRoot=588da6dbcd04113ca91b89f0d0de9b2c25fcd81be0615ba5cae19de860052c74, nTime=1396234802, nBits=1d20f899, nNonce=1027147008, vtx=1, vchBlockSig=3046022100ce78dbcf946d47206b5ab2ba1582b34117227560b273477a9bb3f67bc2219e0d022100a71eeeea64deddf9cf2129dd192e0e56b37e587a2b382186122c741c30584486)
  Coinbase(hash=588da6dbcd, nTime=1396234801, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02ce090127062f503253482f)
    CTxOut(nValue=0.001, scriptPubKey=038b1354e5a215c4645ace5decf57fd1d8709947ff6bbe7703a38b9595ec174204 OP_CHECKSIG)
  vMerkleTree: 588da6dbcd
generated 0.001
AddToWallet 588da6dbcd  new
SetBestChain: new best=0000000c8dfb06e20166  height=2510  trust=25189520  date=03/31/14 03:00:02
ProcessBlock: ACCEPTED
received getdata for: block 0000000234806f626627
received getdata for: block 0000000c8dfb06e20166
getblocks 696 to 0000000048425b0050ad limit 500
  getblocks stopping at 854 0000000048425b0050ad
received getdata for: block 0000000c8dfb06e20166
getblocks 696 to 00000d1fba970b1ca7e3 limit 500
  getblocks stopping at limit 1195 0000000234806f626627

I need to check why the block explorer is not updating, hopefully it's nothing too serious
full member
Activity: 140
Merit: 100
final fix for this issue hopefully
(did i mention i am on European timezone? where is my sleep)

the block with bad timestamp caused a negative value in difficulty calculation
there is now a fallback
github updated
windows client here:
https://mega.co.nz/#!MxAThAIB!QjpNnt5NJQ2d09t3WgKMkGADGo3DqMyuuPO4C1dGQew

File no longer available?
member
Activity: 70
Merit: 10
we're moving again!
i need sleep now
please help by telling people to update
and VOTE because monday night minptal chooses a coin

member
Activity: 70
Merit: 10
final fix for this issue hopefully
(did i mention i am on European timezone? where is my sleep)

the block with bad timestamp caused a negative value in difficulty calculation
there is now a fallback
github updated
windows client here:
https://mega.co.nz/#!NhRzGQCC!QjpNnt5NJQ2d09t3WgKMkGADGo3DqMyuuPO4C1dGQew
sr. member
Activity: 406
Merit: 250
Ok, finally got a working build... but were back to squarre one...

Code:
BitcoinMiner:
new block found  
  hash: 0000000498de5d2bd98e7006b5a043ffa6c82f735c94992fb8231e04824beb9e  
target: 00000012c8450000000000000000000000000000000000000000000000000000
CBlock(hash=0000000498de5d2bd98e7006b5a043ffa6c82f735c94992fb8231e04824beb9e, ver=4, hashPrevBlock=0000000785f100f772e9b9e3d426c9833c793b352ca5e36124d4e4843171bbcb, hashMerkleRoot=9f9f93b9de617fc642d8fb204c160e795f7cf7d1ab74cee14ff2c24af7ff4f70, nTime=1396230995, nBits=1d92c845, nNonce=2520192000, vtx=1, vchBlockSig=304502200d8adcfceace16030ef120a3b1fb47fa9e6767cef305d3056514ff860588c3ec022100990f5d47f26384fb4e966e0fafbb70b8f6a4b180bc21063488ed03c72f331f74)
  Coinbase(hash=9f9f93b9de, nTime=1396230939, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02c209029a06062f503253482f)
    CTxOut(nValue=0.001, scriptPubKey=038b1354e5a215c4645ace5decf57fd1d8709947ff6bbe7703a38b9595ec174204 OP_CHECKSIG)
  vMerkleTree: 9f9f93b9de
generated 0.001
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckBlock() : proof of work failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted

I have a few of those rejects

Why nBits below minimum work?
Quick google search: This sometimes happens when you try to change the minimum network difficulty but forget to update the nBits value. Here's a fix:

Quote
If you increase the minimum network difficulty, you have to calculate the right nBits for genesis block.

Try this:
Code:

printf("min nBit:  %08x\n", bnProofOfWorkLimit.GetCompact());

after this:
Code:

        printf("%s\n", hash.ToString().c_str());
        printf("%s\n", hashGenesisBlock.ToString().c_str());
        printf("%s\n", block.hashMerkleRoot.ToString().c_str());

this will print a hex value, set this to block.nBits.

and gen a new GenesisBlock hash.

Also, this can happen (?) if you didn't delete peer.dat and older clients try to feed you with the old blockchain

Now, I'm not a dev. I have no clue about what I'm writing about. You guys are much smarter than I am, and probably can make some sense out of it
sr. member
Activity: 504
Merit: 254
Ok, finally got a working build... but were back to squarre one...

Code:
BitcoinMiner:
new block found 
  hash: 0000000498de5d2bd98e7006b5a043ffa6c82f735c94992fb8231e04824beb9e 
target: 00000012c8450000000000000000000000000000000000000000000000000000
CBlock(hash=0000000498de5d2bd98e7006b5a043ffa6c82f735c94992fb8231e04824beb9e, ver=4, hashPrevBlock=0000000785f100f772e9b9e3d426c9833c793b352ca5e36124d4e4843171bbcb, hashMerkleRoot=9f9f93b9de617fc642d8fb204c160e795f7cf7d1ab74cee14ff2c24af7ff4f70, nTime=1396230995, nBits=1d92c845, nNonce=2520192000, vtx=1, vchBlockSig=304502200d8adcfceace16030ef120a3b1fb47fa9e6767cef305d3056514ff860588c3ec022100990f5d47f26384fb4e966e0fafbb70b8f6a4b180bc21063488ed03c72f331f74)
  Coinbase(hash=9f9f93b9de, nTime=1396230939, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02c209029a06062f503253482f)
    CTxOut(nValue=0.001, scriptPubKey=038b1354e5a215c4645ace5decf57fd1d8709947ff6bbe7703a38b9595ec174204 OP_CHECKSIG)
  vMerkleTree: 9f9f93b9de
generated 0.001
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckBlock() : proof of work failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted

I have a few of those rejects
sr. member
Activity: 392
Merit: 250
lets try this version
i removed the sanity check that didn't make any sense, but it shouldn't be needed now

github also updated
but you need to reset 3 versions back before pull or download a fresh clone
took no chances with the errors reports

we should be creating blocks, if you're getting rejects please let me know




Here you go

Code:
BitcoinMiner:
new block found 
  hash: 000000060b0a9783115ec73ec0b03ddb597570e9cb002e192df667c3a7a813e6 
target: 00000012c8450000000000000000000000000000000000000000000000000000
CBlock(hash=000000060b0a9783115ec73ec0b03ddb597570e9cb002e192df667c3a7a813e6, ver=4, hashPrevBlock=0000000785f100f772e9b9e3d426c9833c793b352ca5e36124d4e4843171bbcb, hashMerkleRoot=957c15ceaba03d1ca6e34b4b71140f0fea93fde35288856cb149bd04f026034c, nTime=1396230444, nBits=1d92c845, nNonce=3969059840, vtx=1, vchBlockSig=30450221009c9db1a83c274129be68a2232d131a5572ff81a3b9ec0ec34915c458f2d04bbf02204f21639265e3313d8e16579e251bdd0b3285c34788bd3dc878069b3915d6cda3)
  Coinbase(hash=957c15ceab, nTime=1396230195, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02c209028400062f503253482f)
    CTxOut(nValue=0.001, scriptPubKey=0210083b26e2e81c6573da41124a5aa1e450810697e778b3ecd111d53379d57260 OP_CHECKSIG)
  vMerkleTree: 957c15ceab
generated 0.001
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckBlock() : proof of work failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted
vis
member
Activity: 84
Merit: 10
lets try this version
i removed the sanity check that didn't make any sense, but it shouldn't be needed now

github also updated
but you need to reset 3 versions back before pull or download a fresh clone
took no chances with the errors reports

we should be creating blocks, if you're getting rejects please let me know




is someone attempting to mine?
sr. member
Activity: 504
Merit: 254

hum, don't understand, can't load anymore !

I deleted my local copy and cloned from git again (not just pull), built again and still
Code:
faircoind: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.


Here's something that could possibly help you.

Quote from: Question
After compiling on Linux,

I've got

./cryptobuckd
~/CryptoBuck/src$ CryptoBuck server starting
cryptobuckd: main.cpp:2562: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

It doesn't work

Quote from: Answer
Compile version 1.0.0. first this will create your genesis block.  Run 1.0.0 for 10-15 seconds.  Then run 1.0.2 it will continue to load the chain as it should.  

So... maybe compile the very first version of Faircoin first, then compile the latest version?

well I pulled back a backup and still can't start the application

like drumingspz said... something is off with the genesis block (today was supposed to be a transition between last client and current ... older clients can't connect)

So while the backup failed too,

I got this from the logs
Code:
Loading block index...
LoadBlockIndex(): hashBestChain=0000000785f100f772e9  height=2497  trust=3575  date=03/30/14 15:06:15
LoadBlockIndex(): synchronized checkpoint 00000011b946dc6e85e6d275acddbd8cd010f9fe22c4c1e13ffac334388f31a4
Verifying last 2497 blocks at level 1, last lastHardenedCheckpoint: 2223
CheckProofOfWork() : nBits below minimum work: 000000085dc50000000000000000000000000000000000000000000000000000 > 00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CBlock::ReadFromDisk() : errors in block header
ERROR: LoadBlockIndex() : block.ReadFromDisk failed
FairCoin: Error loading blkindex.dat
Flush(false)
blkindex.dat refcount=0
blkindex.dat checkpoint
blkindex.dat closed
DBFlush(false) ended              93ms
StopNode()
Flushed 0 addresses to peers.dat  2ms
Flush(true)
DBFlush(true) ended               0ms
FairCoin exited

I'll wait for the fix since pulling back last version can't make me load the client still
member
Activity: 70
Merit: 10
lets try this version
i removed the sanity check that didn't make any sense, but it shouldn't be needed now

github also updated
but you need to reset 3 versions back before pull or download a fresh clone
took no chances with the errors reports

we should be creating blocks, if you're getting rejects please let me know


sr. member
Activity: 406
Merit: 250

hum, don't understand, can't load anymore !

I deleted my local copy and cloned from git again (not just pull), built again and still
Code:
faircoind: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.


Here's something that could possibly help you.

Quote from: Question
After compiling on Linux,

I've got

./cryptobuckd
~/CryptoBuck/src$ CryptoBuck server starting
cryptobuckd: main.cpp:2562: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

It doesn't work

Quote from: Answer
Compile version 1.0.0. first this will create your genesis block.  Run 1.0.0 for 10-15 seconds.  Then run 1.0.2 it will continue to load the chain as it should.  

So... maybe compile the very first version of Faircoin first, then compile the latest version?
sr. member
Activity: 392
Merit: 250
yes i am

I am compiling the new source and I'll give it a go

thanks

ok, can't load the blkindex.dat file

Code:
FairCoin: Error loading blkindex.dat

deleted and tried again... now

Code:
facd: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

i only added a printf, that doesn't make any sense
can you try rebuilding? maybe clear the obj dir first

hum, don't understand, can't load anymore !

I deleted my local copy and cloned from git again (not just pull), built again and still
Code:
faircoind: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

I am a coder, but haven't looked at crypto coin coding so I may be off base, but it seems to me that if you can't nail down the genesis block, then everyone would have syncing issues - which is what we are seeing.  If you can't properly sync, then mining will give us all kinds of weird errors.  I would start the hunt at the genesis block instead of trying to fix a mining bug that may not exist...

Just my thoughts, could be right or wrong
sr. member
Activity: 504
Merit: 254
yes i am

I am compiling the new source and I'll give it a go

thanks

ok, can't load the blkindex.dat file

Code:
FairCoin: Error loading blkindex.dat

deleted and tried again... now

Code:
facd: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

i only added a printf, that doesn't make any sense
can you try rebuilding? maybe clear the obj dir first

hum, don't understand, can't load anymore !

I deleted my local copy and cloned from git again (not just pull), built again and still
Code:
faircoind: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.
full member
Activity: 140
Merit: 100
Seems something happened,is it serious? Grin

What exactly happened? What you mean?

nothing happen
not serious
sr. member
Activity: 392
Merit: 250
the error doesn't seem to make any sense (says target below min target, even though it clearly isn't)
i added some logs
can anyone who can mine locally please get down this client or update from latest source
and paste the reject reason from the debug.log

unick? you around?

Here you go.

Code:
new block found  
  hash: 00000007154d65458fdf0dfc58bbc2f8bded1fb0ff14ebc3ff6d74416caedabd 
target: 00000012c8450000000000000000000000000000000000000000000000000000
CBlock(hash=00000007154d65458fdf0dfc58bbc2f8bded1fb0ff14ebc3ff6d74416caedabd, ver=4, hashPrevBlock=0000000785f100f772e9b9e3d426c9833c793b352ca5e36124d4e4843171bbcb, hashMerkleRoot=0286f3bb5be7ca3bd7e33f635b7a7453b9f16bf43ee60486f31372baf253cb81, nTime=1396227525, nBits=1d92c845, nNonce=1788150528, vtx=1, vchBlockSig=3046022100f099d3d3435fa083d1b009e93558310b8b4f774ef5e8726e0e10e7116f99fb6c022100d9b0b9fda2f5f790ae901437a0a18052be5b0b31b2d169c3d42b938a31f3644e)
  Coinbase(hash=0286f3bb5b, nTime=1396224946, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02c209023905062f503253482f)
    CTxOut(nValue=0.001, scriptPubKey=0210083b26e2e81c6573da41124a5aa1e450810697e778b3ecd111d53379d57260 OP_CHECKSIG)
  vMerkleTree: 0286f3bb5b
generated 0.001
CheckProofOfWork() : nBits below minimum work: 00000012c8450000000000000000000000000000000000000000000000000000 > 00000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
ERROR: CheckProofOfWork() : nBits below minimum work
ERROR: CheckBlock() : proof of work failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted
sr. member
Activity: 243
Merit: 250
Anybody give me some node address,

My wallet couldnt sync.
member
Activity: 70
Merit: 10
yes i am

I am compiling the new source and I'll give it a go

thanks

ok, can't load the blkindex.dat file

Code:
FairCoin: Error loading blkindex.dat

deleted and tried again... now

Code:
facd: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.

i only added a printf, that doesn't make any sense
can you try rebuilding? maybe clear the obj dir first
sr. member
Activity: 504
Merit: 254
yes i am

I am compiling the new source and I'll give it a go

thanks

ok, can't load the blkindex.dat file

Code:
FairCoin: Error loading blkindex.dat

deleted and tried again... now

Code:
facd: main.cpp:2558: bool LoadBlockIndex(bool): Assertion `block.GetHash() == hashGenesisBlock' failed.
member
Activity: 70
Merit: 10
yes i am

I am compiling the new source and I'll give it a go

thanks
sr. member
Activity: 504
Merit: 254
the error doesn't seem to make any sense (says target below min target, even though it clearly isn't)
i added some logs
can anyone who can mine locally please get down this client or update from latest source
and paste the reject reason from the debug.log

unick? you around?

yes i am

I am compiling the new source and I'll give it a go
Jump to: