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:
yyforyongyu committed 2024-12-20 17:53:59 +08:00
1 parent 5f64280df4
commit d0c7fd8aac
5 files changed
+36

No files matched your search

+4
View File
@@ -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