Bitcoin Consecutive Blocks

I used my existing local full node (https://github.com/bcoin-org/bcoin) and it's api and linked the library with npm link bcoin.

Start

npm install - Install dependencies

npm link bcoin - Link global installed bcoin

Run

npm run dev - Run dev envoirment

Test

npm run test - Run automatic ava tests

In Action

Alt Text

(Note: My full node isn't completely downloaded yet, so it only shows 310722 blocks in the above animation.)