diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-05-19 15:15:00 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-08-12 16:44:09 +0200 |
commit | 386ec192a57b76492125d691ceda1b4aa832312e (patch) | |
tree | 02338397b2bd70204ccba5ac2406e197f791b172 /src/qt/bitcoingui.h | |
parent | d42cb790687788c78aa2f0c1988238ab52050782 (diff) |
Reduce cs_main lock accumulation during GUI startup
Diffstat (limited to 'src/qt/bitcoingui.h')
-rw-r--r-- | src/qt/bitcoingui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.h b/src/qt/bitcoingui.h index 697e83e772..4c55f28693 100644 --- a/src/qt/bitcoingui.h +++ b/src/qt/bitcoingui.h @@ -43,6 +43,7 @@ enum class SynchronizationState; namespace interfaces { class Handler; class Node; +struct BlockAndHeaderTipInfo; } QT_BEGIN_NAMESPACE @@ -75,7 +76,7 @@ public: /** Set the client model. The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic. */ - void setClientModel(ClientModel *clientModel); + void setClientModel(ClientModel *clientModel = nullptr, interfaces::BlockAndHeaderTipInfo* tip_info = nullptr); #ifdef ENABLE_WALLET void setWalletController(WalletController* wallet_controller); #endif |