MCPcopy Create free account
hub / github.com/ElementsProject/elements / startPollBalance

Method startPollBalance

src/qt/walletmodel.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void WalletModel::startPollBalance()
89{
90 // This timer will be fired repeatedly to update the balance
91 // Since the QTimer::timeout is a private signal, it cannot be used
92 // in the GUIUtil::ExceptionSafeConnect directly.
93 connect(timer, &QTimer::timeout, this, &WalletModel::timerTimeout);
94 GUIUtil::ExceptionSafeConnect(this, &WalletModel::timerTimeout, this, &WalletModel::pollBalanceChanged);
95 timer->start(MODEL_UPDATE_DELAY);
96}
97
98void WalletModel::setClientModel(ClientModel* client_model)
99{

Callers

nothing calls this directly

Calls 2

ExceptionSafeConnectFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected