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:
5 files changed
+36
No files matched your search
@@ -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