Add checkpoint, rollback to to bank (#1662)
add linked-list capability to accounts change accounts from a linked list to a VecDeque add checkpoint and rollback for lastids add subscriber notifications for rollbacks checkpoint transaction count, too
This commit is contained in:
@@ -44,7 +44,7 @@ fn bench_process_transaction(bencher: &mut Bencher) {
|
||||
let mut id = bank.last_id();
|
||||
|
||||
for _ in 0..(MAX_ENTRY_IDS - 1) {
|
||||
bank.register_entry_id(&id);
|
||||
bank.register_tick(&id);
|
||||
id = hash(&id.as_ref())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user