5

I've seen this question but unfortunately it doesn't contain an answer to my question.

The question is: how can I calculate actual hashrate of the whole network? As far as I understand, it depends on difficulty in some way but I can not understand that dependency.

| improve this question | | | | |
6

The hash rate can only be estimated from the difficulty, which is itself adjusted up and down based on how fast blocks are found compared to the 120 second target. This estimation is the difficulty (currently 7462457559) divided by the target (currently 120 seconds), so currently about 62 MH/s.

| improve this answer | | | | |
  • Great, thank you. And what is the magic number 120? Is this target hardcoded somewhere in Monero software or it depends on some conditions in external world? – Valery Ryaboshapko Apr 28 '17 at 0:46
  • 1
    Moneros network tries to maintain 120 second block times (its block target) so the difficulty adjusts dynamically based on the MH/s of the network. – Studnt Apr 28 '17 at 6:18
  • @ValeryRyaboshapko Yes it's hardcoded - you can find it in the DIFFICULTY_TARGET_V2 constant in the code. – assylias Apr 28 '17 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.