221 | @@ -204,7 +222,7 @@ bool LookupHost(const std::string& name, CNetAddr& addr, bool fAllowLookup)
222 | * @returns Whether or not the service string successfully resolved to any
223 | * resulting services.
224 | */
225 | -bool Lookup(const std::string& name, std::vector<CService>& vAddr, int portDefault, bool fAllowLookup, unsigned int nMaxSolutions)
226 | +bool Lookup(const std::string& name, std::vector<CService>& vAddr, int portDefault, bool fAllowLookup, unsigned int nMaxSolutions, std::function<Optional<std::vector<CNetAddr>>(const std::string&, bool)> mockable_dns_lookup_function)
camelCase is used for the other arguments, is it fine to have an odd snake case argument?
Yes, for new code it's preferred. See doc/developer-notes.md, "Coding Style (C++), Symbol naming conventions".