/// <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; } } }