Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
251ui->labelWalletStatus->setIcon(icon);252}254QWidget::changeEvent(e);255}257// Only show most recent NUM_ITEMS rows258void OverviewPage::LimitTransactionRows()259{260if (filter && ui->listTransactions && ui->listTransactions->model() && filter.get() == ui->listTransactions->model()) {261for (int i = 0; i < filter->rowCount(); ++i) {262ui->listTransactions->setRowHidden(i, i >= NUM_ITEMS);263}264}265}267void OverviewPage::updateDisplayUnit()268{269if (walletModel && walletModel->getOptionsModel()) {270const auto& balances = walletModel->getCachedBalance();271if (balances.balance != -1) {272setBalance(balances);273}275// Update txdelegate->unit with the current unit276txdelegate->unit = walletModel->getOptionsModel()->getDisplayUnit();278ui->listTransactions->update();279}280}282void OverviewPage::updateAlerts(const QString &warnings)283{284this->ui->labelAlerts->setVisible(!warnings.isEmpty());285this->ui->labelAlerts->setText(warnings);286}288void OverviewPage::showOutOfSyncWarning(bool fShow)289{290ui->labelWalletStatus->setVisible(fShow);291ui->labelTransactionsStatus->setVisible(fShow);292}294void OverviewPage::setMonospacedFont(const QFont& f)295{296ui->labelBalance->setFont(f);297ui->labelUnconfirmed->setFont(f);298ui->labelImmature->setFont(f);299ui->labelTotal->setFont(f);300}
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.