public string GetDigest() { var hashes = new string[] { $"{Index}-{PreviousHash ?? ""}".ToBytes().ToSHA256Hash(), BlockData.GetDigest(), }; return(hashes.ToMerkleHash()); }
public string GetDigest() { var hashes = new string[] { $"{Index}-{PreviousHash ?? ""}".ToBytes().ToSHA256Hash(), BlockData.GetDigest(), }; return(hashes.ToMerkleHash()); }