MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / LimitTransactionRows

Method LimitTransactionRows

src/qt/overviewpage.cpp:258–265  ·  view source on GitHub ↗

Only show most recent NUM_ITEMS rows

Source from the content-addressed store, hash-verified

256
257// Only show most recent NUM_ITEMS rows
258void OverviewPage::LimitTransactionRows()
259{
260 if (filter && ui->listTransactions && ui->listTransactions->model() && filter.get() == ui->listTransactions->model()) {
261 for (int i = 0; i < filter->rowCount(); ++i) {
262 ui->listTransactions->setRowHidden(i, i >= NUM_ITEMS);
263 }
264 }
265}
266
267void OverviewPage::updateDisplayUnit()
268{

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
rowCountMethod · 0.45

Tested by

no test coverage detected