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

Method CalculateKeyedNetGroup

src/net.cpp:4220–4225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4218}
4219
4220uint64_t CConnman::CalculateKeyedNetGroup(const CNetAddr& address) const
4221{
4222 std::vector<unsigned char> vchNetGroup(m_netgroupman.GetGroup(address));
4223
4224 return GetDeterministicRandomizer(RANDOMIZER_ID_NETGROUP).Write(vchNetGroup).Finalize();
4225}
4226
4227void CConnman::PerformReconnections()
4228{

Callers

nothing calls this directly

Calls 3

GetGroupMethod · 0.80
FinalizeMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected