Investigating BlockchainDB function graph.
This issue is to keep track of potential improvements for blockchainDB's trait and its methods.

A lot of functions are defined. I've already removed some of them but by looking at how Blockchain's trait could be implemented, It should be possible to refactor some method.