Send addresses in Bitcoin Wallet for Android

1

1

I have three addresses on my Bitcoin Wallet for Android, but when sending coins, I can’t find where to select which address I want to send from. I set the second of the three addresses I’ve got as the main address, but when I sent some coins they have been sent from the first of the three.

Alessandro Di Lello

Posted 2014-03-10T22:41:44.577

Reputation: 111

1Can you be more specific about what android wallet you are using?hafnero 2014-03-11T09:01:21.437

Answers

2

There is no option in Bitcoin to control which address transactions are sent "from". The Bitcoin client will use one (or more) of your addresses which have previously been sent sufficient funds to cover your new transaction.

To make this clearer, consider an example. Somebody (person A) sends you (person Y) some coins.

A -> Y1 [2 coins]

Now somebody else sends you more coins:

B -> Y2 [3 coins]

Suppose you want to pay person B 4 coins. What happens is your Bitcoin client will create a transaction with the following three parts:

Y1 -> B [2 coins]
Y2 -> B [2 coins]
Y2 -> Y3 [1 coin]

Since you must always spend the entire amount allocated to an address, your client arranges the transactions so the 3 coins of Y2 are fully spent. Y3 is a new address created by your client for the change, which comes back to you and remains in your wallet.

If you then spend your remaining 1 coin to person C, your client will create

Y3 -> C [1 coin]

The address Y3 was created internally by your client and you don't have an option to choose what it is.

For more information, see:

Greg Hewgill

Posted 2014-03-10T22:41:44.577

Reputation: 3 321

clear enough , but i think that behaviour you described about creating a new address for the change it"s wallet specific as I ve got the change back to the same address I ve sent from on my wallet.Alessandro Di Lello 2014-03-11T00:20:38.777

Most wallet software creates a new address for the change. However, I think some wallet software sends the change back to an existing address.Greg Hewgill 2014-03-11T00:22:07.390

@Greg: Indeed, the Android Bitcoin Wallet sends change back to the sending address.Nate Eldredge 2014-03-11T14:48:06.070

Since a few years, the app sends change to freshly derived change addresses. This is done to never reuse addresses.Andreas Schildbach 2017-01-03T21:22:35.037