slight changes in BlockchainDB interface.