lntest: allow specifying min relay feerate in itest

This commit is contained in:
yyforyongyu committed 2024-07-24 20:05:00 +08:00
1 parent ce43e4bab7
commit a1d71afde8
2 files changed
+24 -6

No files matched your search

+6
View File
@@ -860,6 +860,12 @@ func (h *HarnessTest) SetFeeEstimateWithConf(
h.feeService.SetFeeRate(fee, conf)
}
// SetMinRelayFeerate sets a min relay fee rate to be returned from fee
// estimator.
func (h *HarnessTest) SetMinRelayFeerate(fee chainfee.SatPerKVByte) {
h.feeService.SetMinRelayFeerate(fee)
}
// validateNodeState checks that the node doesn't have any uncleaned states
// which will affect its following tests.
func (h *HarnessTest) validateNodeState(hn *node.HarnessNode) error {