Bitcoin Forum

Bitcoin => Mining => Topic started by: acedogblast on May 08, 2017, 09:04:52 PM



Title: Mining speed in Hash/s or Block/s
Post by: acedogblast on May 08, 2017, 09:04:52 PM
When a mining program is displaying a "hashrate" is this the number of individual SHA-256 digests or it is the hash checking of the completed block? I'm confused about this because I'm currently programming my own miner (just to get to know bitcoin mining better, not for actual profit) and I've found out that to assemble a block, the miner needs to preform numerous SHA-256 digests for calculating the merkle root, the individual transactions before finally hashing the completed block.


Title: Re: Mining speed in Hash/s or Block/s
Post by: achow101 on May 08, 2017, 09:11:27 PM
Typically it means how many complete block hashes the miner does per second. Typically mining hardware and software do not do block processing and assembling as that is done poolside.


Title: Re: Mining speed in Hash/s or Block/s
Post by: acedogblast on May 08, 2017, 09:17:27 PM
So it is "Block/s". Thanks. It seems rather misleading for it to be in hash/s though.


Title: Re: Mining speed in Hash/s or Block/s
Post by: achow101 on May 08, 2017, 10:24:49 PM
So it is "Block/s". Thanks. It seems rather misleading for it to be in hash/s though.
It is actually block header hashes per second as the mining hardware doesn't produce a full block but rather just the header and its hash.