Example #1
0
 /// <summary>
 /// If scriptpubkey is already present, just add the value.
 /// </summary>
 public static void AddRangeWithOptimize(this TxOutList me, IEnumerable <TxOut> collection)
 {
     foreach (var txout in collection)
     {
         me.AddWithOptimize(txout);
     }
 }
Example #2
0
 /// <summary>
 /// If scriptpubkey is already present, just add the value.
 /// </summary>
 public static void AddWithOptimize(this TxOutList me, TxOut txOut)
 {
     me.AddWithOptimize(txOut.Value, txOut.ScriptPubKey);
 }
Example #3
0
 /// <summary>
 /// If scriptpubkey is already present, just add the value.
 /// </summary>
 public static void AddWithOptimize(this TxOutList me, Money money, IDestination destination)
 {
     me.AddWithOptimize(money, destination.ScriptPubKey);
 }