solana/ledger
Brooks Prumo 3f6eb96d6e
Call `Bank::update_accounts_hash()` before taking bank snapshot (#19765)
This is a bugfix.

When `load_frozen_forks()` called `snapshot_bank()`, the accounts hash
was not computed.  So then when a snapshot archive was eventually
created, its hash would be all 1s, which is clearly wrong.  The fix is
to update the bank's accounts hash before taking the bank snapshot.
2021-09-13 08:27:50 -05:00
..
benches Record vote account commission with voting/staking rewards and surface in RPC 2021-07-12 15:09:44 -07:00
src Call `Bank::update_accounts_hash()` before taking bank snapshot (#19765) 2021-09-13 08:27:50 -05:00
tests Blockstore test cleanup (#19656) 2021-09-10 07:33:08 -05:00
.gitignore
Cargo.toml chore: bump sha2 from 0.9.6 to 0.9.8 (#19760) 2021-09-11 16:22:40 -06:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00