Bitcoin Forum
May 12, 2024, 10:11:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Why not crack addresses instead of finding nonces?  (Read 1246 times)
Buffer Overflow
Legendary
*
Offline Offline

Activity: 1652
Merit: 1015



View Profile
April 12, 2013, 08:27:01 PM
 #21

It isn't just the nonce that increments to find a valid hash, you constantly hash the block header completely. The block header contains other data such as version, hash of previous block header, merkle root, time and bits. Your merkle root hash will be different to everyone else. This means no-one else is hashing the same data.

1715551894
Hero Member
*
Offline Offline

Posts: 1715551894

View Profile Personal Message (Offline)

Ignore
1715551894
Reply with quote  #2

1715551894
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715551894
Hero Member
*
Offline Offline

Posts: 1715551894

View Profile Personal Message (Offline)

Ignore
1715551894
Reply with quote  #2

1715551894
Report to moderator
1715551894
Hero Member
*
Offline Offline

Posts: 1715551894

View Profile Personal Message (Offline)

Ignore
1715551894
Reply with quote  #2

1715551894
Report to moderator
vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
April 12, 2013, 08:32:04 PM
 #22

The search for nonces changes every 10 minutes.  An address with a lot of coin might be in cold storage and you might be able to search for months uninterrupted and your reward might be very high.
It's about 3,513,612,269,993,879,528,303,320,959,297,632,275,254,396,583,673,016,120,886,766 times harder to crack an address than to find a nonce that mines a block. Given that mining a block yields 25 bitcoins and cracking an address yields at most 21,000,000 that means that even if you crack the address that holds every single bitcoin that will ever exist, it's still 4,182,871,749,992,713,724,170,620,189,640,038,422,921,900,694,848,828,715 times worse than finding a nonce.


i think you missed the 5 Grin

Undercover (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 12, 2013, 10:43:53 PM
 #23

It isn't just the nonce that increments to find a valid hash, you constantly hash the block header completely. The block header contains other data such as version, hash of previous block header, merkle root, time and bits. Your merkle root hash will be different to everyone else. This means no-one else is hashing the same data.

More newbie questions... Does everyone have the same transactions?  Why do we have different merkle roots if we have the same transactions?

As a miner how do I get transactions?  How often will I get more transactions?  Do I have to recompute the merkle root each time I get a new transaction and then restart the nonce?  This sounds like a job for Sisyphus.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
April 12, 2013, 11:29:52 PM
 #24

Apparently i still don't understand mining.  Isn't mining finding the nonce for the next block and that nonce is dependent on the previous block?  So as soon as there is a new block, nonce searching has to start all over?
The search space for a valid block is effectively infinite, so you have no "progress" to lose.

More newbie questions... Does everyone have the same transactions?  Why do we have different merkle roots if we have the same transactions?
I wish everyone had the coinbase transaction that pays to my account like I do. But other people insist on sending the mining rewards to their accounts. Also, miners include some randomized information in the coinbase transaction that acts like an extra nonce. Everyone has basically the same transactions (not including the mining reward transaction) but pool operators and solo miners can pick and choose which transactions to include.

Quote
As a miner how do I get transactions?  How often will I get more transactions?
People who want their transactions mined into blocks broadcast them over the Bitcoin network. You'll get a constant stream of transactions as they're created.

Quote
Do I have to recompute the merkle root each time I get a new transaction and then restart the nonce?  This sounds like a job for Sisyphus.
No, you don't have to. You might want to if the transaction fee is significant. You'll have to compute a new merkle root when you run out of nonces to try anyway, so you might as well include any new transactions with non-zero fees if there's room.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
lbr
Sr. Member
****
Offline Offline

Activity: 423
Merit: 254


View Profile
April 12, 2013, 11:45:56 PM
 #25

https://en.wikipedia.org/wiki/Quantum_computer
> : )

BTC: 18ozhbkfHneX8tnPgHJuTizyBmspM5Vgpa  LTC: LgVc7KdedPGZyDXHXEH9G7z6AoTmTvDdWb
cgminer 2.11.13 x64 portable for Mac OS X 10.6.8
6+ GPUs driver mod for Windows
Pages: « 1 [2]  All
  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!