diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-03-31 17:58:25 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-11 15:29:19 +0200 |
commit | 23aa78c405f82257e8578afb3d5d244aa27dcd74 (patch) | |
tree | 27e99a7b7ef6c3f9d178e394b8ef630bbef852f3 /src/netbase.h | |
parent | 508471bbc0b43a8d5cabeae5c429f8416b9a1e99 (diff) |
IPv6 node support
This will make bitcoin relay valid routable IPv6 addresses, and when
USE_IPV6 is enabled, listen on IPv6 interfaces and attempt connections
to IPv6 addresses.
Diffstat (limited to 'src/netbase.h')
-rw-r--r-- | src/netbase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netbase.h b/src/netbase.h index e5c466e4f0..acbcc36d18 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -31,6 +31,7 @@ class CNetAddr void Init(); void SetIP(const CNetAddr& ip); bool IsIPv4() const; // IPv4 mapped address (::FFFF:0:0/96, 0.0.0.0/0) + bool IsIPv6() const; // IPv6 address (not IPv4) bool IsRFC1918() const; // IPv4 private networks (10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12) bool IsRFC3849() const; // IPv6 documentation address (2001:0DB8::/32) bool IsRFC3927() const; // IPv4 autoconfig (169.254.0.0/16) |