IsEveryOutputSpent() 공개 메소드

public IsEveryOutputSpent ( ) : bool
리턴 bool
예제 #1
0
 /// <summary>
 /// If the transactions outputs are all marked as spent, and it's in the unspent map, move it.
 /// </summary>
 private void MaybeMoveTxToSpent(Transaction tx, String context)
 {
     if (tx.IsEveryOutputSpent())
     {
         // There's nothing left I can spend in this transaction.
         if (Unspent.Remove(tx.Hash))
         {
             if (_log.IsInfoEnabled)
             {
                 _log.Info("  " + context + " <-unspent");
                 _log.Info("  " + context + " ->spent");
             }
             Spent[tx.Hash] = tx;
         }
     }
 }