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

Method rowCount

src/qt/peertablemodel.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int PeerTableModel::rowCount(const QModelIndex& parent) const
43{
44 if (parent.isValid()) {
45 return 0;
46 }
47 return m_peers_data.size();
48}
49
50int PeerTableModel::columnCount(const QModelIndex& parent) const
51{

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected