mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
config: remove deprecated neutrino.feeurl config option
This commit is contained in:
parent
399ea864da
commit
fa616ee059
3 changed files with 3 additions and 16 deletions
|
@ -261,18 +261,6 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
|
||||||
return nil, nil, err
|
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(
|
cc.ChainSource = chain.NewNeutrinoClient(
|
||||||
cfg.ActiveNetParams.Params, cfg.NeutrinoCS,
|
cfg.ActiveNetParams.Params, cfg.NeutrinoCS,
|
||||||
)
|
)
|
||||||
|
|
|
@ -433,6 +433,9 @@
|
||||||
logged](https://github.com/lightningnetwork/lnd/pull/8693) when no values are
|
logged](https://github.com/lightningnetwork/lnd/pull/8693) when no values are
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
|
* Removed deprecated `neutrino.feeurl` option. Please use the newer `fee.url`
|
||||||
|
option instead.
|
||||||
|
|
||||||
## Performance Improvements
|
## Performance Improvements
|
||||||
|
|
||||||
* Watchtower client DB migration to massively [improve the start-up
|
* Watchtower client DB migration to massively [improve the start-up
|
||||||
|
|
|
@ -802,10 +802,6 @@
|
||||||
; NOTE: This value is currently unused.
|
; NOTE: This value is currently unused.
|
||||||
; neutrino.banthreshold=
|
; 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
|
; 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 on startup. If the assertion does not hold, then the
|
||||||
; filter header chain will be re-synced from the genesis block.
|
; filter header chain will be re-synced from the genesis block.
|
||||||
|
|
Loading…
Add table
Reference in a new issue