Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet reset #411

Merged
merged 3 commits into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions wiki/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,13 +473,25 @@ But that is a little longer
**Do not delete the data folder.** This contains important data like your keys which let you access your coins.

---
# Backup
# Backup & Migration

---
### What can I do if I didn't save a prior version of wallet.dat?

The wallet has an automated backup in place that will make backups every 24 hours into the walletbackups folder inside of your data folder.

---
### How can I move my Gridcoin wallet to another machine?

Note: These steps should work for any OS and for cross-OS migration. You should never run the same wallet on two machines at the same time because it looks to the network like an attack and your node may be banned. Additionally, you may lose coins and addresses as the wallets diverge over time. Don't do it. These steps reference the "data directory", see the top of this FAQ for where to find it depending on what operating system (Windows, MacOS, etc) your computer has.

1. If you crunch BOINC to earn GRC, install BOINC on your new machine and attach to all your projects first. You must attach to all the same projects as before, you can set a project as "no new tasks" if you don't want to crunch it.
2. Fully shut down the Gridcoin wallet on source machine, make sure it is not running in the system tray.
3. Install the Gridcoin wallet on the new machine, fully shut it down after installation. You do not need to fully sync this wallet yet.
4. Rename the wallet directory on the new machine to GridcoinResearch_old and copy the contents of your wallet directory from the original machine to the new machine in the same place
jamescowens marked this conversation as resolved.
Show resolved Hide resolved
5. Start the wallet on the new machine.
6. Setup backups on your new machine so you do not lose your coins when your system drive fails

---
### Which is the best practice to save my new wallet?

Expand Down Expand Up @@ -616,6 +628,18 @@ Read the how to help section on the [testnet wiki page](testnet "wikilink")
Try running the client with `-rescan` or run the console command
`repairwallet`.

---
### I get the "error loading blkindex.dat" message

This is because the blkindex.dat file has become corrupt.

1. Close the Gridcoin wallet, make sure it is not minimized in the system tray.
2. Make a backup of your wallet data folder
3. Delete blk*.dat, the txleveldb subdirectory, and the accrual subdirectory in the wallet data folder
4. Restart the Gridcoin wallet. It will take some time to re-sync.

Note that errors like this often occur due to unexpected shutdowns and hardware issues. It is advised to make sure your hardware is stable and that you keep regular backups.

---
### Error when sending a transaction

Expand Down Expand Up @@ -647,4 +671,4 @@ have a lot of small transactions.
4. Run the wallet.
5. It will show the dialog box to choose the data directory.
6. Choose the new location.
7. Right-click the Gridcoin Shortcut, select properties, and remove `-choosedatadir`
7. Right-click the Gridcoin Shortcut, select properties, and remove `-choosedatadir`