mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-26 21:51:27 +02:00
sweep: add new interface method Immediate
This prepares the following commit where we now let the fee bumpr decides whether to broadcast immediately or not.
This commit is contained in:
@@ -143,6 +143,10 @@ type BumpRequest struct {
|
||||
// ExtraTxOut tracks if this bump request has an optional set of extra
|
||||
// outputs to add to the transaction.
|
||||
ExtraTxOut fn.Option[SweepOutput]
|
||||
|
||||
// Immediate is used to specify that the tx should be broadcast
|
||||
// immediately.
|
||||
Immediate bool
|
||||
}
|
||||
|
||||
// MaxFeeRateAllowed returns the maximum fee rate allowed for the given
|
||||
|
Reference in New Issue
Block a user