Bitcoin Forum
November 09, 2024, 11:47:32 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Time of block signing  (Read 549 times)
ArsenShnurkov (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000



View Profile
January 19, 2013, 10:13:00 PM
 #1

Does the time to sign the block depend on the length of block?
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
January 19, 2013, 10:16:09 PM
 #2

Does the time to sign the block depend on the length of block?
blocks are not signed.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
ArsenShnurkov (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000



View Profile
January 19, 2013, 10:20:47 PM
 #3

blocks are not signed.

How to name the operation miners do with the block?
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
January 19, 2013, 10:28:26 PM
 #4

blocks are not signed.

How to name the operation miners do with the block?
you the crazy Russian guy, right?

Miners mine. They are calculating hashes(double sha256).

and yes, it takes longer time to hash a bigger block, then a smaller one. but it not much. sha256 can hash 100-200mb/sec, so it takes under a second to build the merkel tree of the transactions.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
ArsenShnurkov (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000



View Profile
January 19, 2013, 10:32:18 PM
Last edit: January 19, 2013, 10:58:48 PM by ArsenShnurkov
 #5

Ok, let's call this operation "hashing"

and yes, it takes longer time to hash a bigger block, then a smaller one

I am not sure in this, because I don't know
what is hashed - the whole body of the block or the header (with constant size) of the block only

here
https://en.bitcoin.it/wiki/Block_hashing_algorithm
is written that only header is hashed, and the transactions themself are not needed for obtaining each hash
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
January 19, 2013, 11:00:00 PM
 #6

Ok, let's call this operation "hashing"

and yes, it takes longer time to hash a bigger block, then a smaller one

I am not sure in this, because I don't know
what is hashed - the whole body of the block,
or the header (with constant size) of the block only

each transaction is hashed to create a transaction id, all these transactions id are hashed together in a tree, called a merkel tree(http://en.wikipedia.org/wiki/Hash_tree). and root hash of this tree is but in the block header. a block header is always 80 bytes long, and this is what miner are hashing on.

this means that every time there comes in a transaction the merkel tree has to be rebuild, but this takes only a small small part of a second to do so, so this is not the problem, and this is done on a mining server. The reason why mining blocks is slow, is that hash are completely random, and you want to get as many 0's as possible(fliping a coin, and trying to get 60 tails in a row).

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
ArsenShnurkov (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000



View Profile
January 19, 2013, 11:03:38 PM
 #7

now it become clear for me
thanks
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!