HomePhabricator

Only update the updateSmartFeeLabel once in sync

Description

Only update the updateSmartFeeLabel once in sync

Summary:

Calling updateSmartFeeLabel and therefore estimateSmartFee is pointless during IBD.

GUI freezes appear because estimateSmartFee competes with processBlock for the m_cs_fee_estimator lock leading to multiple seconds of blocking the GUI thread in updateSmartFeeLabel.

This is a backport of core-gui#97

Test Plan: ninja && src/qt/bitcoin-qt

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10516

Details

Provenance
Jonas Schnelli <dev@jonasschnelli.ch>Authored on Sep 18 2020, 09:00
PiRKCommitted on Nov 25 2021, 15:16
PiRKPushed on Nov 25 2021, 15:16
Reviewer
Restricted Project
Differential Revision
D10516: Only update the updateSmartFeeLabel once in sync
Parents
rABC7aa596313eee: [avalanche] Rename the peer set tag proof_index => by_proofid for consistency
Branches
Unknown
Tags
Unknown