Build a commandline utility to display stats about the bitcoin blockchain

Task 1

Given the block height find the time it took to mine it.

Refer chrono, look for DateTime and Duration types and associated methods and functions.

Task 2

Count the number of transactions in a block.

Task 3

Handle user input and output.

Task 4

Come up with cool ideas which gives insight into bitcoin blockchain data. This is an open ended assignment.

Bonus

Using threads periodically print the results of the most recent block in the commandline. You can accept input in arguments which will turn on this mode, which is non interactive but periodic results. Other tasks can be interactive.

Reference