Bitcoin Forum
November 24, 2017, 12:27:59 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Unconfirmed outbound transaction with change messing wallet balance  (Read 202 times)
pguerra
Newbie
*
Offline Offline

Activity: 10


View Profile
May 18, 2017, 07:19:20 PM
 #1

I noticed a strange behavior with my wallet. I sent a few coins and that generated a change (let's call this change amount X). This transaction is still unconfirmed. Immediately after starting the wallet, the balance shows Y (which includes this unconfirmed change amount X), and after a few minutes the balance shows Z (which equals Y-X, i.e. it does not include the unconfirmed change amount X). If I restart the wallet I get the same behavior (balance is Y then it goes down to Z).

I find it really weird that the balance suddenly goes down! Is this a bug? If not then can you explain why this could be happening?

I'm using Bitcoin Core 0.14.1 and to get the balance I'm using the command "bitcoin-cli getbalance".

Thanks in advance.
1511483279
Hero Member
*
Offline Offline

Posts: 1511483279

View Profile Personal Message (Offline)

Ignore
1511483279
Reply with quote  #2

1511483279
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511483279
Hero Member
*
Offline Offline

Posts: 1511483279

View Profile Personal Message (Offline)

Ignore
1511483279
Reply with quote  #2

1511483279
Report to moderator
andreibi
Hero Member
*****
Offline Offline

Activity: 941



View Profile
May 18, 2017, 07:21:13 PM
 #2

Would be best if you shared the transaction to analyze

.
.
.
.

      ▄█     ▄█▄     ▄█▄      ██     █▄
   ▄ ███ ▄ ▐███▌ ▄▄ ▐███▌ ▄▄ ▐███▀ ▄ ▀██▄ ▄
 ▄█▄▐█▀▄██▌ ██▀ ▄██▌ ▀█▀ ▄██▌ ▀██ ▄██▄▀█▌ █▄
▐██ ██ ███▀▄██ ▀████ ██▌ ▀███▀ ██▄ ███ ██ ▀█▌
 ▌ ███▌ █ ▄████  █▄ █████ ▄█▄ ████▌ ▄▄▐███ ▐
▄█ ▀██ ▐█▄ ████ ▐██ ▀███▀ ███ ▀███▌ ██ ███ ▐▌
██▌ █▄▐███▄ █▌ ▐████ ▄▄▄ █████ ▐█  ███▌ █ ▄██
▀█▌ ██ ▀██ ▐██▄ ▀██▀ ███▄▀███▀▄██▌ ▀█▀ ██▄▐█▀
  ▄ ███ ▐▌ ▀███▄ ██ ▀████ ▐█  ████ ▄█ ███▌▄▀
  ██▀▀ ███ ▀▀▀ ▄███ ▀▀▀ ▄██▌ ▀▀▀ ▐██ ▀▀ ██
   ▀▀    ▀▀▀     ▀█▀     ▀█▀▀    ▀█▀    ▀▀
.
.
.
.
.

███████████████████████████████████████████████
.
S I R I N  L Λ B S
.
████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████






.

████






.

████



       ▄▄█████████▄▄       
    ▄█████████████████▄   
  ▄██████▀▀▀▀▀▀▀████████▄ 
 ▐██████         ████████▌
 ███████   ▄▄▄▄▄   ███████
▐███████   ▄▄▄▄▄   ███████▌
▐███████   ▄▄▄▄▄   ███████▌
 ███████           ███████
 ▐███████▄▄▄▄▄▄▄▄▄███████▌
  ▀█████████████████████▀ 
    ▀█████████████████▀   
       ▀▀█████████▀▀       





█████████████████████████████






.

████



       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▐██████████▀   ▐████████▌
 ███████████  ▐███████████
▐█████████      ▐█████████▌
▐███████████  ▐███████████▌
 ███████████  ▐███████████
 ▐██████████  ▐██████████▌
  ▀█████████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀





█████████████████████████████






.

████



       ▄▄█████████▄▄       
    ▄█████████████████▄   
  ▄█████████████████████▄ 
 ▐█████▀█████▀ . ▀▀▐█████▌
 █████▌  ▀▀██      ███████
▐█████▌           ▐███████▌
▐██████▄         ▄████████▌
 ████████▀      ▄█████████
 ▐█████▄▄    ▄▄██████████▌
  ▀█████████████████████▀ 
    ▀█████████████████▀   
       ▀▀█████████▀▀       





█████████████████████████████






.

████



       ▄▄█████████▄▄       
    ▄█████████████████▄   
  ▄█████████████████████▄ 
 ▐█████████████▀▀▀  █████▌
 █████████▀▀▀  ▄▀  ▐██████
▐████▀▀      ▄▀    ███████▌
▐██████▄▄  ▄▀     ▐███████▌
 ████████▌  ▄▄    ████████
 ▐████████▄████▄▄▐███████▌
  ▀█████████████████████▀ 
    ▀█████████████████▀   
       ▀▀█████████▀▀       





█████████████████████████████






.

████
[/t
HCP
Sr. Member
****
Offline Offline

Activity: 434

<insert witty quote here>


View Profile
May 19, 2017, 08:45:29 AM
 #3

Most likely it shows Y as that is what your wallet contains as unspent UTXOs... then, it gets around to scanning the mempools and finding the new unconfirmed transaction and goes "Oh... we sent out transaction ABC, with change X.. better alter the balance to reflect that"... and you end up seeing Balance Z.

If you go to the "Transactions" tab immediately after starting the wallet and seeing Balance Y... is the unconfirmed transaction already showing? or does it "appear" and then you see Balance Z?


Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!