MCPcopy Create free account
hub / github.com/cryptonomex/graphene / get_potential_peers

Method get_potential_peers

libraries/net/node.cpp:4892–4900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4890 }
4891
4892 std::vector<potential_peer_record> node_impl::get_potential_peers() const
4893 {
4894 VERIFY_CORRECT_THREAD();
4895 std::vector<potential_peer_record> result;
4896 // use explicit iterators here, for some reason the mac compiler can't used ranged-based for loops here
4897 for (peer_database::iterator itr = _potential_peer_db.begin(); itr != _potential_peer_db.end(); ++itr)
4898 result.push_back(*itr);
4899 return result;
4900 }
4901
4902 void node_impl::set_advanced_node_parameters(const fc::variant_object& params)
4903 {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected