public Transaction(Coin coin, String receiverPk) { this.coin = coin; this.previous = null; this.previousTransSignedByMe = null; this.receiverPk = receiverPk; }
public Transaction Payto(SignedMessage sgndTrans, String receiverPk) { var trans = new Transaction(); trans.previous = this; trans.previousTransSignedByMe = sgndTrans; trans.receiverPk = receiverPk; return trans; }
public Coin(Signature mySignature) { coinId = Counter.Coin; sgndCoin = mySignature.SignMessage(this); }