From 67a42f929b1434f647c63922fd02dc2b93b28060 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 3 Jan 2012 23:33:31 +0100 Subject: Network stack refactor This introduces CNetAddr and CService, respectively wrapping an (IPv6) IP address and an IP+port combination. This functionality used to be part of CAddress, which also contains network flags and connection attempt information. These extra fields are however not always necessary. These classes, along with logic for creating connections and doing name lookups, are moved to netbase.{h,cpp}, which does not depend on headers.h. Furthermore, CNetAddr is mostly IPv6-ready, though IPv6 functionality is not yet enabled for the application itself. --- src/makefile.unix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/makefile.unix') diff --git a/src/makefile.unix b/src/makefile.unix index 055f7ab297..8b41b74a1b 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -88,6 +88,7 @@ HEADERS = \ base58.h \ bignum.h \ checkpoints.h \ + compat.h \ crypter.h \ db.h \ headers.h \ @@ -109,6 +110,7 @@ HEADERS = \ OBJS= \ obj/checkpoints.o \ + obj/netbase.o \ obj/crypter.o \ obj/key.o \ obj/db.o \ -- cgit v1.2.3