BitShares Forum

Other => Graveyard => BitShares PTS => Topic started by: FreeTrade on November 10, 2013, 10:19:39 am

Title: Collisions Per Minute
Post by: FreeTrade on November 10, 2013, 10:19:39 am
I've made some updates to code to count collisions per minute rather than hashes per minute.

Some hashes generate 0 collisions, I've seen others generate up to 8.

Hashes per minute is a good metric to use if you're tweaking the speed of an algorithm.

Collisions per minute is a much better metric to judge your chances of finding a block. It is also much better to use when comparing algorithms which is what most end users of solo and pool miners will want to do.

Here's the code - it's a small adjustment.

https://github.com/InvictusInnovations/ProtoShares/commit/776832f419649211cb7b173ffb437e7d2af68b8b

I've mixed it up with another commit unfortunately - here's the relevant parts

main.cpp

lines

1329
1337
4611 - 4619
4623

main.h
1323