<p>I'm having this bizarre problem. I've got this address A where I received two deposits, both are confirmed. I consolidated all my balance in a single address B (i.e. I sent my full balance to B). Since I moved my full balance I would expect all my addresses to be zero (except for B), but I noticed that address A has now non-zero balance: only one of the two deposits was used (let's call this output X). My guess is that the balance I'm getting with <strong>getinfo</strong> and <strong>getbalance</strong> is not actually my full balance and it's missing output X. Do you have any idea what may be happening? Things I've tried:</p>

<ol>
<li>X appears unspent in block explorer</li>
<li>I ran <strong>gettxout</strong> with X and it correctly returns information (meaning X is actually not spent)</li>
<li>I ran <strong>listunspent</strong> and I'm not getting X (meaning it's spent?)</li>
</ol>

<p>Thanks in advice!</p>

CC BY-SA 3.0
2017-09-06T00:14:28.913Z
What does the transaction you moved it with look like?
weston
CC BY-SA 3.0
2017-09-06T04:19:16.570Z
I'm not sure what you mean. It's a standard transaction.
Paul
CC BY-SA 3.0
2017-09-06T10:51:46.513Z
The blockchain is transactions, that's it. If there is a problem it will be in the transaction. If you locate your transaction on the block chain you can see if X was involved at all. Also, did you try `listunspent X include_unsafe`, to see if locally you have X in an unconfirmed transaction maybe?
weston
CC BY-SA 3.0
2017-09-06T13:11:35.740Z
X was not part of the consolidation.  This led me to think that X was not being counted as part of my balance. I confirmed this by creating a raw transaction that transfers X to consolidation address B, and then my balance magically increased by the amount in X.
Paul
CC BY-SA 3.0
2017-09-06T13:21:32.550Z
Your balance where? This is very confusing, it's not at all clear what you had before or what you have now or what you did or indeed what your problem is.
weston
CC BY-SA 3.0
2017-09-06T13:24:24.787Z
"I confirmed this by creating a raw transaction that transfers X" probably why it doesn't show up as unspent then.
weston
CC BY-SA 3.0
2017-09-06T14:45:07.210Z
Sorry for not being clear. I'm trying things on the fly. Basically the problem was that I had some deposits (tx outputs) that apparently were not being counted as part of my wallet balance. When I consolidated all my balance, those deposits (tx outputs) were not included in the consolidating tx (even when they were fully confirmed and other outputs in the same address were used in the consolidating tx). My previous comment stated that I tried manually sending (spending) those outputs into my consolidated address, and it worked, and my balance increased, which is very weird.
Paul
CC BY-SA 3.0
2017-09-06T15:10:56.637Z
"(even when they were fully confirmed and other outputs in the same address were used in the consolidating tx)" You left them out of the transaction, simple as that. How? I don't know. Would need to see the commands you ran, or more detail about how you went about consoldation.
weston
CC BY-SA 3.0
2017-09-06T18:21:38.130Z
My wallet was fully sync'ed, I took note of the wallet balance (by means of getbalance) and I sent that amount to a new address (minus fees). That's the way I generated the consolidating tx. For some reason some outputs were not included in that tx and they were not even considered as part of the balance. It's worth mentioning that after consolidation the wallet balance remained the same (minus the consolidating tx fee).
Paul
CC BY-SA 3.0
2017-09-06T19:00:16.193Z
So the first problem was your getbalance was less than expected (they were not even considered as part of the balance) but you carried on and sent anyway?
weston
CC BY-SA 3.0
2017-09-06T19:21:58.947Z
Actually I didn't know the wallet balance was incorrect. I only realized that later when I noticed there were unspent outputs. I usually trust getbalance when the wallet is fully sync'ed and all deposits are confirmed.
Paul
<transactions><bitcoin-core><bitcoind>
Missing deposit?
Paul
# Missing deposit?

(Asked by: username_0 on 2017-09-05)

I'm having this bizarre problem. I've got this address A where I received two deposits, both are confirmed. I consolidated all my balance in a single address B (i.e. I sent my full balance to B). Since I moved my full balance I would expect all my addresses to be zero (except for B), but I noticed that address A has now non-zero balance: only one of the two deposits was used (let's call this output X). My guess is that the balance I'm getting with **getinfo** and **getbalance** is not actually my full balance and it's missing output X. Do you have any idea what may be happening? Things I've tried:

1. X appears unspent in block explorer
2. I ran **gettxout** with X and it correctly returns information (meaning X is actually not spent)
3. I ran **listunspent** and I'm not getting X (meaning it's spent?)

Thanks in advice!

**Tags:** transactions, bitcoin-core, bitcoind

> **Comments:**
> **username_1**: What does the transaction you moved it with look like?  
> **username_0**: I'm not sure what you mean. It's a standard transaction.  
> **username_1**: The blockchain is transactions, that's it. If there is a problem it will be in the transaction. If you locate your transaction on the block chain you can see if X was involved at all. Also, did you try `listunspent X include_unsafe`, to see if locally you have X in an unconfirmed transaction maybe?  
> **username_0**: X was not part of the consolidation.  This led me to think that X was not being counted as part of my balance. I confirmed this by creating a raw transaction that transfers X to consolidation address B, and then my balance magically increased by the amount in X.  
> **username_1**: Your balance where? This is very confusing, it's not at all clear what you had before or what you have now or what you did or indeed what your problem is.  
> **username_1**: "I confirmed this by creating a raw transaction that transfers X" probably why it doesn't show up as unspent then.  
> **username_0**: Sorry for not being clear. I'm trying things on the fly. Basically the problem was that I had some deposits (tx outputs) that apparently were not being counted as part of my wallet balance. When I consolidated all my balance, those deposits (tx outputs) were not included in the consolidating tx (even when they were fully confirmed and other outputs in the same address were used in the consolidating tx). My previous comment stated that I tried manually sending (spending) those outputs into my consolidated address, and it worked, and my balance increased, which is very weird.  
> **username_1**: "(even when they were fully confirmed and other outputs in the same address were used in the consolidating tx)" You left them out of the transaction, simple as that. How? I don't know. Would need to see the commands you ran, or more detail about how you went about consoldation.  
> **username_0**: My wallet was fully sync'ed, I took note of the wallet balance (by means of getbalance) and I sent that amount to a new address (minus fees). That's the way I generated the consolidating tx. For some reason some outputs were not included in that tx and they were not even considered as part of the balance. It's worth mentioning that after consolidation the wallet balance remained the same (minus the consolidating tx fee).  
> **username_1**: So the first problem was your getbalance was less than expected (they were not even considered as part of the balance) but you carried on and sent anyway?  
> **username_0**: Actually I didn't know the wallet balance was incorrect. I only realized that later when I noticed there were unspent outputs. I usually trust getbalance when the wallet is fully sync'ed and all deposits are confirmed.  

---

## 0 answers

