MCPcopy Create free account
hub / github.com/LUX-Core/lux / nodes

Method nodes

src/cpp-ethereum/libp2p/NodeTable.cpp:118–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118list<NodeID> NodeTable::nodes() const
119{
120 list<NodeID> nodes;
121 DEV_GUARDED(x_nodes)
122 for (auto& i: m_nodes)
123 nodes.push_back(i.second->id);
124 return nodes;
125}
126
127list<NodeEntry> NodeTable::snapshot() const
128{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 2

DEV_GUARDEDFunction · 0.70
push_backMethod · 0.45

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.36