EDIT: Snapshot Worked, Find CPID Still Fails

2년 전

Update: the snapshot got me synced. The problem in the image below is the same, except that it says that the sync check passes. Important thing is done, but if anyone has an answer to the other problem I'd be interested.

Screen Shot 2018-02-04 at 12.01.20.png

Hi everyone, I'm looking for some help with my wallet. I was on a good fork on version 3.7 for MacOS until about a week ago, so I reorganized to a prior block that had the correct hash. Unfortunately, every time I reorganize to a block it's just stuck there, the wallet doesn't sync beyond that block. Before downloading the snapshot anew, I decided to run diagnostics and the result is above. I've checked my gridcoinresearch.conf folder and added PrimaryCPID=(mypublicCPID), and the wallet still couldn't find my CPID. I also checked the .conf folder before and after the last beacon was sent (earlier in January, before this was a problem) - they were the same, and neither one of them had the entry PrimaryCPID, meaning it was working fine before then without that entry. I'm assuming that the "Verify CPID is valid" and "Verify CPID is in Neural Network" are failing because the CPID couldn't be found; according to gridcoinstats.eu my CPID is in the neural network.

In debug console, list cpids command gives correct, up-to-date information and list rsa command is also correct. I'm currently on v3.7.7.0. Any ideas? Has anyone else had this problem?

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

Can you post the output of getinfo and getmininginfo? I am interested in what block you are at. Also run getblockhash on the block listed in the "blocks" line and post it here. Let's see if you are actually on the main chain or not. Also, please post the block number/hash that you used to reorg on.

·

I reorganized on the same block/hash as what's listed in the "blocks" line below, although I did this several times, this block is the furthest I had gone back, as it was the last time I received minted GRCs.

Screen Shot 2018-02-04 at 12.42.53.png

Screen Shot 2018-02-04 at 12.43.pngScreen Shot 2018-02-04 at 12.46.15.png

·
·

That hash is on the main chain. Can you restart the wallet and then post the contents of the debug log post restart? Interesting that your IP is blank yet you have 47 connections. You are running a full node? You do not need that CPID entry in your conf.

We need to concentrate on getting you synced first...

·
·
·

I left out IP on purpose as a general precaution, it's showing up normally.

Debug log (at first ProcessBlock: ORPHAN BLOCK,; then ERROR: CheckProofOfStake() : INFO: read txPrev failed; it seems like they alternate, looking at debug files from prior wallet openings):

02/04/18 19:52:19 Transaction index version is 180015
02/04/18 19:52:19 Opened LevelDB successfully
02/04/18 19:52:19 Loading DiskIndex 0
02/04/18 19:53:21 Time to memorize diskindex containing 1160915 blocks : 61125ms
02/04/18 19:53:26 Time to calculate Chain Trust 5874ms
02/04/18 19:53:26 LoadBlockIndex(): hashBestChain=48aec93b5903149596e8 height=1144351 trust=3275838333972824660711873320762369734724920483558585417587759981119153566492 date=01/23/18 16:03:12
02/04/18 19:53:26 Verifying last 1000 blocks at level 1
02/04/18 19:53:28 Time to Verify Blocks 1138ms
02/04/18 19:53:28 Set up RA RA Starting 1 2 1144351 RA Complete - RA Time 4747ms
02/04/18 19:53:32 block index 74101ms
02/04/18 19:53:32 Loading wallet...
02/04/18 19:53:32 nFileVersion = 3070700
02/04/18 19:53:32 Keys: 0 plaintext, 219 encrypted, 219 w/ metadata, 219 total
02/04/18 19:53:33 wallet 439ms
02/04/18 19:53:33 Rescanning last 1913 blocks (from block 1142438)...
02/04/18 19:53:34 rescan 771ms
02/04/18 19:53:34 Loaded 9832 addresses from peers.dat 53ms
02/04/18 19:54:07 Done loading Admin messagesLoad CPID
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:07 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:07 No neural network nodes online.
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:07 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22
Setting bpk to 844ecf4521588c425f38c1a6bcd8501e
02/04/18 19:54:08 No neural network nodes online.
** External CPID not empty 75189ba4f50adac0401a97c629cc8f22 **
02/04/18 19:54:08 Setting CPID to 75189ba4f50adac0401a97c629cc8f22 Getting first projectFinished getting first project
Using 8 OutboundConnections with a MaxConnections of 125
02/04/18 19:54:09 Done loading
02/04/18 19:54:09
Starting dedicated Tally_retired thread...
02/04/18 19:54:10 GUI Loaded...UPnP: ExternalIPAddress = (myIP)
02/04/18 19:54:12 7..UPnP Port Mapping successful.
02/04/18 19:54:15 GetMyExternalIP() returned (myIP)
02/04/18 19:54:15 7.. Received block 3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8; AcceptBlock: Proof Of Stake V8 9
02/04/18 19:50:47 ERROR: CheckProofOfStake() : INFO: read txPrev failed
02/04/18 19:50:47 ERROR: WARNING: AcceptBlock(): check proof-of-stake failed for block 3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8, nonce 0.000000

