refactoring blockchain to use BlockchainDB, 17%, committing as checkpoint