# Correcting the error in getnetworkhashrateps

**URL:** <https://delvingbitcoin.org/t/correcting-the-error-in-getnetworkhashrateps/1745>\
**Category:** Protocol Design\
**Created:** [June 2, 2025, 10:19am UTC](https://delvingbitcoin.org/t/correcting-the-error-in-getnetworkhashrateps/1745 "2025-06-02T10:19:06Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![zawy](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/zawy/32/750_2.png) [@zawy](https://delvingbitcoin.org/u/zawy)\
**Post date:** [August 14, 2025, 12:21pm UTC](https://delvingbitcoin.org/t/correcting-the-error-in-getnetworkhashrateps/1745/29 "2025-08-14T12:21:30Z")

</div>

I fixed b because you fixed k and I was wanting to see if the equations for b and k-1 were the same in the limit, i.e. if the kth lowest hash is exactly like a target for b. Also, when someone runs getnetworkhashps, they’re selecting a b number of blocks. Difficulty adjustment also uses a fixed number of blocks.

My simulation doesn’t specify a timespan, so ~~I guess I could be wrong~~ I’m wrong in saying it’s for a fixed amount of time and thereby doesn’t say or reveal anything about hashrate. ~~But if I said it’s for a certain timespan before I ran it, I don’t see what I would need to change.~~

---

_[View the full topic](https://delvingbitcoin.org/t/correcting-the-error-in-getnetworkhashrateps/1745)._
