litecoincash-project / litecoincash

Main release & integration tree for Litecoin Cash
https://litecoinca.sh
MIT License
53 stars 39 forks source link

[Proposal] Added hash/seg of MinX in getmininginfo #31

Closed OBTfx closed 3 years ago

OBTfx commented 3 years ago

It is proposed to add information about the hashes per seconds for the MinotaurX algorithm in the RPC getmininginfo command. #

Before (Original)

{
  "blocks": 2851,
  "currentblockweight": 4000,
  "currentblocktx": 0,
  "difficulty": 0.00390625,
  "minotaurxdifficulty": 0.002227835257336304,
  "networkhashps": 1155888.536341882,
  "pooledtx": 0,
  "chain": "test",
  "warnings": ""
}

#

After (proposed modification)

{
  "blocks": 2851,
  "currentblockweight": 4000,
  "currentblocktx": 0,
  "difficulty": 0.00390625,
  "minotaurxdifficulty": 0.002227835257336304,
  "networkhashps": 1155888.536341882,
  "minotaurxnetworkhashps": 4044.186400634932,
  "pooledtx": 0,
  "chain": "test",
  "warnings": ""
}
OBTfx commented 3 years ago

If you have the node configured with powalgo=minotaurx in the configuration file (litecoincash.conf) the data of the hashes per second is repeated

{
  "blocks": 2851,
  "currentblockweight": 0,
  "currentblocktx": 0,
  "difficulty": 0.00390625,
  "minotaurxdifficulty": 0.002227835257336304,
  "networkhashps": 4044.186400634932,
  "minotaurxnetworkhashps": 4044.186400634932,
  "pooledtx": 0,
  "chain": "test",
  "warnings": ""
}

I close in search of how to rethink the modification