diff --git a/src/lib.rs b/src/lib.rs index fe0245c..4a61c73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,10 @@ mod c2_blockchain; mod c3_consensus; mod c4_framework; +//TODO This is just me scribbling a quick little idea to disambiguate the hash type throughout this project. +/// A Simple 64-bit hash value that will be used whenever a cryptographic hash is needed. +pub struct HashValue(u64); + // Simple helper to do some hashing. fn hash(t: &T) -> u64 { let mut s = DefaultHasher::new();