btccom / btcpool-ABANDONED

backend of pool.btc.com
https://pool.btc.com
MIT License
643 stars 408 forks source link

grin的high diff判断逻辑有问题 #397

Open rocqina opened 4 years ago

rocqina commented 4 years ago

if (isValidSolution && scaledShareDiff / sjob->difficulty_ >= 1024) {

这个条件应该改成if (isValidSolution && scaledShareDiff *1024 >= sjob->difficulty_ ) {

rocqina commented 4 years ago

还有sserver的设置的矿机难度2-8真的达不到吗?

YihaoPeng commented 4 years ago

需要有人搞清楚是否真的存在问题。