Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Qt] reduce cs_main locks during tip update, more fluently update UI #7112
At the moment, the UI gets often not updated during initial sync or a catch-up of serval blocks. The UI's try_lock often can't acquire the lock which result in a bad user experience ("Baby, it's not updating!").
This PR changes the blocktip-update signal parameter form a bare hash (
The timer based update (every 250ms) is still active for bandwidth and mempool UI observation, although there no cs_main lock is required.
referenced this pull request
Nov 27, 2015
Looks like it can still hang here:
getVerificationProgress takes a lock on cs_main
Added another commit that solves the