示例#1
0
 public ScriptCoin(IndexedTxOut txOut, Script redeem)
     : base(txOut)
 {
     Redeem = redeem;
     AssertCoherent();
 }
示例#2
0
 public Coin(IndexedTxOut txOut)
 {
     Outpoint = new OutPoint(txOut.Transaction.GetHash(), txOut.N);
     TxOut    = txOut.TxOut;
 }
示例#3
0
 internal ScriptCoin(IndexedTxOut txOut, Script redeem)
     : base(txOut)
 {
     Redeem = redeem;
 }
示例#4
0
 public static ScriptCoin Create(Network network, IndexedTxOut txOut, Script redeem)
 {
     return(new ScriptCoin(txOut, redeem).AssertCoherent(network));
 }
示例#5
0
 public WitScriptCoin(IndexedTxOut txOut, Script witRedeem)
     : base(txOut)
 {
     SetAll(txOut.TxOut.ScriptPubKey, witRedeem);
 }