# Alex's technical questions

**URL:** <https://discourse.peercoin-library.org/t/alexs-technical-questions/4137>\
**Category:** Protocol\
**Created:** [January 15, 2017, 12:40pm UTC](https://discourse.peercoin-library.org/t/alexs-technical-questions/4137 "2017-01-15T12:40:25Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![thehuntergames](https://discourse.peercoin-library.org/user_avatar/discourse.peercoin-library.org/thehuntergames/32/2395_2.png) [@thehuntergames](https://discourse.peercoin-library.org/u/thehuntergames)\
**Post date:** [January 15, 2017, 5:00pm UTC](https://discourse.peercoin-library.org/t/alexs-technical-questions/4137/5 "2017-01-15T17:00:59Z")

</div>

here is an outdated description how to find a stake aka mint a block:

> [@How findstake is determined](https://discourse.peercoin-library.org/t/how-findstake-is-determined/3276):
>
> [this is part of a developers guide to be shared as I go along and learn the nitty-gritty of peercoins protocol myself. If I had access to the wiki I would have pasted it there] In short, a blob of data is double sha256-hashed and compared to a target. A stake is found when the hash is lower than the target. bytes short descr description 0-7 StakeModifier will decribe later 8-11 Block time unix time of block that contains the tx 12-15 Tx previous offset the position of previous Tx within th…

nowadays peercoin has a floating stakemodifier which reduces the ability to forecast a mint by 21 days.

if you can read javascript, here is how it is done:

> **[GitHub - peercoin/FindstakeJS: Calculate when to mint your Peercoins with...](https://github.com/peercoin/FindstakeJS)**
>
> Calculate when to mint your Peercoins with FindstakeJS. - GitHub - peercoin/FindstakeJS: Calculate when to mint your Peercoins with FindstakeJS.

---

_[View the full topic](https://discourse.peercoin-library.org/t/alexs-technical-questions/4137)._
