Ethereum: The power of hashing: a guide to calculate hashes per second
In the world of cryptomonde and Blockchain technology, the HASH function reproduces a crucis a crucia in versals and maintenance. One of HASH’s functions in Hash Keccak-256 algorithm is currently for transactions and trial work.
Understand the hash function
The AH HASH function is an algorithm, which takes any entry data and produces a fixed size output, paints like a hash. The key characteristics of a God hash function and:
deterministic : It is always the same entry as SOAME.
Not invertible : It is invested to force the original informal information or the computational resource.
Of fixed size *: The size of the output is determined by the problem.
Calculating hashes per second (HPS)
To calculate HPS, you need to know the following:
- Number of HASH functions : There are many multiplemers available for Etherum, including Keccak-256, Ripemd-160 and Outers.
- Network Love : The number of nodes in the network and its influential power can HPS.
- HASH FUNCTION QUALITY :
Calculate Hashes per second with the difficulty of the Ethereum block
The difficulty of the blog is a crutical parameter that determines to calculate HPS, we need the difficulty of the block, the number of transactions in a block and the total hash output.
Here is an example calculation:
* Number of block transactions
: 4 (assuming a small network without 10 nodes)
Block difficulty : 1,000,000,000 (the current difficulty of the Etherum block)
* HASH output per transaction : approximately 128 by
Using the following formula for calculating HPS:
HPS = (block transactions \* hash output by transaction) / block difficulty
Let’s make the calculations:
HPS ≈ (4 transactions/block \* 128 by/transaction)/1,000,000.0
= 0.32 hps/block
HP estimate in a real world scenario *
To give him what he looks at in the practices, let’s visit a stage with 10 nodes in the net school and 100 mille.
Assuming a block difficulty of 1 Bilio, with a hash output per transaction of 128 by:
* Block size : Approximately 4 gigabytes
Number of transactions in a block : 400,000 (10 nodes \40 million coins)
* HASH output per block : 512 megabytes
Using the same formula:
HPS ≈ (400,000 transactions/block \* 128 by/transaction)/1 billion
= approximately 0.32 hps/block/block
This month that each node in a large-scale Ethereum network could be undermining approximately 3-4 hashes per second.
Conclusion*
Calculating HPS is essential to understand the performance and staggility of the Etherum Testing Mining System (PO). While this calculation provides an aoretical estimate, it is not an Oncoun account for Varis factors likes hash functionality, block size and network.
As the Ethereum ecosystem continues to increase growth and mat, we can increase intimacy and improve Pow systems. By understanding the house to calculate HPS, developers and miners can optimize networks and networks to achieve maximum efficiency.
Leave a Reply