diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-19 16:30:17 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-25 00:55:09 +0000 |
| commit | 1730a44f9002d51f376a0aadc1804836a2da70df (patch) | |
| tree | d938806c7fce40751592e4a19f7e6532d6b18593 /utils/python-rpc/console.py | |
| parent | e4b049da05faeb7e1922d01aeebafa5f696c17d1 (diff) | |
| download | monzero-core-1730a44f9002d51f376a0aadc1804836a2da70df.tar.gz monzero-core-1730a44f9002d51f376a0aadc1804836a2da70df.tar.xz monzero-core-1730a44f9002d51f376a0aadc1804836a2da70df.zip | |
core: improve block rate monitor trigger probabilities
The original intent of one false positive a week on average
was not met, since what we really want is not the probability
of having N blocks in T seconds, but either N blocks of fewer
in T seconds, or N blocks or more in T seconds.
Some of this could be cached since it calculates the same fairly
complex floating point values, but it seems pretty fast already.
Diffstat (limited to 'utils/python-rpc/console.py')
0 files changed, 0 insertions, 0 deletions
