| 83 | } |
| 84 | |
| 85 | static void AddrManSelect(benchmark::Bench& bench) |
| 86 | { |
| 87 | AddrMan addrman{EMPTY_ASMAP, /*deterministic=*/false, ADDRMAN_CONSISTENCY_CHECK_RATIO}; |
| 88 | |
| 89 | FillAddrMan(addrman); |
| 90 | |
| 91 | bench.run([&] { |
| 92 | const auto& address = addrman.Select(); |
| 93 | assert(address.first.GetPort() > 0); |
| 94 | }); |
| 95 | } |
| 96 | |
| 97 | static void AddrManGetAddr(benchmark::Bench& bench) |
| 98 | { |
nothing calls this directly
no test coverage detected