Bitcoin Forum
May 24, 2024, 03:27:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: sendfrom (account) what address will be used?  (Read 1042 times)
TAiS46 (OP)
Full Member
***
Offline Offline

Activity: 222
Merit: 100



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
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


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 (OP)
Full Member
***
Offline Offline

Activity: 222
Merit: 100



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: 1072
Merit: 1174


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.

I do Bitcoin stuff.
TAiS46 (OP)
Full Member
***
Offline Offline

Activity: 222
Merit: 100



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: 2506
Merit: 1010


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

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


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!