Bitcoin Forum
June 01, 2024, 07:45:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why did the Bitcoin-QT wallet split a transaction sending bitcoin to myself?  (Read 762 times)
Berghoff (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 29, 2014, 02:55:39 AM
 #1

Back in Dec I sent a small amount (.02 BTC) to two different addresses, a few bucks to a friend and a few to my android wallet.  These were sent from my Bitcoin-QT wallets.

I was looking at these today, picking apart the wallet.dat file and noticed that when those transactions occurred, the blockchain had recorded transactions like the following:

MyAddress  -> FriendsAddress (.02 BTC)
                -> AnReservedAddressInMyBTCWallet (.8283 BTC)

and

MyAddress  -> MyAndroidWallet (.02 BTC)
                -> AnotherReservedAddressInMyBTCWallet (2.43 BTC)


What is up with this?
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
May 29, 2014, 02:57:57 AM
 #2

You need to send all the bitcoins you received in a particular transaction at once.  So at some point you got 0.8483 BTC all at once, and to spend 0.02 you have to spend it all.  So it sent 0.02 to your friend and 0.8283 back to yourself.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 29, 2014, 05:07:32 AM
 #3

It's working exactly as it should.  X number of transactions contribute to the total Y you send.  If X is larger than the amount you want to send, you will get X-Y back.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
tsm
Full Member
***
Offline Offline

Activity: 137
Merit: 100


View Profile
May 29, 2014, 05:19:13 AM
 #4

Oh really? Besides this paying back to yourself thing. On bitcoin qt, does anyone know any other reliable wallets?

I`m waiting on a bitcoin and its been over 1hr... is it cause I`m using a bad wallet?
dariuss
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile
May 29, 2014, 06:02:04 AM
 #5

Oh really? Besides this paying back to yourself thing. On bitcoin qt, does anyone know any other reliable wallets?

I`m waiting on a bitcoin and its been over 1hr... is it cause I`m using a bad wallet?

Has the bitcoin show a confirmation? Mine took long as well, but it needs 1 confirmation.. at least..to show updated balance..
C.Steven
Hero Member
*****
Offline Offline

Activity: 633
Merit: 500



View Profile
May 29, 2014, 09:55:40 AM
 #6

Back in Dec I sent a small amount (.02 BTC) to two different addresses, a few bucks to a friend and a few to my android wallet.  These were sent from my Bitcoin-QT wallets.

I was looking at these today, picking apart the wallet.dat file and noticed that when those transactions occurred, the blockchain had recorded transactions like the following:

MyAddress  -> FriendsAddress (.02 BTC)
                -> AnReservedAddressInMyBTCWallet (.8283 BTC)

and

MyAddress  -> MyAndroidWallet (.02 BTC)
                -> AnotherReservedAddressInMyBTCWallet (2.43 BTC)


What is up with this?


It is the change. https://en.bitcoin.it/wiki/Change

I`m waiting on a bitcoin and its been over 1hr... is it cause I`m using a bad wallet?

It could be due to poor tx propagation, tx fee to low , presence of dust outputs, non-standard tx, etc.
We can take a look at it if you give us the tx id.

Berghoff (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 09, 2014, 05:12:46 AM
 #7

You need to send all the bitcoins you received in a particular transaction at once.  So at some point you got 0.8483 BTC all at once, and to spend 0.02 you have to spend it all.  So it sent 0.02 to your friend and 0.8283 back to yourself.

Thanks.  This makes sense. 
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!