MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / get_potential_peers

Method get_potential_peers

libraries/net/node.cpp:4898–4906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected