Closed Supremesource closed 4 months ago
Add a feature like comx misc my-stats [--netuid] that will display your mining and validating stats.
comx misc my-stats [--netuid]
comx module list
Loop through the keys, loop through the modules, if the key matches the module on the network. You display a well formatted table use Rich.
The tables will be split into: Miners x Validators x Inactive
miner: has incentive > 0
validator: has dividends > 0
inactive: incentive == 0 && dividends == 0
If it's a validator you display the Apy, stake, emission, dividends, registration block, last update etc
Miner, you display same stats as on validator, except apy
Inactive, same as on miner
comx misc my-stats
Add a feature like
comx misc my-stats [--netuid]
that will display your mining and validating stats.How it works
comx module list
, for implementation)Loop through the keys, loop through the modules, if the key matches the module on the network. You display a well formatted table use Rich.
Tables
The tables will be split into: Miners x Validators x Inactive
miner: has incentive > 0
validator: has dividends > 0
inactive: incentive == 0 && dividends == 0
If it's a validator you display the Apy, stake, emission, dividends, registration block, last update etc
Miner, you display same stats as on validator, except apy
Inactive, same as on miner