Bitcoin Forum
October 18, 2017, 10:42:17 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Why did the Bitcoin-QT wallet split a transaction sending bitcoin to myself?  (Read 657 times)
Berghoff
Newbie
*
Offline Offline

Activity: 28


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?
1508366537
Hero Member
*
Offline Offline

Posts: 1508366537

View Profile Personal Message (Offline)

Ignore
1508366537
Reply with quote  #2

1508366537
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508366537
Hero Member
*
Offline Offline

Posts: 1508366537

View Profile Personal Message (Offline)

Ignore
1508366537
Reply with quote  #2

1508366537
Report to moderator
1508366537
Hero Member
*
Offline Offline

Posts: 1508366537

View Profile Personal Message (Offline)

Ignore
1508366537
Reply with quote  #2

1508366537
Report to moderator
1508366537
Hero Member
*
Offline Offline

Posts: 1508366537

View Profile Personal Message (Offline)

Ignore
1508366537
Reply with quote  #2

1508366537
Report to moderator
cp1
Hero Member
*****
Offline Offline

Activity: 616


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: 1190


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: 140


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


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



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
Newbie
*
Offline Offline

Activity: 28


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:  

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!