Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: unikaq on February 08, 2022, 12:50:42 PM



Title: Bitcoin core V22 Balance error
Post by: unikaq on February 08, 2022, 12:50:42 PM
Hello,

I meet a problem in Bitcoin core V22, it's show me some amount of BTC in balance but this amount was spent in past.
Bitcoin core is synchronized all is ok

I don't understand because my balance should be 0
also in console i put get balance show me the same amount and listadressegrouping show me the adresse with this amount

What the problem? need some help for understanding

thank you by advance


Title: Re: Bitcoin core V22 Balance error
Post by: ABCbits on February 08, 2022, 12:59:08 PM
It's possible Bitcoin Core didn't scan whole blockchain when you load your wallet. You can try solve the problem using command rescanblockchain on Bitcoin Core Console.


Title: Re: Bitcoin core V22 Balance error
Post by: nc50lc on February 08, 2022, 01:12:15 PM
It's also possible that the transaction that spent the funds wasn't mined and dropped from the mempools.
Better do a rescan to be sure.

Take note that you can't use the command above if your blockchain is pruned,
Go to your Bitcoin Core's 'Settings->Options...' and see if "Prune block storage to" checkbox is enabled.


Title: Re: Bitcoin core V22 Balance error
Post by: unikaq on February 08, 2022, 03:05:17 PM
Ha yes thank you a lot.

I didn't thought to do a rescan..

Thank you for your fast answer guys


Title: Re: Bitcoin core V22 Balance error
Post by: BitMaxz on February 08, 2022, 11:59:32 PM
As an additional pruned mode above if it is set to the pruned mode it won't sync a new block from time to time so you need to disable it if you want to download the entire blockchain and get the latest blocks.
And take note if you are going to download the entire blockchain you will need a disk size of around 400Gb

But if you want to stay with pruned just temporarily disable it and run bitcoin core with rescanning until you see your latest balance.


Title: Re: Bitcoin core V22 Balance error
Post by: nc50lc on February 09, 2022, 02:56:13 AM
-snip-
I didn't thought to do a rescan..

Thank you for your fast answer guys
Any follow-ups or you'll just leave it unresolved?

If using a 'blockexplorer' doesn't concern you (privacy concerns), you can lookup that address and see if there's any unspent output(s).
If there's none, then it's indeed Bitcoin Core's issue when it scanned for wallet-related transactions.
e.g: blockstream.info (http://blockstream.info) (check if it has any "CONFIRMED UNSPENT" outputs).


Title: Re: Bitcoin core V22 Balance error
Post by: BlackHatCoiner on February 09, 2022, 12:41:52 PM
I didn't thought to do a rescan.
Did it work? Are you able to see your balance now?

If using a 'blockexplorer' doesn't concern you (privacy concerns)
Adding that if you're concerned about your privacy and just want to search one address (or more) you can open up block explorers through Tor[1][2].

[1] http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/
[2] http://blkchairbknpn73cfjhevhla7rkp4ed5gg2knctvv7it4lioy22defid.onion