Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
42
int PeerTableModel::rowCount(const QModelIndex& parent) const
43
{
44
if (parent.isValid()) {
45
return 0;
46
}
47
return m_peers_data.size();
48
}
49
50
int PeerTableModel::columnCount(const QModelIndex& parent) const
51
{
Callers
nothing calls this directly
Calls
2
isValid
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected