Commit Graph
3 Commits
Author SHA1 Message Date
Joost Jager 6977d59e35 cnct: reuse sweep tx logic for success resolver 2018-10-17 12:44:34 +02:00
Joost Jager 7d69df77ed sweep: create new Input interface
This commit introduces a common interface for sweep
inputs. It eliminates the type checking from UtxoSweeper.

Also the formerly present Amount() getter is removed. It was redundant
because this value is present in SignDesc().Output.Value as well.
2018-10-17 12:44:33 +02:00
Joost Jager 9fcc7ee390 utxonursery: move spendable output structs to sweep package
This commit moves the output structs to a new package as a
preparation for moving more logic into that package.
2018-10-17 12:44:33 +02:00