Modified database definition, so that queries with similar output to
blockchain.info, could be performed much quiker.