예제 #1
0
 public ScriptCoin(uint256 txHash, uint outputIndex, Money amount, Script scriptPubKey, Script redeem)
     : base(txHash, outputIndex, amount, scriptPubKey)
 {
     Redeem = redeem;
     AssertCoherent();
 }
예제 #2
0
 public Coin(uint256 fromTxHash, uint fromOutputIndex, Money amount, Script scriptPubKey)
 {
     Outpoint = new OutPoint(fromTxHash, fromOutputIndex);
     TxOut    = new TxOut(amount, scriptPubKey);
 }