error fixing, lot of TODOs, tests passed
Merge branch 'master' of github.com:mably/btcchain