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

Method updateConfirmations

src/qt/transactiontablemodel.cpp:284–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void TransactionTableModel::updateConfirmations()
285{
286 // Blocks came in since last poll.
287 // Invalidate status (number of confirmations) and (possibly) description
288 // for all rows. Qt is smart enough to only actually request the data for the
289 // visible rows.
290 Q_EMIT dataChanged(index(0, Status), index(priv->size()-1, Status));
291 Q_EMIT dataChanged(index(0, ToAddress), index(priv->size()-1, ToAddress));
292}
293
294int TransactionTableModel::rowCount(const QModelIndex &parent) const
295{

Callers 1

pollBalanceChangedMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected