HomePhabricator

Implement simple moving average over work difficulty adjustement algorithm.

Description

Implement simple moving average over work difficulty adjustement algorithm.

Summary: As per title. Hopefully this is much simpler than alternative, but more complex alternative do not perform suffisciently better to be worth it.

Test Plan:

make check

Added unit tests for it.

Reviewers: kyuupichan, Mengerian, #bitcoin_abc, schancel

Reviewed By: Mengerian, #bitcoin_abc, schancel

Subscribers: zanza321

Differential Revision: https://reviews.bitcoinabc.org/D601

Details

Provenance
deadalnixAuthored on Sep 27 2017, 14:11
deadalnixPushed on Oct 30 2017, 16:38
Reviewer
Restricted Project
Differential Revision
D601: Implement simple moving average over work difficulty adjustement algorithm.
Parents
rABCa438bb8d5b5e: Convert validation.cpp/.h to use Amount class
Branches
Unknown
Tags
Unknown