Page MenuHomePhabricator

Only update the updateSmartFeeLabel once in sync
ClosedPublic

Authored by PiRK on Nov 24 2021, 14:56.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC4a41495d0e85: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable