Author

Topic: sendfrom (account) what address will be used? (Read 1042 times)

legendary
Activity: 2506
Merit: 1010
They say, if I will win, they will pay me my win to my btc address I pay from.

SatoshiDICE uses customized Bitcoin client software to do their payouts.

My Wallet, a hybrid Ewallet accessible from Blockchain.info lets you do coin selection:
 - http://Blockchain.info/wallet
full member
Activity: 222
Merit: 100
There are a lot btc games in the internet.
They say, if I will win, they will pay me my win to my btc address I pay from.

I was wondering about that and make a test.

I have a little bitcoin market and have think about it, what is, if a user
will withdraw btc to some game site and will win.
Will his "account" get the win or the ""

Sorry for bad english!
legendary
Activity: 1072
Merit: 1174
May I ask what you need this for (don't get me wrong, there are various good reasons for it, I'd just like to know the use case).

Accounts are only intended as a virtual balance, the ability to keep a separate balance for different users. It has nothing to do with actually separating the wallet coins.
full member
Activity: 222
Merit: 100
Hi Ian,

thank you for your answer.
There are many changes to do, that die bitcoind will send with "from" address using
the changed from coderrr.

I will wait and hope, that the next release will include an "from" address Smiley
legendary
Activity: 1890
Merit: 1078
Ian Knowles - CIYAM Lead Developer
Hi Simon,

You may be having some of the same problems that I have had understanding what the Bitcoin client's "accounts" are.

You might have thought that if you assigned an "account" to an address that the "sendfrom" (when using the same account name) would use that address but that is not actually how it works at all.

It will actually pick an address from your receive address pool (more likely than not to *not* actually be the one that you had "set" an account to) and then it will "label" the tx as belonging to the account (so the listtransactions will show it when you specify the account name).

A patch by the member "coderrr", however, will allow you to specify which "from" addresses to actually use for sending which may accomplish what you are perhaps wanting (hopefully it will be appearing in a release later this year).

Also understand that the "accounts" are only known to your own wallet and so have nothing to do with another user's wallet.

Hope that helps!


Cheers,

Ian.
full member
Activity: 222
Merit: 100
Hey,

if I have an account named "test" and send to someone btc:
sendfrom test address 2

What from address will be used?
What is, if the receiver send btc back to the from address?
Will the account get the btc or the "" account?

Thank you
Simon
Jump to: