Skip to content

Instantly share code, notes, and snippets.

@ConanMishler
Created March 9, 2021 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ConanMishler/00e2ed0d148a897106b53c7c6e19659b to your computer and use it in GitHub Desktop.
Save ConanMishler/00e2ed0d148a897106b53c7c6e19659b to your computer and use it in GitHub Desktop.
Blocknet Comet Update Guide

Blocknet Wallet v4.0 Upgrade Guide

If you have NOT run Blocknet Comet yet:

  1. Close and quit the Blocknet wallet if it is running.
  2. Download the latest Blocknet wallet.
  3. Install and run the wallet. This will setup the new Blocknet/ data directory (~/.blocknet/ on Linux) and all asociated files.
  4. Close the Blocknet wallet.
  5. Navigate to your OS's respective BlocknetDX/ v3.x data directory. If you used the default data directory you'll find it here:
    1. For Windows: C:\Users\[YourUsername]\AppData\Roaming\BlocknetDX\
      1. Or paste %appdata%\Roaming\BlocknetDX\ into the file explorer path field
    2. For MacOS: ~/Library/Application Support/BlocknetDX/
      1. Open Finder and in the program menu select Go > To Folder and enter the above path.
    3. For Linux: ~/.blocknetdx/
  6. Copy your wallet.dat file and backups/ folder.
  7. Navigate to your OS's respective Blocknet/ v4 data directory. If you used the default data directory you'll find it here:
    1. For Windows: C:\Users\[YourUsername]\AppData\Roaming\Blocknet\
      1. Or paste %appdata%\Roaming\Blocknet\ into the file explorer path field
    2. For MacOS: ~/Library/Application Support/Blocknet/
      1. Open Finder and in the program menu select Go > To Folder and enter the above path.
    3. For Linux: ~/.blocknet/
  8. Paste your wallet.dat file and backups/ folder that you just copied.
  9. Use the bootstrap files to significally speed up your sync time:
    1. Video Tutorials: Windows | MacOS
    2. Download the latest bootstrap files.
    3. Find the downloaded Blocknet.zip file and double-click. This will unzip the file and show a folder named Blocknet.
    4. Inside the downloaded Blocknet folder there are the blocks/, chainstate/, and indexes/ folders. Copy these 3 folders.
    5. Navigate back to your OS's respective Blocknet/ v4 data directory:
      1. For Windows: C:\Users\[YourUsername]\AppData\Roaming\Blocknet\
        1. Or paste %appdata%\Roaming\Blocknet\ into the file explorer path field
      2. For MacOS: ~/Library/Application Support/Blocknet/
        1. Open Finder and in the program menu select Go > To Folder and enter the above path.
      3. For Linux: ~/.blocknet/
    6. Delete the existing blocks/, chainstate/, and indexes/ folders.
    7. Paste the blocks/, chainstate/, and indexes/ folders you just copied.
  10. Run the wallet and syncing should be completed shortly.

If you HAVE run Blocknet Comet but no transactions are showing and balance is 0:

  1. Close and quit the Blocknet wallet if it is running.
  2. Make sure you installed the latest Blocknet wallet.
  3. Navigate to your OS's respective BlocknetDX/ v3.x data directory. If you used the default data directory you'll find it here:
    1. For Windows: C:\Users\[YourUsername]\AppData\Roaming\BlocknetDX\
      1. Or paste %appdata%\Roaming\BlocknetDX\ into the file explorer path field
    2. For MacOS: ~/Library/Application Support/BlocknetDX/
      1. Open Finder and in the program menu select Go > To Folder and enter the above path.
    3. For Linux: ~/.blocknetdx/
  4. Copy your wallet.dat file and backups/ folder.
  5. Navigate to your OS's respective Blocknet/ v4 data directory. If you used the default data directory you'll find it here:
    1. For Windows: C:\Users\[YourUsername]\AppData\Roaming\Blocknet\
      1. Or paste %appdata%\Roaming\Blocknet\ into the file explorer path field
    2. For MacOS: ~/Library/Application Support/Blocknet/
      1. Open Finder and in the program menu select Go > To Folder and enter the above path.
    3. For Linux: ~/.blocknet/
  6. ONLY IF YOUR BALANCE WAS 0 (ZERO) AND YOU WERE FULLY SYNCED:
    1. Delete the wallet.dat and wallets/ folder (you may not have both).
  7. Paste your wallet.dat file and backups/ folder that you previously copied.
  8. Run the wallet and once fully synced your balance should be reflect the correct amount.

If you see transaction history but the balance is incorret (or 0):

If updating to Blocknet Comet (v4) and you see transactions but the balance is incorrect (or 0), use the Tools > Wallet Repair > Recover Transactions tool (zapwallets=2): zapwallets


If you don't have any peers

  1. If you're not finding any peers, yet may be because you're still syncing headers (not fully synced).
  2. If you're positive you're fully synced, navigate to your OS's respective Blocknet/ v4 data directory. If you used the default data directory you'll find it here:
    1. For Windows: C:\Users\[YourUsername]\AppData\Roaming\Blocknet\
      1. Or paste %appdata%\Roaming\Blocknet\ into the file explorer path field
    2. For MacOS: ~/Library/Application Support/Blocknet/
      1. Open Finder and in the program menu select Go > To Folder and enter the above path.
    3. For Linux: ~/.blocknet/
  3. Open the blocknet.conf file.
  4. Paste in the following on a new line:
    addnode=107.191.62.28
    addnode=108.214.8.13
    addnode=108.61.208.55
    addnode=142.165.207.19
    addnode=144.202.48.94
    addnode=149.28.121.22
    addnode=149.28.164.120
    addnode=149.28.167.115
    addnode=155.138.222.168
    addnode=155.138.238.89
    addnode=3.17.240.214
    addnode=45.32.76.39
    addnode=45.76.218.48
    addnode=45.77.66.218
    addnode=71.42.201.2
    addnode=82.197.211.223
    addnode=95.179.169.219
    
  5. Restart the wallet and let it fully sync.
  6. If you're still not finding any peers after putting those in there, you might have a firewall blocking the wallet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment