Exemple #1
0
 public Transaction(Coin coin, String receiverPk)
 {
     this.coin = coin;
     this.previous = null;
     this.previousTransSignedByMe = null;
     this.receiverPk = receiverPk;
 }
Exemple #2
0
        public Transaction Payto(SignedMessage sgndTrans, String receiverPk)
        {
            var trans = new Transaction();
            trans.previous = this;
            trans.previousTransSignedByMe = sgndTrans;
            trans.receiverPk = receiverPk;

            return trans;
        }
Exemple #3
0
 public SignedMessage SignMessage(Transaction transaction)
 {
     return SignMessage(Counter.Transaction.ToString());
 }
Exemple #4
0
 public void AddTransaction(Transaction trans)
 {
     trans.CheckTransaction();
     wallet.Add(trans);
 }