Don't scan outputs which are dust, track dust change as operating costs

Fixes #299.
This commit is contained in:
Luke Parker
2023-10-19 08:02:10 -04:00
parent d833254b84
commit 7b2dec63ce
8 changed files with 70 additions and 22 deletions

View File

@@ -745,9 +745,8 @@ impl<D: Db, N: Network> MultisigManager<D, N> {
res.push((key, id, tx, eventuality));
}
// TODO: If the TX is None, restore its inputs to the scheduler
// Otherwise, if the TX had a change output, dropping its inputs would burn funds
// Are there exceptional cases upon rotation?
// TODO: If the TX is None, restore its inputs to the scheduler for efficiency's sake
// If this TODO is removed, also reduce the operating costs
}
res
};