Wallet shows 0 balance

Hi everyone,

I moved a Peercoin wallet from one to another PC, using File>Back Up and Restore.

Everything worked fine (I think so) but now the wallet which was restored shows 0.000000 PPC balance. But all the transactions are shown?

Could you please help me to fix this issue?

I´ve already tried “rescanblockchain” under Window>Console.

Thanks and best regards

I don’t understand how your new client shows transactions, but not the balance - unless the wallet is actually empty.

Does your previous PC still have a copy of wallet.dat?
It’s a file that should be located somewhere like:
C:\Users\yourownname\AppData\Roaming\Peercoin

1 Like

No, the wallet is not empty. The wallet on the previous PC shows the correct balance.

I can still access the previous PC, but it is a Linux. The new PC is Windows.
Could this be the problem?

1 Like

No, not likely

Have you checked if your new wallet is fully synced? Is it syncing? That could also be the reason why it is not seeing the coins.

1 Like

Hover your cursor over the tick sign in the bottom right corner of the client, and a box will appear showing the number of blocks processed.
This is what mine shows, as of a minute ago:

The box says: “Up to date. Processed 784330 blocks of transaction history.”

@LordDeSith and does it show any transactions?

1 Like

Yes it shows all the transactions and mints, but the balance in the overview tab shows 0.

1 Like

The wallet was exported from a not synced v0.11.1.0 Raspbian OS version of Peercoin.
And imported into a synced latest Windows version.

Could this be the problem?

The two use incompatible Barkley DB versions. That must be it. 5.3.x vs 4.8.x

Either compile with bdb 5.3.x for windows, which I do not recommend as that will be traumatic or just send coins to a new wallet from the Pi.

P.S.

How come you did not update since v0.11?

2 Likes

So, the plan is to create a new wallet on the new Windows and send the coins from the old Raspbian?

I think it is not possible to send coins from an unsynced client?

Never change a running system :wink: No, it was just running on that Raspi and simply outside my head…

Yep, but before that, you need to upgrade the wallet on raspberry because v0.11 can no longer communicate with the network.

Alternatively, you can export privkeys and load them in the fresh wallet on Windows. This could be managable if you do not have dozens of addresses.

2 Likes

Thank you! Everything seems to be fine now.

I did it with export/import private keys, because it is only one address.

Didn´t know, that there is this hidden option. Maybe this should be somewhere visible in the UI menu?

3 Likes

Now, I have a different problem. The debug.log file is increasing in size until the hard drive is completely full.

Its writing this block again and again:

************************
EXCEPTION: St13runtime_error       
Error: Keypool ran out, please call keypoolrefill first.       
E:\Peercoin\peercoin-qt.exe in ThreadStakeMinter()       

2025-01-02T21:18:30Z CPUMiner started for proof-of-stake
2025-01-02T21:18:30Z

I already tried the command keypoolrefill in the console, but still the same error…

Thanks and best regards

1 Like

Solved.

Wallet must be converted from Berkeley DB version 5 to 4.