diff halving removal: also use ema for >20mins blocks.
Merge branch 'master' into release-0.1.3
Merge branch 'release-0.1.3' into dev-0.1.3