Exemple #1
0
        public string GetHash()
        {
            string str = this.PrevHash + this.TimeStamp + this.Nonce + this.Transaction.GetHash();

            return(BlockChain.Sha3Cal(str));
        }
 public string GetHash()
 {
     return(BlockChain.Sha3Cal(this.Sender + this.Receiver + this.Amounts.ToString() + this.Fee.ToString() + this.Date.ToString() + this.Message));
 }