Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CLAM] CLAMs, Proof-Of-Chain, Proof-Of-Working-Stake, a.k.a. "Clamcoin"
by
Michail1
on 21/05/2018, 16:46:27 UTC
I eventually synced.   Since I don't use the wallet, I will try a couple of tests.

First, I am using:   v1.4.17

Looking in logs, I see the client reaches 751 Orphan blocks.  It gets a bunch more, but each one is numbered 751.   Basically locks up.

I see others have taken the advice of connect=0      I will run that tonight just as another test / confirmation that it may resolve the issue.  Of course, a client update would be needed to make no connections while it is importing blocks.



Well, again, it stopped automatically for me at block 1775693

bootstrap.dat 2.38 GB (2,565,076,446 bytes) sha256 713B93B7458E88500F1E32557F0BC58B9F05A6B13E1DE31576F25F5300184C96
blk0001.dat   1.95 GB (2,097,155,946 bytes) sha256 510D0CABB4208D9A545A0E05FAB2C0C29C225D699E0601A16B2891FACBD2CE98
blk0002.dat   40.1 MB (   42,074,112 bytes) sha256 4E0425F4E1244A86167460031043C0247B09F5EAEBA6E1BCB4136A91EE0A2394

Here is the snippet from the debug log.

Quote
SetBestChain: new best=33282ccb31e0242458ea8cf426cfb05714753604b37c413a8e95486ca81c7191  height=1775690  trust=567448766874838286320  blocktrust=509240947264508  date=11/16/17 09:02:08
ProcessBlock: ACCEPTED
SetBestChain: new best=81963d01eb963e0bc0f323c5252c67eee91c851e6bdc0552ef3ba5877b1bd9f7  height=1775691  trust=567449274043651486296  blocktrust=507168813199976  date=11/16/17 09:03:44
ProcessBlock: ACCEPTED
SetBestChain: new best=4787753ea648205e9f413cea6001eabf92614869318f469a2733bb016f9a1f5c  height=1775692  trust=567449778894470438909  blocktrust=504850818952613  date=11/16/17 09:05:20
ProcessBlock: ACCEPTED
SetBestChain: new best=64aded1cfe3679857107151e22caa8043908fec2229a2e16b9a7046e0985ca23  height=1775693  trust=567450280914992243496  blocktrust=502020521804587  date=11/16/17 09:06:08
ProcessBlock: ACCEPTED
ERROR: CTransaction::ReadFromDisk() : OpenBlockFile failed
ERROR: FetchInputs() : 6d855febfba9794f14995f90993a2c56444a4c7c5ec561030f983c657dc36492 ReadFromDisk prev tx 31cea8afbee32d452f52028ef310b51c749bbaaffd9ecd3df442b6898b4b641a failed
InvalidChainFound: invalid block=fb790923aa509ff87a97287afd0639efa4763023fb6a7f42691837400f949b77  height=1775694  trust=567450780123264426586  blocktrust=499208272183090  date=11/16/17 09:06:56
InvalidChainFound:  current best=64aded1cfe3679857107151e22caa8043908fec2229a2e16b9a7046e0985ca23  height=1775693  trust=567450280914992243496  blocktrust=502020521804587  date=11/16/17 09:06:08
ERROR: SetBestChain() : SetBestChainInner failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
ERROR: CTransaction::ReadFromDisk() : OpenBlockFile failed
ERROR: CheckProofOfStake() : INFO: read txPrev failed
ProcessBlock: ORPHAN BLOCK 0, prev=5cc7e18e8e8d3a4d11beac2117869739f2185177262e8fb221baede214ebc0df
ProcessBlock: ORPHAN BLOCK 0, prev=e24425383f3707c7f3b23e90d720e4883a98aeca0c1a3777e317efc9539c81ab
ProcessBlock: ORPHAN BLOCK 0, prev=9109b5f5ed6bc67b4669e3d24823e42bf881b3772bf7a9b53ade463a9be95666
ProcessBlock: ORPHAN BLOCK 0, prev=91afe77917861bf006e7ee797fecbb944dd18ae43ceb0c000674c996de88ffbc
ProcessBlock: ORPHAN BLOCK 0, prev=f15bb5e8275a215b1921865dcc16e64aed9af05cdf6166c8dce7210b4f9ee70d
ProcessBlock: ORPHAN BLOCK 0, prev=f5ef33223365fa4cdfc51d8c3c11340b23f7da3f4d5cdb3facd06f5fc008aaf3
ProcessBlock: ORPHAN BLOCK 0, prev=2a576b57412f46383262a66a7ff966626830b9f6aab3d221e55106489d74cbd7
.
.
.

Although orphan stays at block 0, no more bestchains appear to have loaded.  In the end, I see....