02/04/18 19:50:47 ERROR: ProcessBlock() : AcceptBlock FAILED
02/04/18 19:50:47 Received block 7a69c04c34bda30bb3afdd378a64c508f93dc1b2447362e271fc9de2d80218e7; ProcessBlock: ORPHAN BLOCK, prev=3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8
02/04/18 19:50:48 Received block 8828abc34e8f7ad90bbe0c46f0eafd81066866df11c9ab08d27700067bd75350; ProcessBlock: ORPHAN BLOCK, prev=7a69c04c34bda30bb3afdd378a64c508f93dc1b2447362e271fc9de2d80218e7
02/04/18 19:50:48 Received block 09702482cf076d6df45cb704283a3270380d3e2e7ba4edb98104b126e8e6519d; ProcessBlock: ORPHAN BLOCK, prev=8828abc34e8f7ad90bbe0c46f0eafd81066866df11c9ab08d27700067bd75350
02/04/18 19:50:48 Received block 491eff7e01e4a786bcdee6237013bb3e25e4fd588fb2704c223216c7577763a4; ProcessBlock: ORPHAN BLOCK, prev=09702482cf076d6df45cb704283a3270380d3e2e7ba4edb98104b126e8e6519d
02/04/18 19:50:48 Received block 7b32e3b90d2ce17fd50842aab20f61a1fed8d4e079704d6c3fbc1dce00fac003; ProcessBlock: ORPHAN BLOCK, prev=491eff7e01e4a786bcdee6237013bb3e25e4fd588fb2704c223216c7577763a4
02/04/18 19:50:48 Received block 1f0a1cf6f188060c0c56d27ac672cb61ecfed67abd624134794cf83b4d5431f6; ProcessBlock: ORPHAN BLOCK, prev=7b32e3b90d2ce17fd50842aab20f61a1fed8d4e079704d6c3fbc1dce00fac003
02/04/18 19:50:48 Received block 74a8998ab9abf5dc347c605667bf9b48933c207eabe3fc6ea9aa0b4111924c04; ProcessBlock: ORPHAN BLOCK, prev=1f0a1cf6f188060c0c56d27ac672cb61ecfed67abd624134794cf83b4d5431f6
02/04/18 19:50:48 Received block 934bbbbaf1e184b6cde39efb0bd507eb99d97cf651740967ed8483bf358a415b; ProcessBlock: ORPHAN BLOCK, prev=74a8998ab9abf5dc347c605667bf9b48933c207eabe3fc6ea9aa0b4111924c04
02/04/18 19:50:48 Received block b3235530439af60b3913c06408448173605a771ffcfcf7a084b98d68245529e1; ProcessBlock: ORPHAN BLOCK, prev=934bbbbaf1e184b6cde39efb0bd507eb99d97cf651740967ed8483bf358a415b
02/04/18 19:50:48 Received block 391163cd067adece9b4c62058808be9d7deb03e1b7a2d219b69a7e40cc7913c2; ProcessBlock: ORPHAN BLOCK, prev=b3235530439af60b3913c06408448173605a771ffcfcf7a084b98d68245529e1
02/04/18 19:50:48 Received block a184debc5965d39165dada18a17500f950dbcb727ae695173dace5cba71fc733; ProcessBlock: ORPHAN BLOCK, prev=391163cd067adece9b4c62058808be9d7deb03e1b7a2d219b69a7e40cc7913c2

And then later on it's this:

02/04/18 20:01:16 ERROR: ProcessBlock() : AcceptBlock FAILED
02/04/18 20:01:17 Received block 3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8; AcceptBlock: Proof Of Stake V8 9
02/04/18 20:01:17 ERROR: CheckProofOfStake() : INFO: read txPrev failed
02/04/18 20:01:17 ERROR: WARNING: AcceptBlock(): check proof-of-stake failed for block 3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8, nonce 0.000000

02/04/18 20:01:17 ERROR: ProcessBlock() : AcceptBlock FAILED
02/04/18 20:01:17 Received block 3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8; AcceptBlock: Proof Of Stake V8 9
02/04/18 20:01:17 ERROR: CheckProofOfStake() : INFO: read txPrev failed
02/04/18 20:01:17 ERROR: WARNING: AcceptBlock(): check proof-of-stake failed for block 3bce3428f3193032cd7e5a61781f70b35aa30391b30189d6ad9e860ced01b0f8, nonce 0.000000

02/04/18 20:01:17 ERROR: ProcessBlock() : AcceptBlock FAILED

