Hashrate is one of the most commonly referenced metrics in bitcoin mining. But what is it?
As the term suggests, the Bitcoin network’s hashrate is simply the estimated rate of total hashes generated by all active mining machines. Called hashing, the process of generating hashes is the primary job of miners.
What’s a hash?
Hashes are strings of numbers and letters used to encrypt data.
Any sort of raw information—like passwords, poems, or single letters—can be turned into a hash by using specific hashing algorithms. The Bitcoin protocol uses the SHA-256 hashing algorithm.
All hashes are unique, like fingerprints. No two pieces of data generate the same hash. And there is no way to “unlock” a hash to know what data it contains. Only by re-entering the exact same information into the hashing algorithm and generating an identical replicated hash can the data behind the first hash be verified.
Measuring hashrate
Hashrate (sometimes called hash power) is an estimate of the total amount of computational activity that bitcoin miners spend working to add new blocks to the network. This task requires miners to encrypt data into hashes and match it with a piece of encrypted data in the new block, called a nonce. Finding an encrypted match solves the block.
Hashrate is measured using the base unit of hashes per second (h/s).
The metric itself is extrapolated from the speed at which new blocks are added to the blockchain, which can lead to variance in the hashrate number reported by different data providers.