Bitcoin Forum
November 18, 2017, 11:58:44 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Time of block signing  (Read 451 times)
ArsenShnurkov
Legendary
*
Offline Offline

Activity: 1386



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

Does the time to sign the block depend on the length of block?
1511049524
Hero Member
*
Offline Offline

Posts: 1511049524

View Profile Personal Message (Offline)

Ignore
1511049524
Reply with quote  #2

1511049524
Report to moderator
A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511049524
Hero Member
*
Offline Offline

Posts: 1511049524

View Profile Personal Message (Offline)

Ignore
1511049524
Reply with quote  #2

1511049524
Report to moderator
1511049524
Hero Member
*
Offline Offline

Posts: 1511049524

View Profile Personal Message (Offline)

Ignore
1511049524
Reply with quote  #2

1511049524
Report to moderator
kokjo
Legendary
*
Offline Offline

Activity: 1050

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
Legendary
*
Offline Offline

Activity: 1386



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

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
Legendary
*
Offline Offline

Activity: 1386



View Profile
January 19, 2013, 10: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
kokjo
Legendary
*
Offline Offline

Activity: 1050

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
Legendary
*
Offline Offline

Activity: 1386



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

now it become clear for me
thanks
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!