What nodes do you have in your .conf file? I was able to sync by first downloading blocks, waiting for that to complete, and then rebuilding the block chain.

I find the reorganize command to be somewhat glitchy so I prefer to do the complete rebuild with the rebuild block chain command.

·

Nodes:

addnode=node.gridcoin.us
addnode=gridcoin.asia
addnode=grcmagnitude.com

I tried the Advanced > Rebuild Block Chain, but nothing happened after.

My next step was to download the snapshot and search for valid nodes, but the Find CPID failure made me think the problem was due to something else.

·
·

You could try adding

addnode=gridcoin.crypto.fans

which is the gridcoinstats.eu node to your .conf file.

Rebuild block chain needs a bit of time to work, so it's best to let it sit for a while after you have downloaded blocks or have the snapshot in place.

·
·
·

I've let download blocks run for a really long time, probably at least a day, but maybe that wasn't enough. I'm going to try the snapshot and see what happens. If it's the CPID I guess I'll find out.

Is your email correct in the config file? Also is your public and private key entry for your beacon in your config file? What does the command execute beacon status result in? (Please don't post this unredacted as it has sensitive info.)

·

Yes, the e-mail is correct. The public and private key entries for the beacon are in .config file. The execute beaconstatus command yields the same public and private keys as in the .config file, otherwise the beacon exists and all the other information there is correct and up-to-date.

·
·

There may be some info here that could help:
https://www.gridcoin.us/Guides/earn-grc.htm

You might try sending out beacons again with

execute advertisebeacon

and waiting to be included in the next superblock.

·
·
·

Unlocked my wallet (not just for staking) and tried that, got the following:

"Errors" : "ALREADY_IN_CHAIN"

Out of curiosity, do you have the same problem when you run diagnostics?

·
·

Seems like everything is in order. You might want to open a new issue on github. https://github.com/gridcoin/Gridcoin-Research/issues

·
·
·

Thanks for the advice. Out of curiosity, do you have the same problem when you run diagnostics?

·
·
·
·

I don't use the GUI version. I compile it but I can't even remember the last time I fired it up! :) Quite frankly the real thing you should look at is whether you are staking or not...

Here is my output from getinfo and getmininginfo

{
"version" : "v3.7.7.0-gd3c0eb952-dirty",
"minor_version" : 317,
"protocolversion" : 180323,
"walletversion" : 60000,
"balance" : 300857.47987845,
"newmint" : 0.00000000,
"stake" : 8893.35337895,
"blocks" : 1156382,
"timeoffset" : -257,
"moneysupply" : 400657205.99301624,
"connections" : 54,
"proxy" : "",
"ip" : "67.80.208.143",
"difficulty" : {
"proof-of-work" : 8.23948943,
"proof-of-stake" : 0.27612053
},
"testnet" : false,
"keypoololdest" : 1505396762,
"keypoolsize" : 101,
"paytxfee" : 0.00010000,
"mininput" : 0.00000000,
"unlocked_until" : 1517928403,
"errors" : ""
}
{
"blocks" : 1156382,
"stakeweight" : {
"minimum" : 0,
"maximum" : 66730,
"combined" : 173885,
"valuesum" : 2173.60962878,
"legacy" : 2173.60962878
},
"netstakeweight" : 2450960.51452546,
"staking" : true,
"mining-error" : "",
"mining-message" : "",
"time-to-stake_days" : 1.17457176,
"expectedtime" : 101483,
"mining-version" : 9,
"mining-created" : 22,
"mining-accepted" : 22,
"mining-kernels-found" : 24,
"InterestPending" : 0.42247283,
"kernel-diff-best" : 0.02745529,
"kernel-diff-sum" : 0.00009817,
"difficulty" : {
"proof-of-work" : 8.23948943,
"proof-of-stake" : 0.27612053,
"last-search-interval" : 1517890880
},
"pow_reward" : 205.00000000,
"errors" : "",
"pooledtx" : 0,
"stakeinterest" : 0.01500000,
"testnet" : false,
"PopularNeuralHash" : "4e7730fc781ffe2b0b0100b2e698f199",
"NeuralPopularity" : 18.18181818,
"CPID" : "bc0621a4ac4610ffa400a0d298c02e23",
"RSAWeight" : 0,
"Magnitude Unit" : 0.25000000,
"BoincRewardPending" : 1.65257523,
"MiningProject" : "world community grid",
"MiningInfo 1" : "Boinc Mining",
"MiningInfo 2" : "Poll: project_whitelist_and_greylist_process_proposal",
"MiningInfo 5" : "",
"MiningInfo 6" : "",
"MiningInfo 7" : "",
"MiningInfo 8" : ""
}

You really want to look for whether staking is true and whether there are mining errors listed.

·
·
·
·
·

Thanks, I have similar results to yours, and I'm staking so the important stuff is settled :)