Bitcoin Forum
September 03, 2024, 05:15:54 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do you specify the From address when you send a payment  (Read 401 times)
grchris (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
August 08, 2013, 02:29:57 AM
 #1

Hi there,

I have never used bitcoin before and I am wondering how you can specify the From address when you sent a payment.
In the Sent Tab of bitcoin there is the Pay To box that you enter the address you want to sent payment to, a Label and an Amount box.
There is no place to enter the From address.  So if you have two incoming addresses in your wallet how would you know which one was used to sent the payment from?

Thanks and sorry if this is a stupid question.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1086


Ian Knowles - CIYAM Lead Developer


View Profile WWW
August 08, 2013, 02:32:23 AM
Last edit: August 08, 2013, 03:17:00 AM by CIYAM Open
 #2

In the standard client there is no way to do this (although you can use the Coin Control patch to do so*).

The software automatically chooses UTXOs and creates a "change address" for you if they do not equal the exact amount you are sending.

So let's say you have 3 UTXO's as follows:

1Addr1 0.2
1Addr2 0.2
1Addr1 0.2

and you want to send 0.3 to 1DestAddr then it will use two of the three UTXO's (which could be both 1Addr1 ones or one 1Addr1 and 1Addr2 one) then create a new address (1Addr3 let's say) to send the 0.1 change back to yourself.

*Note that if it choose to pick 1Addr1 and 1Addr2 UTXO's then there are *two* so called "from" addresses (i.e. the balance of an address is actually just the total of all UTXOs for it).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
grchris (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
August 08, 2013, 02:50:44 AM
 #3

Thank you so much for the quick reply!

So if I have two incoming addresses and only one of them has any coins is it safe to assume that bitcoin will use the one with coins by default?

The reason I am asking is because I would like to send coins to buy the USB miner in this thread

https://bitcointalk.org/index.php?topic=264633.0

but once I sent the coins I am supposed to post a msg in the thread like

grchris; 1; 0.55; XXXXXXXXXXXXXXXXXXXXXXXXXXX

where XXXXXXXXXXXXXXXXXXXXXXXXXXX is my from address (not the pay to) that I used to sent the coins.


Finally I am supposed to send a signed msg using the From XXXXXXXXXXXXXXXXXXXXXXXXXXX address to send him my postal address.

I am a little nervous as to if I will be able to prove that I was the one that really sent the coins if I can not identify which From address was used for the payment.
So in a sense I do not really need to know and select the From address in advance but I do need to be able to identify which address was used after I sent the payment so I can communicate it to the seller. 

Do I make any sense? Am I using the wrong client?

Thanks a million again for your help.  I wish I could post this question to the above thread but I am a newbie and I can not post in that section.

astutiumRob
Full Member
***
Offline Offline

Activity: 201
Merit: 100



View Profile WWW
August 08, 2013, 02:53:06 AM
 #4

look at the transaction on the blockchain to see which address(es) it sent the money from Smiley

www.astutium.com - domains | hosting | vps | servers | cloud - proud to accept bitcoins. UK colocation for BFL and KNC ASICs in Tier3+ DC
Register Domains with BTC
Want to make some bitcoins ? Miner on ebay | Buy GH/s
grchris (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
August 08, 2013, 03:00:02 AM
 #5

Thank you.  I think I got it.
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!