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

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