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