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

Method updateLabelLocked

src/qt/coincontroldialog.cpp:374–384  ·  view source on GitHub ↗

shows count of locked unspent outputs

Source from the content-addressed store, hash-verified

372
373// shows count of locked unspent outputs
374void CoinControlDialog::updateLabelLocked()
375{
376 std::vector<COutPoint> vOutpts;
377 model->wallet().listLockedCoins(vOutpts);
378 if (vOutpts.size() > 0)
379 {
380 ui->labelLocked->setText(tr("(%1 locked)").arg(vOutpts.size()));
381 ui->labelLocked->setVisible(true);
382 }
383 else ui->labelLocked->setVisible(false);
384}
385
386void CoinControlDialog::updateLabels(CCoinControl& m_coin_control, WalletModel *model, QDialog* dialog)
387{

Callers

nothing calls this directly

Calls 4

listLockedCoinsMethod · 0.80
setTextMethod · 0.80
walletMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected