Dero HE fork support (astrobwt/v2 algorithm)
This commit is contained in:
parent
f7543ada60
commit
b5da73389f
27 changed files with 879 additions and 39 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
Url(const char *host, uint16_t port, bool tls = false, Scheme scheme = UNSPECIFIED);
|
||||
|
||||
inline bool isTLS() const { return m_tls; }
|
||||
inline bool isWSS() const { return m_wss; }
|
||||
inline bool isValid() const { return !m_host.isNull() && m_port > 0; }
|
||||
inline const String &host() const { return m_host; }
|
||||
inline const String &url() const { return m_url; }
|
||||
|
@ -57,6 +58,7 @@ protected:
|
|||
bool parseIPv6(const char *addr);
|
||||
|
||||
bool m_tls = false;
|
||||
bool m_wss = false;
|
||||
Scheme m_scheme = UNSPECIFIED;
|
||||
String m_host;
|
||||
String m_url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue