Post
Topic
Board Development & Technical Discussion
Re: Offline Wallet creation (how?)
by
DannyHamilton
on 16/10/2017, 19:55:43 UTC
Cause it is offline, how is it guaranteed noone else is generating the same offline address as my offline wallet?

The exact same way as it is done if the wallet is online.

I have no chance to check if that address was ever or not, if the computer i do use to create that wallett priv key is offline.

Bitcoin wallets do not "check if that address was ever or not".  They just generate a REALLY VERY EXTREMELY random number in a REALLY VERY EXTREMELY big range.

The range that the random number is selected from is SO big, that the odds of someone else choosing that exact same random number is effectively 0.

Ok, new data, will recalc everything:

  • probability of getting struck by lightning in any given year: 1/280000.
  • probability of taking a shit at any given point in time: 1/(60*24) = 1/1440 (assuming you take a crap every day and the actual process takes 1 minute)
  • probability of getting struck by lightning while taking a crap in any given year: 1/(280000*1440) = 1/1.47E11 = 2.48E-9
  • probability of taking a crap while being in a situation where being struck by lightning can actually occur = 1/1440 = 0.25 = 1.74E-4
  • probability of finding a collision: 1E-65
  • getting hit by lightning while taking a crap for how many years in a row is equally probable as finding a collision: log(1E-65) / log(1.74E-4) = 17.3

is my math roughly correct now?

If so, I can say: "Finding a collision is about as likely as being struck by lightning while taking a crap every year for 17 years in a row".