Esempio n. 1
0
 public Transaction(Coin coin, String receiverPk)
 {
     this.coin = coin;
     this.previous = null;
     this.previousTransSignedByMe = null;
     this.receiverPk = receiverPk;
 }
Esempio n. 2
0
 public Transfer(TransferHash previous, byte[] destinyPk)
 {
     this.coin = null;
     this.destinyPk = destinyPk;
     this.previous = previous;
 }
Esempio n. 3
0
 public Transfer(Coin coin, byte[] destinyPk)
 {
     this.coin = coin;
     this.destinyPk = destinyPk;
     this.previous = null;
 }
Esempio n. 4
0
 public SignedMessage SignMessage(Coin coin)
 {
     return SignMessage(Counter.Coin.ToString());
 }
Esempio n. 5
0
 public Transaction CreateCoin(String ownerPk)
 {
     var goofyCoin = new Coin(mySignature);
     return new Transaction(goofyCoin, ownerPk);
 }