* 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:
@@ -8,7 +8,7 @@ use thiserror::Error;
|
||||
pub const HASH_BYTES: usize = 32;
|
||||
#[derive(Serialize, Deserialize, Clone, Copy, Default, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
||||
#[repr(transparent)]
|
||||
pub struct Hash([u8; HASH_BYTES]);
|
||||
pub struct Hash(pub [u8; HASH_BYTES]);
|
||||
|
||||
#[derive(Clone, Default)]
|
||||
pub struct Hasher {
|
||||
|
Reference in New Issue
Block a user