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