Bitcoin Forum
December 03, 2016, 02:02:30 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: sendfrom (account) what address will be used?  (Read 867 times)
TAiS46
Full Member
***
Offline Offline

Activity: 223



View Profile WWW
May 09, 2012, 03:10:25 PM
 #1

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

Posts: 1480773750

View Profile Personal Message (Offline)

Ignore
1480773750
Reply with quote  #2

1480773750
Report to moderator
1480773750
Hero Member
*
Offline Offline

Posts: 1480773750

View Profile Personal Message (Offline)

Ignore
1480773750
Reply with quote  #2

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

Posts: 1480773750

View Profile Personal Message (Offline)

Ignore
1480773750
Reply with quote  #2

1480773750
Report to moderator
1480773750
Hero Member
*
Offline Offline

Posts: 1480773750

View Profile Personal Message (Offline)

Ignore
1480773750
Reply with quote  #2

1480773750
Report to moderator
CIYAM
Legendary
*
Online Online

Activity: 1820


Ian Knowles - CIYAM Lead Developer


View Profile WWW
May 09, 2012, 03:31:41 PM
 #2

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.

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

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
TAiS46
Full Member
***
Offline Offline

Activity: 223



View Profile WWW
May 09, 2012, 03:44:16 PM
 #3

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
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1036


View Profile WWW
May 09, 2012, 04:04:09 PM
 #4

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.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
TAiS46
Full Member
***
Offline Offline

Activity: 223



View Profile WWW
May 09, 2012, 04:06:29 PM
 #5

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!
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
May 09, 2012, 07:22:26 PM
 #6

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

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!