94 (
void)service.GetKey();
95 (
void)service.GetPort();
96 (
void)service.ToStringAddrPort();
108 if (service.ToStringAddrPort() ==
other_service.ToStringAddrPort()) {
void SetIP(const CNetAddr &ip)
A combination of a network address (CNetAddr) and a (TCP) port.
@ NET_ONION
TOR (v2 or v3)
@ NET_UNROUTABLE
Addresses from these networks are not publicly routable on the global Internet.
@ NET_INTERNAL
A set of addresses that represent the hash of a string or FQDN.
CNetAddr ConsumeNetAddr(FuzzedDataProvider &fuzzed_data_provider, FastRandomContext *rand) noexcept
Create a CNetAddr.
void SeedRandomStateForTest(SeedRand seedtype)
Seed the global RNG state for testing and log the seed value.
@ ZEROS
Seed with a compile time constant of zeros.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider