store BlockchainDB instance as pointer, use ->, add pop_block() function