MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / peerLayoutAboutToChange

Method peerLayoutAboutToChange

src/qt/rpcconsole.cpp:1040–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1038}
1039
1040void RPCConsole::peerLayoutAboutToChange()
1041{
1042 QModelIndexList selected = ui->peerWidget->selectionModel()->selectedIndexes();
1043 cachedNodeids.clear();
1044 for(int i = 0; i < selected.size(); i++)
1045 {
1046 const CNodeCombinedStats *stats = clientModel->getPeerTableModel()->getNodeStats(selected.at(i).row());
1047 cachedNodeids.append(stats->nodeStats.nodeid);
1048 }
1049}
1050
1051void RPCConsole::peerLayoutChanged()
1052{

Callers

nothing calls this directly

Calls 4

getNodeStatsMethod · 0.80
getPeerTableModelMethod · 0.80
clearMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected