Wallet Fixes

Ghost Wallet Fixes

Here are some of the known problems you might encounter while using the Ghost desktop wallet.

Update Ghost Desktop Wallet to the Latest Core

In order to update the core, you only need to close the Ghost desktop wallet and open it again. This time it will show “downloading new daemon.” This could take various minutes depending on your internet speed. After the download is over you will have the latest core.

Low or 0 Peers

A)
⦁ Open your Ghost Desktop wallet and click on the debug console
⦁ Input “clearbanned”
B)
⦁ Open your Ghost Desktop wallet and click on the debug console
⦁ Input “addnode ghostseeder.ghostbyjohnmcafee.com add”

You can do both commands if needed.

Resync With the Blockchain (Windows)

Close the wallet then find your Ghost folder in appdata and rename the folder “blocks” to blocks old

Abandon an 0/12 Confirmations Sent Anon Transaction

In the debug window, use these two commands one at a time: abandontransaction txid “then”
rescanblockchain (this command will freeze your wallet for about 60 seconds)

(Note) You may need to use your web browser history to copy the transaction ID from the link.

VPS

How to update your vps to the lastest core

Updating the VPS to the lastest core is an easy task. The compiled steps below were made by a member of the community.

“For reference, the node was set up according to the Ghost VPS Guide here:

1) First you need to log in to your ghost coldstaking node using PuTTY (windows) or terminal (mac/linux). To do this you will paste your VPS IP address and login password. You can refer to the instruction in the VPS Guide above if you forgot how to do that.
2) Once you are logged in, it will display the current version (v.0.19.1.10). You can also check the version by running the command: “ghostd -version” (do not include quotations, note there is a space after ‘ghostd’)
3) To update, run the following command: “bash ghostman/bin/ghostman.sh update” (don’t include quotes)
4) Press “y” and hit enter at the following prompt.
5) The entire update will run automatically. When it is done and you open your desktop wallet, you will note that the screen says “downloading new daemon… xx%” Once this is downloaded you will see the latest version 0.19.1.10 in the bottom right corner. „
Known Issues and solutions:
Enter commands in vps console (SSH connection, PuTTY, Web-Portal)

Issue:

ghostd listening (IP): NO

Solution:

sudo apt-get install net-tools

Issue:

ghostd listening (IP): YES
ghostd connection count : 0

Solution:

~/ghostcore/ghost-cli addnode ghostseeder.ghostbyjohnmcafee.com add
~/ghostcore/ghost-cli clearbanned

Issue:

Last block local and ghostscan.io are not the same height

Solution:

STEP 1:
rm -rf ~/.ghost/blocks-old
mv ~/.ghost/blocks ~/.ghost/blocks-old

STEP 2:
sudo apt-get install net-tools

[ the above is a one-time step if you didn’t follow official instructions to setup cold staking wallet, you run this step only the very first time you install or update your cold staking wallet ]

STEP 3:
bash ~/ghostman/bin/ghostman.sh restart

[ wait for 15 minutes ]

STEP 4:
bash ~/ghostman/bin/ghostman.sh stakingnode stats
[ run the above command for a few times until you see all days of the months reflecting number of stakes ]

STEP 5:
bash ~/ghostman/bin/ghostman.sh status

[ check carefully for connected peers, you should see YES and 1 or 2 peers connected ][ run the above command whenever you would like to see your coldstaking-node status ]

Issue:

Everything is mixed up and you want to do a clear reinstall.
Reinstall vps:
vultr Website:

Then follow the vps cold staking setup guide
starting at this section here:

“Connecting to your VPS”

The next part of this guide we will be connecting to the VPS we created in the previous section. This will vary slightly if you are on Windows, Mac, or Linux machine.

Windows Users Only (PUTTY)

(Mac Users Guide is further down the page)

  1. For windows you will need to download an application called PUTTY if you do not already have it.
  2. You can find the download link to the application here, https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

You have to stop coldstaking in wallet and wait for 12/12 confirmations,
then start coldstaking again with the new coldstaking public key and ZAP it.

Issue:

No issue, coins need to mature

Basic VPS Commands

  1. Show Ghostman version:

~/ghostman/bin/ghostman.sh version

  1. Show status of Ghost node:

~/ghostman/bin/ghostman.sh status

  1. Show version of Ghost node:

~/ghostman/bin/ghostman.sh status | grep “ghostd version”

  1. Stop Ghost node:

~/ghostcore/ghost-cli stop

  1. Update Ghost node:

~/ghostman/bin/ghostman.sh selfupdate
~/ghostman/bin/ghostman.sh update

  1. Restart Ghost node:

~/ghostman/bin/ghostman.sh restart now

  1. Show staking rewards list:

~/ghostman/bin/ghostman.sh stakingnode stats

  1. Show coldstaking public key:

~/ghostman/bin/ghostman.sh stakingnode info

  1. Show the last 100 lines of debug.log:

cat ~/.ghost/debug.log | tail -100

Resync the Wallet [FOR Win USERS]

STEP 1:
Close The Wallet

STEP 2:

Go to “C:\Users`Your PC Name`\AppData\roaming\ghost\blocks

STEP 3:

Rename the Folder “blocks” to blocks old .

STEP 4:

Restart the Wallet and the Syncing will start.

Resync the Wallet [FOR MAC USERS]

STEP 1:

Close The Wallet

STEP 2:

On MAC, go to the Ghost blocks directory: ~/Library/Application\ Support/Ghost/blocks/
There is a space in “Application Support” that is why there is the escape backslash.

STEP 3:

So to move your potential bad block list out of the way and trigger a fresh download the next time Ghost is started, use:
mv ~/Library/Application\ Support/Ghost/blocks/ ~/Library/Application\ Support/Ghost/blocks_old

STEP 4:

Restart the Wallet and the Syncing will start.

Then on restart you can click on the “Syncing with the network” message and see a status dialog like this.

Double check the ‘signal strength’ icon to ensure you have 10+ peers etc.

Do not freak out if you have transactions that go red with 0/12 confirmations. Those blocks need to be re-downloaded before the client can update the status of your transactions in your log.

Still can’t find the answer here? Join the Ghost Help chatroom on Telegram here: https://t.me/Ghosthelp