Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }