Bitcoin Forum
April 24, 2024, 07:41:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Sending to unused/unkown addresses  (Read 1779 times)
bitlotto (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
May 10, 2011, 01:41:24 AM
 #1

I'm just trying to figure out something...

I'm wondering what would happen:
-I create a new address without being online
-the address doesn't exist on the network yet

Could someone sent to it?
And if they can sent to it, could another person who knew what that address was, alter their client to manually create that address, connect to the internet, and claim it as theirs?

IF that is all possible would connecting to the network but not send/receive prevent this? Or is the address really up for grabs until the first coin is sent?

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
1713987676
Hero Member
*
Offline Offline

Posts: 1713987676

View Profile Personal Message (Offline)

Ignore
1713987676
Reply with quote  #2

1713987676
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BitLex
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
May 10, 2011, 01:55:29 AM
 #2

Quote
Could someone sent to it?
yes
Quote
could another person who knew what that address was, alter their client to manually create that address, connect to the internet, and claim it as theirs?
no, they can not magically create a matching private key for the not-yet-known-to-the-network public key,
if they could do that, they could claim ANY addresses coins, by just generating matching private keys.

at least that's my understanding of how it works, please correct me if i'm wrong

bitlotto (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
May 10, 2011, 02:01:57 AM
 #3

Quote
Could someone sent to it?
yes
Quote
could another person who knew what that address was, alter their client to manually create that address, connect to the internet, and claim it as theirs?
no, they can not magically create a matching private key for the not-yet-known-to-the-network public key,
if they could do that, they could claim ANY addresses coins, by just generating matching private keys.

at least that's my understanding of how it works, please correct me if i'm wrong

I know, but as far as the network is concerned since it never was online who's to say what the right key is?

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
TiagoTiago
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Firstbits.com/1fg4i :)


View Profile
May 10, 2011, 02:16:08 AM
 #4

And as a matter of fact, if someone sends money to a currently unowned address and then you have the hugeonastic luck (i think, it is somthing like less than once in the estimated whole lifetime of the universe) of creating a random new address that matches the address that person sent money to, you will be the proud owner of the once lost amount.

(I dont always get new reply notifications, pls send a pm when you think it has happened)

Wanna gimme some BTC/BCH for any or no reason? 1FmvtS66LFh6ycrXDwKRQTexGJw4UWiqDX Smiley

The more you believe in Bitcoin, and the more you show you do to other people, the faster the real value will soar!

Do you like mmmBananas?!
BitLex
Hero Member
*****
Offline Offline

Activity: 532
Merit: 505


View Profile
May 10, 2011, 02:42:51 AM
 #5

if i create a new address now, as far as the network is concerned since it never was online who's to say what the right key is?
tell you who, my wallet (or the private key within).  Wink

it's not that your node broadcasts every new address you create to the network, why should it?
there's no need to inform the network about new addresses, your node only needs to check, if that address has ever received some coins
and if you've got the (private) key to those coins, you can spend them.

PS: if one could claim unused addresses, one could also claim all lost coins that he/she knows the public key of, that person could get rich without actually stealing anything from anyone.

bitlotto (OP)
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
May 10, 2011, 04:39:28 AM
 #6

Is the address somehow derived from the public/private key? Or is it independent?
Is it possible to manually set an address?

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12884


View Profile
May 10, 2011, 04:55:47 AM
 #7

Is the address somehow derived from the public/private key? Or is it independent?

It's the hash of the public key, plus some other stuff. You can't create arbitrary addresses.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1039


View Profile
May 10, 2011, 10:30:42 AM
 #8

... as far as the network is concerned since it never was online who's to say what the right key is?
When a payment is sent to an address, the network doesn't care whose address it is. So it doesn't matter if that Bitcoin node has not been online since the address was created. Later, when the owner of that receiving address spends the coins, the network confirms that the spender used the correct private key corresponding to that receiving address. No-one else has that private key (unless your wallet.dat file has been stolen), nor can a private key be generated from a public key.
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
May 10, 2011, 06:32:08 PM
 #9

... as far as the network is concerned since it never was online who's to say what the right key is?
When a payment is sent to an address, the network doesn't care whose address it is. So it doesn't matter if that Bitcoin node has not been online since the address was created. Later, when the owner of that receiving address spends the coins, the network confirms that the spender used the correct private key corresponding to that receiving address. No-one else has that private key (unless your wallet.dat file has been stolen), nor can a private key be generated from a public key.

if i have a million USD worth of BTC, someone mentioned that the ideal way to save your btc is to setup a new client on a 2nd computer w/o connecting to the network,  save and encrypt the new receiving address generated, stick that address in a vault, wait 20 yrs until you retire, boot up the 2nd computer with the never used client and then download your fortune of btc.  sounds like the best way to store and protect your btc to me.  i've already done this... Wink
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1039


View Profile
May 10, 2011, 06:43:46 PM
 #10

...save and encrypt the new receiving address generated...
The "receiving address" is public. The thing you must save and encrypt is the wallet.dat file.
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
May 10, 2011, 06:46:36 PM
 #11

...save and encrypt the new receiving address generated...
The "receiving address" is public. The thing you must save and encrypt is the wallet.dat file.

thanks ribuck, i got that wrong.  so if i replace the words "address" with the words "wallet.dat"  i would be right?

anyone know of someone saving this way?
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!