Author

Topic: Time of block signing (Read 537 times)

legendary
Activity: 1386
Merit: 1000
January 19, 2013, 07:03:38 PM
#7
now it become clear for me
thanks
legendary
Activity: 1050
Merit: 1000
You are WRONG!
January 19, 2013, 07: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).
legendary
Activity: 1386
Merit: 1000
January 19, 2013, 06:32:18 PM
#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
legendary
Activity: 1050
Merit: 1000
You are WRONG!
January 19, 2013, 06: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.
legendary
Activity: 1386
Merit: 1000
January 19, 2013, 06:20:47 PM
#3
blocks are not signed.

How to name the operation miners do with the block?
legendary
Activity: 1050
Merit: 1000
You are WRONG!
January 19, 2013, 06:16:09 PM
#2
Does the time to sign the block depend on the length of block?
blocks are not signed.
legendary
Activity: 1386
Merit: 1000
January 19, 2013, 06:13:00 PM
#1
Does the time to sign the block depend on the length of block?
Jump to: