lnwallet: add configurable cache for web fee estimator

Add fee.min-update-timeout and fee.max-update-timeout config options to
allow configuration of the web fee estimator cache.
This commit is contained in:
Tom Kirkpatrick
2024-04-23 09:49:04 +02:00
committed by yyforyongyu
parent fa616ee059
commit 3837c3f12e
15 changed files with 202 additions and 55 deletions

View File

@@ -17,7 +17,7 @@ import (
// WebFeeService defines an interface that's used to provide fee estimation
// service used in the integration tests. It must provide an URL so that a lnd
// node can be started with the flag `--feeurl` and uses the customized fee
// node can be started with the flag `--fee.url` and uses the customized fee
// estimator.
type WebFeeService interface {
// Start starts the service.