multi: make max fee rate configurable

This commit is contained in:
yyforyongyu
2023-07-12 21:35:22 +08:00
committed by Olaoluwa Osuntokun
parent 258fe7999b
commit 063fb9dd43
4 changed files with 31 additions and 2 deletions

View File

@@ -1071,7 +1071,7 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
MaxInputsPerTx: sweep.DefaultMaxInputsPerTx,
MaxSweepAttempts: sweep.DefaultMaxSweepAttempts,
NextAttemptDeltaFunc: sweep.DefaultNextAttemptDeltaFunc,
MaxFeeRate: sweep.DefaultMaxFeeRate,
MaxFeeRate: cfg.Sweeper.MaxFeeRate,
FeeRateBucketSize: sweep.DefaultFeeRateBucketSize,
})