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

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