Right now we calculate it the inverse of the was most pools do. Since it is relatively simple to switch this making it configurable might be nice We currently calculate it as (block.difficulty \* (2 *\* 32) / block.shares_to_solve or 1 \* avg_hashes_per_share) \* 100 Most pools do (block.shares_to_solve or 1 \* avg_hashes_per_share / block.difficulty \* (2 *\* 32)) \* 100
Right now we calculate it the inverse of the was most pools do. Since it is relatively simple to switch this making it configurable might be nice
We currently calculate it as
(block.difficulty * (2 ** 32) / block.shares_to_solve or 1 * avg_hashes_per_share) * 100
Most pools do
(block.shares_to_solve or 1 * avg_hashes_per_share / block.difficulty * (2 ** 32)) * 100