updated with leveldb checkpointed and reverted stake time