mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
sweep: create sweep parameters struct
Prepares for adding more input-specific sweep parameters.
This commit is contained in:
@@ -43,8 +43,8 @@ type OnionProcessor interface {
|
||||
// UtxoSweeper defines the sweep functions that contract court requires.
|
||||
type UtxoSweeper interface {
|
||||
// SweepInput sweeps inputs back into the wallet.
|
||||
SweepInput(input input.Input,
|
||||
feePreference sweep.FeePreference) (chan sweep.Result, error)
|
||||
SweepInput(input input.Input, params sweep.Params) (chan sweep.Result,
|
||||
error)
|
||||
|
||||
// CreateSweepTx accepts a list of inputs and signs and generates a txn
|
||||
// that spends from them. This method also makes an accurate fee
|
||||
|
Reference in New Issue
Block a user