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