Switch account hashing to blake3 (bp #11969) (#11991)

* Switch account hashing to blake3 (#11969)

* Switch account hashing to blake3

Co-authored-by: Carl <carl@solana.com>
(cherry picked from commit af08221aec)

# Conflicts:
#	programs/bpf/Cargo.lock
#	runtime/src/accounts.rs
#	runtime/src/accounts_db.rs
#	runtime/src/serde_snapshot.rs

* Resolve conflicts

Co-authored-by: carllin <wumu727@gmail.com>
Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
mergify[bot]
2020-09-04 20:47:25 +00:00
committed by GitHub
parent 2a842408bd
commit 2b4af48537
12 changed files with 374 additions and 115 deletions

View File

@@ -738,6 +738,7 @@ where
bank.slot(),
&mut stream,
&append_vecs_path,
genesis_config.operating_mode,
),
SnapshotVersion::V1_2_0 => bankrc_from_stream(
SerdeStyle::NEWER,
@@ -745,6 +746,7 @@ where
bank.slot(),
&mut stream,
&append_vecs_path,
genesis_config.operating_mode,
),
}?;
Arc::get_mut(&mut Arc::get_mut(&mut bankrc.accounts).unwrap().accounts_db)