Bitcoin Forum
May 27, 2024, 08:40:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Block hash or block header hash?  (Read 1314 times)
Coma (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
June 02, 2011, 03:49:02 AM
Last edit: June 02, 2011, 04:24:03 AM by Coma
 #1

https://en.bitcoin.it/wiki/Target

Quote
The target is a 256-bit number (extremely large) that all Bitcoin clients share. The SHA-256 hash of a block's header must be lower than or equal to the current target for the block to be accepted by the network. The lower the target, the more difficult it is to generate a block.


https://en.bitcoin.it/wiki/Blocks

Quote
... A block is "solved" (published and considered valid by peers) when the SHA-256 hash of the entire block is below the current target.

Does both things mean the same?
I'm trying to understand the system better, thank you. Smiley

EDIT:
Also I think the Target and Difficulty articles confuses both terms. It should be clearer, IMHO. Guess I'll take it to wiki discussion.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5208
Merit: 13017


View Profile
June 02, 2011, 06:32:05 AM
 #2

Block hash = block header hash.

A hash of the entire block is never made by Bitcoin, and no one uses such a hash for anything.

All of the block data is indirectly hashed through the hash tree. This is represented in the block hash.

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!