Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: rfisher1968 on May 21, 2013, 02:05:19 PM



Title: Bitcoin-qt sending address question using PHP
Post by: rfisher1968 on May 21, 2013, 02:05:19 PM
I have made a satoshidice.com php betting script and have noticed that the sending address is different then the default receiving address? Whats going on?


Title: Re: Bitcoin-qt sending address question using PHP
Post by: grue on May 21, 2013, 02:19:01 PM
your wallet contains many addresses. each transaction must be "sent" from one or more addresses address that have previously received funds. there's nothing to worry about. as long as the entire wallet is under your control, which is the case with bitcoin-qt, you will always get your bets back.


Title: Re: Bitcoin-qt sending address question using PHP
Post by: scintill on May 21, 2013, 11:51:32 PM
grue explained it.  If for some reason you really want to be using a certain address, send your entire balance to that address (minus a fee if you want it to confirm quickly) and that will be your "from" address for future bets.