config: remove deprecated neutrino.feeurl config option

This commit is contained in:
Tom Kirkpatrick 2024-04-23 09:40:05 +02:00 committed by yyforyongyu
parent 399ea864da
commit fa616ee059
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868
3 changed files with 3 additions and 16 deletions

View file

@ -261,18 +261,6 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
return nil, nil, err
}
// Map the deprecated neutrino feeurl flag to the general fee
// url.
if cfg.NeutrinoMode.FeeURL != "" {
if cfg.FeeURL != "" {
return nil, nil, errors.New("feeurl and " +
"neutrino.feeurl are mutually " +
"exclusive")
}
cfg.FeeURL = cfg.NeutrinoMode.FeeURL
}
cc.ChainSource = chain.NewNeutrinoClient(
cfg.ActiveNetParams.Params, cfg.NeutrinoCS,
)

View file

@ -433,6 +433,9 @@
logged](https://github.com/lightningnetwork/lnd/pull/8693) when no values are
specified.
* Removed deprecated `neutrino.feeurl` option. Please use the newer `fee.url`
option instead.
## Performance Improvements
* Watchtower client DB migration to massively [improve the start-up

View file

@ -802,10 +802,6 @@
; NOTE: This value is currently unused.
; neutrino.banthreshold=
; DEPRECATED: Use top level 'feeurl' option. Optional URL for fee estimation. If
; a URL is not specified, static fees will be used for estimation.
; neutrino.feeurl=
; Optional filter header in height:hash format to assert the state of neutrino's
; filter header chain on startup. If the assertion does not hold, then the
; filter header chain will be re-synced from the genesis block.