Bitcoin Forum
May 14, 2024, 01:30:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Missing outputs. Core shows different balance than block explorer and Electrum  (Read 463 times)
Tryptohash (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
September 25, 2017, 11:05:45 AM
 #1

Hello everyone.

A friend of mine has very irritating problem which I am going to outline below.

He has been using Bitcoin Core and kept his BTC on Core during 1st August hard fork. After the hard fork on 2nd of August it stopped syncing and this state continues up to this day. Since I've never encountered such a problem I decided the best way was to extract private keys and create wallet in Electrum. We also managed to recover his BCH also in Electron Cash. After inserting all keys into Electrum we realised that something is not quite right.

It turned out that balances that Core and Electrum displayed are not matching.
Core:       2.395BTC
Ethereum: 0.991BTC
What is even more worrying is that block explorer shows around 0.991BTC which is the amount Electrum presents. My friend says that the after this split he didn't transfer any funds and Core presented the same balance before the fork and after it stopped syncing.

I was digging into the subject, because it's almost uncanny that there was such a whopping difference and I found a transaction that concerned me.
https://blockchain.info/pl/tx/cb39028a8880a0b38b72edf39ed3c9637adef891fc403b4ab75929f8c924b374
From where we checked he actually send 1.92BTC, but he doesn't recall the second output (1.08961509 BTC). Core also doesn't show that output and because of that the balance was wrong for almost 10 days! It looks like somebody stole his funds.

1. What could cause Core to display wrong balance even?
2. What output is that 1.08961509 BTC? It is surely no transaction fees

Please help.
Best regards,
Tryptohash
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715693416
Hero Member
*
Offline Offline

Posts: 1715693416

View Profile Personal Message (Offline)

Ignore
1715693416
Reply with quote  #2

1715693416
Report to moderator
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1301


View Profile
September 25, 2017, 11:08:40 AM
Last edit: September 26, 2017, 03:44:26 PM by cr1776
 #2

Perhaps it is a change address and you didn’t get ALL the keys from his Bitcoin Core wallet?

There are instructions all over to export all keys (including change addresses) such as:
https://bitcoin.stackexchange.com/questions/4632/how-can-i-export-all-my-private-keys-using-bitcoind
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
September 25, 2017, 09:21:35 PM
 #3

Hello everyone.

Hello.

After the hard fork on 2nd of August it stopped syncing and this state continues up to this day.

Weird bug, have you tried restarting Bitcoin Core? Maybe delete the peers.dat file in the data directory. Always try restarting the computer when you have any bug.

I was digging into the subject, because it's almost uncanny that there was such a whopping difference and I found a transaction that concerned me.
https://blockchain.info/pl/tx/cb39028a8880a0b38b72edf39ed3c9637adef891fc403b4ab75929f8c924b374
From where we checked he actually send 1.92BTC, but he doesn't recall the second output (1.08961509 BTC). Core also doesn't show that output and because of that the balance was wrong for almost 10 days! It looks like somebody stole his funds.

That seems like good news to me. If someone stole the funds, he would have created a new transaction probably, instead of waiting for your friend to send one and then piggyback on it. This is also a default behavior of Bitcoin Core to create the change address and send the remaining funds to it, as you can't just not send bitcoins from the specified inputs in the transaction, otherwise they will be counted as the mining fee, don't want to bother you with to much detail tho. The point is that you should go to Bitcoin Core and then click on Help->Debug window->Console and type:

Code:
dumpprivkey "18bVb8yd8iFBe977eK2Q3Qdaz9jc6pBFRC"

That will give you the private key of that address and you will have your coins.

Please help.
Best regards,
Tryptohash

I hope I did, enjoy your coins, feel free to send me some at the address on my profile Wink
Best regards,
Aleksej
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
September 26, 2017, 10:52:49 AM
 #4

It's a change address... and it sounds like your friend has only exported the keys for the "Receiving Addresses" listed in his wallet.

You can locate ALL the addresses that contain coins (including change addresses) in Bitcoin Core by using the "listunspent" command in "Help -> debug window -> console"... once you have all the necessary addresses, use the "dumpprivkey" command in the console to get the private keys and then import them all into Electrum.

Your friend should then see the correct balance.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Tryptohash (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
September 26, 2017, 08:35:04 PM
 #5

Enormous thanks to all of you. Just when I read the words "change address" I realized what was missing from my story. Smiley
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!