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

Method CalculateKeyedNetGroup

src/net.cpp:2890–2895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2888}
2889
2890uint64_t CConnman::CalculateKeyedNetGroup(const CAddress& ad) const
2891{
2892 std::vector<unsigned char> vchNetGroup(ad.GetGroup());
2893
2894 return GetDeterministicRandomizer(RANDOMIZER_ID_NETGROUP).Write(vchNetGroup.data(), vchNetGroup.size()).Finalize();
2895}

Callers

nothing calls this directly

Calls 5

GetGroupMethod · 0.80
FinalizeMethod · 0.45
WriteMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected