blockchain Inspired by https://github.com/lhartikk/naivechain. Note This is not tested satisfactory, so there are bugs and missing implementations. Ref http://www.jbonneau.com/doc/BMCNKF15-IEEESP-bitcoin.pdf https://github.com/lhartikk/naivechain https://github.com/bitcoin/bitcoin