1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 13:42:54 -05:00

Added DnsRecords class.

This commit is contained in:
XMRig
2021-03-14 09:44:56 +07:00
parent c6bcea3811
commit 5b189696d7
12 changed files with 187 additions and 98 deletions

View File

@@ -50,6 +50,7 @@ using BIO = struct bio_st;
namespace xmrig {
class Dns;
class IClientListener;
class JobResult;
@@ -79,7 +80,7 @@ protected:
void deleteLater() override;
void tick(uint64_t now) override;
void onResolved(const Dns &dns, int status) override;
void onResolved(const DnsRecords &records, int status) override;
inline bool hasExtension(Extension extension) const noexcept override { return m_extensions.test(extension); }
inline const char *mode() const override { return "pool"; }