Bitcoin Forum
June 17, 2024, 06:08:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is there a way to find if two addresses come from the same wallet?  (Read 1061 times)
prgiorgio (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 06, 2012, 04:10:39 PM
 #1

Hi again,
another newbie question:

Given two addresses found, ok,
you don't know who owns them,
but is there a way to statistically or by math to deduce that
two addresses come from the same private key or wallet?

Thank you in advance to our experts! :- )
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
August 06, 2012, 04:16:09 PM
 #2

From the addresses themselves... no.

The private keys are simply random numbers.  Every address has a different private key and there is no method of correlated addresses.

You can look at transactions to determine if they are from the same wallet.

If there is a tx which has Address A & B as inputs then you know that A & B exist in the same wallet.  Also if there is a tx which has A & C as inputs and another tx which has B & C as inputs then all 3 are from the same wallet.
prgiorgio (OP)
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 06, 2012, 09:08:20 PM
 #3

Thank you.
This also means that to increase anonimity the original client should include
not only 'send to' and 'amount', but also the 'send from' :- )

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
August 06, 2012, 09:11:12 PM
 #4

Thank you.
This also means that to increase anonimity the original client should include
not only 'send to' and 'amount', but also the 'send from' :- )

The concept is called "coin control" and my understanding is that it is being worked on. 
elena.m
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
August 07, 2012, 12:31:05 PM
 #5

Thank you.
This also means that to increase anonimity the original client should include
not only 'send to' and 'amount', but also the 'send from' :- )

The concept is called "coin control" and my understanding is that it is being worked on. 

bitcoind has this feature in the sendfrom call. If you want to send from a specific address rather than an account, you can combine it with setaccount.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
August 07, 2012, 08:16:56 PM
Last edit: August 08, 2012, 02:15:19 AM by Stephen Gornick
 #6

The concept is called "coin control" and my understanding is that it is being worked on.  

bitcoind has this feature in the sendfrom call. If you want to send from a specific address rather than an account, you can combine it with setaccount.

The coin control capability is not yet in a released version of the Bitcoin.org client.  You'ld need to build it from source.

There are other clients that have this and this is also available from the Blockchain.info/wallet hybrid EWallet.
 - http://www.Blockchain.info/wallet

Unichange.me

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


dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
August 07, 2012, 10:28:05 PM
 #7

bitcoind has this feature in the sendfrom call.

You're mixing up accounts and addresses.

You can use sendfrom to send from a particular account, but that doesn't change which adress(es) the payment comes from.  The concept of 'accounts' is purely accounting within your local client and doesn't affect the generated transactions at all.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
betatest512
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
August 08, 2012, 03:18:27 AM
 #8

no
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
August 08, 2012, 10:18:35 AM
 #9

but is there a way to statistically or by math to deduce that
two addresses come from the same private key or wallet?

blockparser can do that for you.

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
elena.m
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
August 09, 2012, 07:00:34 AM
 #10

bitcoind has this feature in the sendfrom call.

You're mixing up accounts and addresses.

You can use sendfrom to send from a particular account, but that doesn't change which adress(es) the payment comes from.  The concept of 'accounts' is purely accounting within your local client and doesn't affect the generated transactions at all.

If you want to send from a specific address rather than an account, you can combine it with setaccount.

Code:
$ bitcoind setaccount 1BitcoinAddress temporary_account
$ bitcoind sendfrom temporary_account 1DestinationAddress 1
$ bitcoind setaccount 1BitcoinAddress old_account

Cumbersome, I know, but such is life with bitcoind.
dooglus
Legendary
*
Offline Offline

Activity: 2940
Merit: 1330



View Profile
August 09, 2012, 07:19:52 AM
 #11

You're mixing up accounts and addresses.

You can use sendfrom to send from a particular account, but that doesn't change which adress(es) the payment comes from.  The concept of 'accounts' is purely accounting within your local client and doesn't affect the generated transactions at all.

If you want to send from a specific address rather than an account, you can combine it with setaccount.

I really think you're mistaken.  'bitcoind sendfrom' doesn't do what you think it does.  It debits the specified account, but uses whichever unspent outputs in your wallet fit the spent amount best* no matter which address 'owns' them.

* for a particular and somewhat weird definition of 'best'

Just-Dice                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   Play or Invest                 ██             
          ██████████         
      ██████████████████     
  ██████████████████████████ 
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
    ██████████████████████   
        ██████████████       
            ██████           
   1% House Edge
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
August 09, 2012, 07:28:36 AM
 #12

I really think you're mistaken.  'bitcoind sendfrom' doesn't do what you think it does.  It debits the specified account, but uses whichever unspent outputs in your wallet fit the spent amount best* no matter which address 'owns' them.

* for a particular and somewhat weird definition of 'best'

This is very much correct as I also had a lot of misunderstandings about what "accounts" were when I first started playing with bitcoind.

So just remember that when "sending" an account != address and the purpose of setaccount is really only for "receiving" (and probably should not be allowed for external addresses but unfortunately I think that that is how the labels are handled).

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

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
caveden
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004



View Profile
August 09, 2012, 07:51:11 AM
 #13

If there is a tx which has Address A & B as inputs then you know that A & B exist in the same wallet.  Also if there is a tx which has A & C as inputs and another tx which has B & C as inputs then all 3 are from the same wallet.

And if this ever gets implemented, you won't be able to always assume that any more. Wink
elena.m
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile
August 09, 2012, 08:02:12 AM
 #14

You're mixing up accounts and addresses.

You can use sendfrom to send from a particular account, but that doesn't change which adress(es) the payment comes from.  The concept of 'accounts' is purely accounting within your local client and doesn't affect the generated transactions at all.

If you want to send from a specific address rather than an account, you can combine it with setaccount.

I really think you're mistaken.  'bitcoind sendfrom' doesn't do what you think it does.  It debits the specified account, but uses whichever unspent outputs in your wallet fit the spent amount best* no matter which address 'owns' them.

* for a particular and somewhat weird definition of 'best'

This is such incredibly broken and counter-intuitive behaviour that I hadn't even considered that anyone in their right mind would do such a thing, even after you suggested that someone had. But I just looked it up, and you're right: accounts don't work.

I am still utterly flabbergasted that this exists. bitcoind's accounts rank as one of the most epic design failures I have ever seen.

Thanks for making me hate the world. ;p
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
August 09, 2012, 08:41:07 AM
 #15

I am still utterly flabbergasted that this exists. bitcoind's accounts rank as one of the most epic design failures I have ever seen.

Thanks for making me hate the world. ;p

To be fair the problem is not that the accounts don't work but that they serve a completely different purpose to coin control (and yes intuitively most people would tend to think of the things as being the same).

At least in 0.7 there is going to be support for "raw transactions" which will allow you complete control. Smiley

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

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5236
Merit: 13088


View Profile
August 09, 2012, 08:56:18 AM
 #16

I am still utterly flabbergasted that this exists. bitcoind's accounts rank as one of the most epic design failures I have ever seen.

I find accounts pretty intuitive for the most common use cases. If you're running a website selling something, you can just create one bitcoind account per user on your site. Use getaccountaddress to get the address for deposits to that account, sendfrom to make withdrawals from that account, getbalance to get the account's balance, and move to move funds from one person on your site to another person on your site. No need to worry about tracking or updating addresses.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!