Bitcoin Forum
May 24, 2024, 06:19:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: The balance of wallet doesn't match the sum of balances of addresses  (Read 109 times)
Gorilla22 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 66


View Profile
September 29, 2022, 05:00:45 PM
 #1

Hi guys,

The situation:

B = the balance of wallet. The wallet's sync is at least 1 year more "new" than the last transaction, so it should be a real balance.
L = the sum of balances of labeled addresses, checked on blockchain. Labeled addresses are those I ever received btc to, and those which are visible in the wallet.
C = the sum of balances of change addresses.

Should be L + C = B

But in this case L + C = 0.98 B (98% of the balance of wallet)

2% of balance are somewhere else.

But where? Do you have any ideas?



hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5249



View Profile
September 29, 2022, 05:37:40 PM
 #2

You have probably missed an address when checking their balance on a block explorer and did a mistake in your calculation. That's the only thing comes to my mind.
Without any information about your addresses and your transactions, it's impossible to say what's exactly causing the difference.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Gorilla22 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 66


View Profile
September 29, 2022, 05:43:47 PM
 #3

hosseinimr93,

Is it not possible that missing part of balance is somewhere on "reserve" addresses?
hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5249



View Profile
September 29, 2022, 06:00:41 PM
 #4

Is it not possible that missing part of balance is somewhere on "reserve" addresses?
Reserve addresses are the ones that haven't been used yet and bitcoin core will generate them if you go to "Receive" tab and click on "Create new receiving address" button.
As you said that your wallet is synced up to 1 year after your last transaction, I doubt any of your reserve addresses have been funded.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Gorilla22 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 66


View Profile
September 29, 2022, 06:19:20 PM
 #5

Thank you hosseinimr93.


I re-checked all over again.
The same result.
It's an issue and a challenge.
There should be some explanation and some solution.
And it may be very simple.
hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5249



View Profile
September 29, 2022, 06:28:32 PM
Merited by OmegaStarScream (3), DdmrDdmr (3)
 #6

There should be some explanation and some solution.
Go to console tab and use listunspent command.
With that command, you should see all the available UTXOs and associated addresses.
In this way, you may be able to find out the UTXO(s) that you are missing.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Gorilla22 (OP)
Jr. Member
*
Offline Offline

Activity: 42
Merit: 66


View Profile
September 29, 2022, 07:17:25 PM
Last edit: September 29, 2022, 08:07:47 PM by Gorilla22
 #7

hosseinimr93,

Thank you very much!!!!

I found it this way! Exactly the missing amount. But that address is not in dumpwallet file!

How come?

All txid except of 1 are listed with my addresses, matching together 98% of balance.
And 1 of them, exactly with the missing amount of 2% of balance, is showing an address which is not in dumpwallet, not among my addresses.

What could it mean?

Update: Got private key for this address through dumpprivkey .

The issue is solved.

Many thanks for your help hosseinimr93!

Is there any explanation for this situation?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!