Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: El Cabron on February 25, 2012, 01:32:10 PM



Title: How can I stop my client from sending BTC from a specific address?
Post by: El Cabron on February 25, 2012, 01:32:10 PM
I use a few BTC addresses for accounting and never send anything to them other than from a specific source.

However I just sent 1 bitcoin to a game where I won and had two btc returned to that address. That addressed happened to be one of the ones I used for automatic accounting and now my numbers are off. I was unaware what address the btc was being sent from when I sent it out.

My btc client is 3.23 if that helps.

If this topic has already been covered please link me to it, I was unable to find anything in search. Thanks.



Title: Re: How can I stop my client from sending BTC from a specific address?
Post by: grue on February 25, 2012, 04:53:00 PM
https://bitcointalk.org/index.php?topic=24784.0


Title: Re: How can I stop my client from sending BTC from a specific address?
Post by: marked on February 25, 2012, 06:33:59 PM
https://bitcointalk.org/index.php?topic=24784.0
EDIT: It sort of does what he wants I think in that you SPECIFICALLY TELL THE CLIENT THE SENDING ADDRESS. You need to have coins in that address beforehand. So in the OP's original state there would have to be a payment into the address (that is to be used as the recipent) and then send the coins to the other site.

The modified bitcoin client from the above thread allow you to send from a specific address or sets of addresses. You need to enable the anonymity tab and select the address. It can also be done at the commandline with
Code:
bitcoin sendtoaddress <bitcoinaddress>[:<sendfromaddress1>[,<sendfromaddress2>[,...]]] <amount> [comment] [comment-to]
I think sendfromaddress1 will be the primary response address, but don't know for sure as I haven't tested it.

I've used this client within the last couple of days to send and receive, so I don't think that it has any problems with the feb20 changes. I believe there will not be an 0.5.2 build or an 0.6 rc1 build - the next will be shortly after mainstream 0.6 is released officially.

http://coderrr.wordpress.com/2011/06/30/patching-the-bitcoin-client-to-make-it-more-anonymous/

I did a quick tutorial with with images in the above thread:
https://bitcointalk.org/index.php?topic=24784.msg742919#msg742919

For windows:
http://mtgoxlive.com/downloads/bitcoin-v0.5.1+coderrr-win32.zip

For linux:
https://github.com/coderrr/bitcoin/tree/v0.5.1%2Bcoderrr
http://mtgoxlive.com/downloads/bitcoin-v0.5.1+coderrr-linux64.tar.bz2


I believe there are other clients that can do this but don't know which offhand.

marked


Title: Re: How can I stop my client from sending BTC from a specific address?
Post by: Stephen Gornick on February 25, 2012, 06:56:13 PM
I believe there are other clients that can do this but don't know which offhand.

I think Armory lets you choose which coins to use for inputs.  "My Wallet" from http://BlockChain.info/wallet lets you do this as well.

Trying to quarantine some bitcoins from others in your wallet is probably best handled (for now) by having separate wallets.   For instance, you can specify a -datadir= to keep two separate wallets on one computer.


Title: Re: How can I stop my client from sending BTC from a specific address?
Post by: marked on February 25, 2012, 08:14:17 PM
I think Armory lets you choose which coins to use for inputs.
I don't have the RAM on any of my computers to test the client. I'm watching with interest to try it on one of my 1GB ram machines.

Quote
 "My Wallet" from http://BlockChain.info/wallet lets you do this as well.
I'll try this at some point when blockchain.info is stable again.

marked