minernl / Miningcore.WebUI

WebUI made for https://github.com/minernl/miningcore
https://miningcore.com
32 stars 80 forks source link

confusion about 'pending share' and 'pending balance' in miner dashboard #13

Open mboyd1 opened 1 year ago

mboyd1 commented 1 year ago

the webui miner dashboard shows strange values for 'pending shares' - for example, "2 G" in the code I see the text _formatter function uses G for 1e9 (billions.. which itself is strange, why not use B?), but the entire shares table has fewer than 1 million entries. am I misunderstanding this value?

also 'pending balance' always shows 0, only the lifetime balance ever displays a numerical value other than 0. I presumed this was because it was not calculating any 'pending balance' for blocks that are still maturing to 100 confirmations, but as soon as they do reach 100 confirms it is immediately paid out, so thus the user never sees any non-zero value here. is there any way for it to display pending balances for still-maturing blocks?