stuck in Gridcoin 3.5.8.7? inofficial snapshot file available

in #gridcoin9 years ago (edited)









If you do NOT get any new blocks (A), you can now use an inofficial snapshot or bootstrap file (B):

  it brings you up to block #856625


Please read also the aspect about endangering the consensus mechanism by preferring the A chain with this here.



(A)

This is most likely because your client is connected to nodes which give you "wrong" blocks and your 3.5.8.7 node does not accept those

  background info


(B)

snapshot howto:

  0. make sure you are running the new Gridcoin 3.5.8.7 !

  1. get the inofficial:

      snapshot file (MD5: aae5e7255313a242a28a26c4e67c4e7f) or better:

      the bootstrap file (why is bootstrap better? see (C) ) (MD5sum: 067ffbee9afdca5dfcf8bbd293da9052 bootstrap.dat)

  2. close Gridcoin

  3. navigate to your data dir: e.g. for windows: %appdata%\GridcoinResearch and for linux: /home/your_user/.GridcoinResearch/

  4. delete everything, except: gridcoinresearch.conf, wallet.dat and walletbackups folder

  5. make also sure that your .conf file has uptodate Gridcoin nodes:

  see here (or !addnodes) )... 

  6. now is also a good time to do a BACKUP of the files from step4

  7. extract the snapshot file to folder from step3

  8. launch the Gridcoin client

  9. how long does it take ? depends on CPU (4h on Intel Core i5-7200U 3.1 GHz, import: single-thread, and nothing intensive on processor elsewise)... 

  11. when the snapshot was imported, check with !verify if all goes in the right direction

    e.g. the hash of block #856625 = ad5aecf0dd55b7ab20453f4bc92c8f389d5323be523701a457a23dfc6c9038b0



  If you get: "error init database environment" after applying the snapshot file:

  1. close Gridcoin

  2. delete the database folder (info: the wallet will recreate database)

  3. restart Gridcoin

  


(C)

  A !bootstrap file is more *SECURE* than a !snapshot (but the security requires more CPU load to import)

  The bootstrap would provide proof of blockchain integrity (which isn't provided with a snapshot file).



The terms above starting with ! (e.g. !bootstrap) are commands the fediverse bot accepts in irc


Sort:  

Thanks for providing these instructions. I'm sure it will help a lot of people get their wallet up and running! Resteemed and upvoted :)

Thanks, I'm attempting this now. Based on the speed so far, I'm guessing it'll take about 4-5 hours before I know whether it has worked.

edit: The speed feels identical to rebuilding the blockchain from zero, so I'm doubting that I did this correctly. I followed the instructions above and restarted the wallet with only the wallet.dat, conf file, wallet backups, and the extracted snapshot. Shouldn't this be going faster?

edit2: failed at 854443

Hi, did you removed or renamed the old folders and the blk0001.dat file? I sugggest you rename the old txleveldb folder to txleveldb.old and also rename the database folder to database.old. Same with the blk0001.dat, rename that to blk0001.dat.old, just in case. Then, extract the snapshot to the GridcoinResearch directory. You should be on block 855xxx+ and above. If you start at 854443 the snapshot was not applied correctly.

Yes, the only items in the folder were [1] wallet.dat [2] conf file [3] wallet backups [4] extracted snapshot

EDIT: I messed up, see: https://github.com/gridcoin/Gridcoin-Research/issues/254#issuecomment-290553334

'Inofficial' is not an English word, it should be 'unofficial'.

Since block 860500 is the mandatory NEW version 3.5.8.8 required:

If this new version does NOT solve your problems, please reply

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.034
BTC 115067.22
ETH 4145.27
USDT 1.00
SBD 0.61