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

* 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:43:48 -07:00
committed by GitHub
parent 3a3b7a399a
commit 1ffad2d051
3 changed files with 98 additions and 7 deletions

View File

@ -1363,8 +1363,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!(