create account

PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows] by cautilus

View this thread on: hive.blogpeakd.comecency.com
· @cautilus · (edited)
$19.70
PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]
So we’ve recently hit the 1144000 block milestone to implement the changes in wallet versions 3.7.0.0 and above. This means anyone who *has not* updated their wallets to a version that is at least 3.7.0.0 will be left behind on a fork. A fork occurs when your wallet deviates from the mainstream block chain and is detectable by the fact that the difficulty and net weight reported by your wallet will drop very low, maybe roughly 0.05 difficulty and a couple hundred thousand weight, depending on how many other people are with you on that fork. Some people may find their wallets have forked anyway despite being a 3.7.0.0 or later wallet, like mine did.

So this is just a short guide to show you what to do if you find yourself on a fork. The first thing you should do, if you haven’t already, is to update your wallet to the latest version. To update your wallet, download the appropriate installer from the gridcoin website [here](http://www.gridcoin.us/) and run it. Once you’ve updated your wallet, now we can start to resolve the fork. Now unfortunately I’m only experienced with Windows, so I’m afraid this guide isn’t going to help much if you’re on a Mac, Linux or Android device.


What you'll want to do is open the Gricoin Wallet's console and type "getblockhash [a block number]", maybe start with something like "getblockhash 1144700", and see if the block hash matches with [this website](http://gridcoin.network/)'s block hash. All you have to do is type "1144700" into that website's search bar and it'll bring up that block's hash. If yours doesn't match, keep reducing the number (i.e. try 1144600) until you find a block hash that matches. Then type "reorganize [the **block hash** that matches]". Then your wallet will start replaying the block chain to try and find the correct series of hashes to re-join the main chain. If you find yourself on another fork after reorganize, then try it again at least a couple of times. If you find you’re *still* on a fork after multiple reorganize attempts, then you’ll need to download a block chain snapshot. 



The latest snapshot can be found [here]( http://download.gridcoin.us/download/downloadstake/signed/snapshot.zip), and it’s pretty big at 1.1GB. So you’ll need to give it a while to download. Once the snapshot has downloaded you’ll want to decompress it, close your wallet and head to %appdata%\GridcoinResearch\; you can put that in the directory bar of windows explorer and it should work. Then you’ll want to back up your “walletbackups”, “gridcoinresearch.conf” and “wallet.dat” files by making a copy of them somewhere else. Then delete everything in the “GridcoinResearch” folder **except** for those three folders/files I just mentioned. Then put the files you extracted from the snapshot into the “GridcoinResearch” folder. These should be the “chainstate”, “database”, “txleveldb” folders and the “blk0001.dat” file.

Once you’ve done all of that, you can re-open your wallet, and hopefully it should back in sync quickly. If you’ve got any questions, feel free to leave them below.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorcautilus
permlinkpsa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows
categorygridcoin
json_metadata{"tags":["gridcoin"],"links":["http://www.gridcoin.us/","http://gridcoin.network/","http://download.gridcoin.us/download/downloadstake/signed/snapshot.zip"],"app":"steemit/0.1","format":"markdown"}
created2018-01-24 11:20:45
last_update2018-01-24 12:32:51
depth0
children13
last_payout2018-01-31 11:20:45
cashout_time1969-12-31 23:59:59
total_payout_value14.948 HBD
curator_payout_value4.748 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,068
author_reputation208,436,434,908
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,899,035
net_rshares1,870,653,674,340
author_curate_reward""
vote details (29)
@angelblood ·
Did all my updates the same day I saw them post here on Steem hoping my due diligence would pay off (literally) but I got forked :(  noticed that i was receiving 15 separate grc payouts a day instead of my usual 2.

Your getblockhash guide worked perfectly. Thank you much.
properties (22)
authorangelblood
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180124t230801560z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-24 23:07:57
last_update2018-01-24 23:07:57
depth1
children0
last_payout2018-01-31 23:07:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length273
author_reputation0
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,040,768
net_rshares0
@cheetah ·
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://www.reddit.com/r/gridcoin/comments/7smenu/psa_what_to_do_if_your_difficulty_01_andor_net/
properties (22)
authorcheetah
permlinkcheetah-re-cautiluspsa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows
categorygridcoin
json_metadata""
created2018-01-24 11:38:45
last_update2018-01-24 11:38:45
depth1
children1
last_payout2018-01-31 11:38:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length196
author_reputation942,693,160,055,713
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,902,428
net_rshares0
@cautilus ·
Why it's almost as if I wrote that reddit thread too, silly bot
👍  ,
properties (23)
authorcautilus
permlinkre-cheetah-cheetah-re-cautiluspsa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180124t123346714z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-24 12:33:45
last_update2018-01-24 12:33:45
depth2
children0
last_payout2018-01-31 12:33:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length63
author_reputation208,436,434,908
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,913,749
net_rshares559,147,764
author_curate_reward""
vote details (2)
@dtubix ·
Thanks for yur good posts, I followed you! +UP
properties (22)
authordtubix
permlinkre-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-612
categorygridcoin
json_metadata""
created2018-02-03 22:51:36
last_update2018-02-03 22:51:36
depth1
children0
last_payout2018-02-10 22:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length46
author_reputation34,573,484,405
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id34,747,665
net_rshares0
@fortex ·
I get 

{
"RollbackChain" : false
}

when trying to reorganize. What could be the problem?
properties (22)
authorfortex
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180124t161304947z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-24 16:15:27
last_update2018-01-24 16:15:27
depth1
children1
last_payout2018-01-31 16:15:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length90
author_reputation74,043,430,220
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,962,309
net_rshares0
@fortex ·
Ahh, silly me, you have to use the hash and not the block number.
👍  
properties (23)
authorfortex
permlinkre-fortex-re-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180124t163515917z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-24 16:35:36
last_update2018-01-24 16:35:36
depth2
children0
last_payout2018-01-31 16:35:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation74,043,430,220
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,966,586
net_rshares603,013,600
author_curate_reward""
vote details (1)
@jestem ·
I have seemed to get off the fork, but my current GRC total is incorrect in my wallet.  It is off by a few coins.  Do I need to rebuild the chain again even though my hashes match Gridcoin.network?
properties (22)
authorjestem
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180125t191345428z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-25 19:13:48
last_update2018-01-25 19:13:48
depth1
children1
last_payout2018-02-01 19:13:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length197
author_reputation12,217,387
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,274,139
net_rshares0
@jestem ·
Aha! Repairwallet.  How simple.
properties (22)
authorjestem
permlinkre-jestem-re-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180125t221153793z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-25 22:12:00
last_update2018-01-25 22:12:00
depth2
children0
last_payout2018-02-01 22:12:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length31
author_reputation12,217,387
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,307,687
net_rshares0
@johnniec ·
The Gridcoin website doesn't seem to be working for higher block numbers right now.
properties (22)
authorjohnniec
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180126t020252014z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-26 02:02:54
last_update2018-01-26 02:02:54
depth1
children1
last_payout2018-02-02 02:02:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation2,556,804,777,297
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,348,009
net_rshares0
@lumendan ·
Gridcoin stats block explorer is working for higher block numbers and shows a warning when it detects itself on a fork. https://www.gridcoinstats.eu/block
I was stuck at an early fork soon after block 1144270. Reorganizing at 1144270 got me a lot closer to the main chain, now synchronized at least as high as today's super block.
properties (22)
authorlumendan
permlinkre-johnniec-re-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180126t055419794z
categorygridcoin
json_metadata{"tags":["gridcoin"],"links":["https://www.gridcoinstats.eu/block"],"app":"steemit/0.1"}
created2018-01-26 05:54:21
last_update2018-01-26 05:54:21
depth2
children0
last_payout2018-02-02 05:54:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length330
author_reputation155,257,586,704
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,388,242
net_rshares0
@kiebitz ·
Thank you!
I also have currently the problem of my wallet being on a fork and I will try your suggestions.
properties (22)
authorkiebitz
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180124t185600262z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-01-24 18:56:03
last_update2018-01-24 18:56:03
depth1
children0
last_payout2018-01-31 18:56:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation28,830,982,618
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,995,008
net_rshares0
@lumendan ·
I got stuck on another fork today, 
reorganizing from block 1155125 got me back in sync.
the block hash for 1155125  was 0dd9179372b2ab3cc871af53824f6908b2c0d35b67454a479f454ef36e1081a6
properties (22)
authorlumendan
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180206t091724872z
categorygridcoin
json_metadata{"tags":["gridcoin"],"app":"steemit/0.1"}
created2018-02-06 09:17:24
last_update2018-02-06 09:17:24
depth1
children0
last_payout2018-02-13 09:17:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length185
author_reputation155,257,586,704
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id35,358,270
net_rshares0
@pfits ·
$0.06
Currently I think Gridcoin Blockchain is splitted into a lot of pieces, I always had an estimated reward period of 1 day, now I have 3 hours! But I am not on a fork, or the gridcoin.network page is also on my fork.
Another problem i, that I've lost/not received 200GRC that I've earned prior to block 1144000. You can see it here https://www.gridcoinstats.eu/cpid/bc5a9ab4e5f6009febd0c8afec1299ed I've got one reward on 2018-01-21 and the next on 2018-01-23 with only 3.5 GRC with a magnitude of 355, that should be around 200GRC and I got that transaction for a short time and then it disappears because of a fork. Was there a problem on version change (I am using 3.7.4.0) Thanks for help!
👍  ,
properties (23)
authorpfits
permlinkre-cautilus-psa-what-to-do-if-your-difficulty-0-1-and-or-net-weight-300-000-i-e-if-you-re-on-a-fork-windows-20180124t174506326z
categorygridcoin
json_metadata{"tags":["gridcoin"],"links":["https://www.gridcoinstats.eu/cpid/bc5a9ab4e5f6009febd0c8afec1299ed"],"app":"steemit/0.1"}
created2018-01-24 17:45:06
last_update2018-01-24 17:45:06
depth1
children0
last_payout2018-01-31 17:45:06
cashout_time1969-12-31 23:59:59
total_payout_value0.054 HBD
curator_payout_value0.005 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length691
author_reputation177,434,575,989
root_title"PSA: What to do if your difficulty < 0.05 and/or net weight < 300,000 (i.e. if you’re on a fork) [Windows]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id31,980,918
net_rshares6,150,204,357
author_curate_reward""
vote details (2)