Quote
ProcessBlock: ORPHAN BLOCK 0, prev=166705ff3f78aeda9251ad3bc79bca5c88f461539987dff0747a0062d885de56
ProcessBlock: ORPHAN BLOCK 0, prev=79241ea0703cebdea6a4a766dfdacea7f23319327034a8db346d0ff95f68e758
ProcessBlock: ORPHAN BLOCK 0, prev=4a398a03270b98afa5e0ba0f9d643533b78b708c7a8fd536144cc6fc72684b65
ProcessBlock: ORPHAN BLOCK 0, prev=b18c076bb4e687d959932c85766f0099592f1e4f1995f98d55bc63aa90f23c68
ProcessBlock: ORPHAN BLOCK 0, prev=bb831330ced8366b7095c5a71267b8cd3ef5ef5078ee00aea57fcbde79d21732
ProcessBlock: ORPHAN BLOCK 0, prev=eb4205fb93f5e6c6aeacbff987564f3ec4e1488a6e0c57a000299ab3625741d9
bool LoadExternalBlockFile(FILE*)() : Deserialize or I/O error caught during load
Loaded 1781474 blocks from external file in 42731538ms
dumpaddr thread stop
addcon thread interrupt
net thread interrupt
msghand thread interrupt
opencon thread interrupt
Shutdown : In progress...
StopNode()
Shutdown : done

So, I made a backup of the debug.log file at this point, renamed the bootstrap.dat.old back and restarted.


Appears to be running like it should......
Quote
ERROR: ProcessBlock() : already have block 1775690 33282ccb31e0242458ea8cf426cfb05714753604b37c413a8e95486ca81c7191
ERROR: ProcessBlock() : already have block 1775691 81963d01eb963e0bc0f323c5252c67eee91c851e6bdc0552ef3ba5877b1bd9f7
ERROR: ProcessBlock() : already have block 1775692 4787753ea648205e9f413cea6001eabf92614869318f469a2733bb016f9a1f5c
ERROR: ProcessBlock() : already have block 1775693 64aded1cfe3679857107151e22caa8043908fec2229a2e16b9a7046e0985ca23
ERROR: ProcessBlock() : already have block 1775694 fb790923aa509ff87a97287afd0639efa4763023fb6a7f42691837400f949b77
Postponing 1 reconnects
REORGANIZE
REORGANIZE: Disconnect 0 blocks; 64aded1cfe3679857107151e22caa8043908fec2229a2e16b9a7046e0985ca23..64aded1cfe367 9857107151e22caa8043908fec2229a2e16b9a7046e0985ca23
REORGANIZE: Connect 1 blocks; 64aded1cfe3679857107151e22caa8043908fec2229a2e16b9a7046e0985ca23..fb790923aa509 ff87a97287afd0639efa4763023fb6a7f42691837400f949b77
REORGANIZE: done
SetBestChain: new best=5cc7e18e8e8d3a4d11beac2117869739f2185177262e8fb221baede214ebc0df  height=1775695  trust=567451276791207500535  blocktrust=496667943073949  date=11/16/17 09:07:28
ProcessBlock: ACCEPTED
SetBestChain: new best=e24425383f3707c7f3b23e90d720e4883a98aeca0c1a3777e317efc9539c81ab  height=1775696  trust=567451770931307516863  blocktrust=494140100016328  date=11/16/17 09:07:44
ProcessBlock: ACCEPTED
SetBestChain: new best=9109b5f5ed6bc67b4669e3d24823e42bf881b3772bf7a9b53ade463a9be95666  height=1775697  trust=567452262805132909752  blocktrust=491873825392889  date=11/16/17 09:08:16
.
.
.
.
.

Annnnnddddd, it fails again.

Quote
SetBestChain: new best=b18c076bb4e687d959932c85766f0099592f1e4f1995f98d55bc63aa90f23c68  height=1781473  trust=569912537987922081905  blocktrust=490474450244869  date=11/20/17 10:10:56
ProcessBlock: ACCEPTED
SetBestChain: new best=bb831330ced8366b7095c5a71267b8cd3ef5ef5078ee00aea57fcbde79d21732  height=1781474  trust=569913028971501803220  blocktrust=490983579721315  date=11/20/17 10:12:16
ProcessBlock: ACCEPTED
SetBestChain: new best=eb4205fb93f5e6c6aeacbff987564f3ec4e1488a6e0c57a000299ab3625741d9  height=1781475  trust=569913520714206297916  blocktrust=491742704494696  date=11/20/17 10:14:24
ProcessBlock: ACCEPTED
SetBestChain: new best=0def539c364181bb509653a291a50783b49d79aa1cf79fc1e4377c963413e1b2  height=1781476  trust=569914012968678030572  blocktrust=492254471732656  date=11/20/17 10:16:00
ProcessBlock: ACCEPTED
bool LoadExternalBlockFile(FILE*)() : Deserialize or I/O error caught during load
Loaded 5782 blocks from external file in 976515ms

This was a key block number in my prior setup days ago during my posts.   Something is definately wrong.  I could understand the random getting disconnected as maybe internet went down; however, at key block numbers is too coincidental.   This is definately AFTER the 2GB blk file is created.

So, my file is now....
blk0002.dat   47.9 MB (   50,328,045 bytes) sha256 ABFE04484E56047C449E7BB983BF4AFA056195DB623999FFA1955AC697ED6557  at 1781476


Clam version v1.4.17 (2015-09-23 21:07:15 -0300)
Using OpenSSL version OpenSSL 1.0.1j 15 Oct 2014