multi: add new config option BudgetConfig and NoDeadlineConfTarget

This commit adds a new group config `BudgetConfig` to allow users
specifying their own preference when sweeping outputs. And a new config
option `NoDeadlineConfTarget` is added in case the user wants to use a
different "lazy" conf target.
This commit is contained in:
yyforyongyu
2024-03-19 04:45:05 +08:00
parent c44b8a4b45
commit 0a611aae00
9 changed files with 298 additions and 20 deletions

View File

@ -2677,6 +2677,7 @@ func TestSweepPendingInputs(t *testing.T) {
GenSweepScript: func() ([]byte, error) {
return testPubKey.SerializeCompressed(), nil
},
NoDeadlineConfTarget: uint32(DefaultDeadlineDelta),
})
// Set a current height to test the deadline override.