utxonursery: remove unused commit sweep code

Now that the commit sweep resolver is no longer relying on the nursery,
all code associated with commit sweeping can be removed.
This commit is contained in:
Joost Jager
2019-10-30 11:44:39 +01:00
parent 9acb236665
commit 919ab60540
8 changed files with 7 additions and 126 deletions

View File

@@ -113,8 +113,7 @@ type ChainArbitratorConfig struct {
// the process of incubation. This is used when a resolver wishes to
// pass off the output to the nursery as we're only waiting on an
// absolute/relative item block.
IncubateOutputs func(wire.OutPoint, *lnwallet.CommitOutputResolution,
*lnwallet.OutgoingHtlcResolution,
IncubateOutputs func(wire.OutPoint, *lnwallet.OutgoingHtlcResolution,
*lnwallet.IncomingHtlcResolution, uint32) error
// PreimageDB is a global store of all known pre-images. We'll use this