Exemplo n.º 1
0
        public string GetDigest()
        {
            var hashes = new string[]
            {
                $"{Index}-{PreviousHash ?? ""}".ToBytes().ToSHA256Hash(),
                BlockData.GetDigest(),
            };

            return(hashes.ToMerkleHash());
        }