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

Function ASMapGetMappedASUnmappedv4

src/bench/asmap.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static void ASMapGetMappedASUnmappedv4(benchmark::Bench& bench)
73{
74 // Reserved as per RFC 5737 (unmapped)
75 std::vector<CNetAddr> addrs{LookupAddr("203.0.113.0")};
76 BenchGetMappedAS(bench, addrs, /*check=*/false);
77}
78
79static void ASMapGetMappedASUnmappedv6(benchmark::Bench& bench)
80{

Callers

nothing calls this directly

Calls 2

LookupAddrFunction · 0.85
BenchGetMappedASFunction · 0.85

Tested by

no test coverage detected