More guard rails for restart with ledger procedure (#10854)

* Add expected_bank_hash required for supermajority
* Print snapshot hash in ledger-tool create-snapshot.
This commit is contained in:
sakridge
2020-06-30 12:55:25 -07:00
committed by GitHub
parent b777126bd2
commit 88eeb817e4
3 changed files with 98 additions and 7 deletions

View File

@@ -1141,8 +1141,9 @@ fn main() {
.and_then(|package| {
snapshot_utils::archive_snapshot_package(&package).map(|ok| {
println!(
"Successfully created snapshot for slot {}: {:?}",
"Successfully created snapshot for slot {} hash: {}: {:?}",
bank.slot(),
bank.hash(),
package.tar_output_file
);
println!(