motocoin-dev/motocoin — pull request #8 by HunterMinerCrafter (2014-06-21 14:16:20+00:00)
Title: Fix GetNextWorkRequired (part 1)

This patch calculates Median correctly.
Previously target time was just a constrained pseudo-random value, influenced by only one specific block in the look back period.