aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-04-15 18:20:05 -0400
committerPieter Wuille <[email protected]>2012-04-17 20:02:38 +0200
commitccd65d426156c3d5b7a8f1123210decd1f06fe42 (patch)
tree6dc2f45f16ce625fae84fad2bda4fd2511d752db /src
parentMove CWalletDB code to new walletdb module. (diff)
downloaddiscoin-ccd65d426156c3d5b7a8f1123210decd1f06fe42.tar.xz
discoin-ccd65d426156c3d5b7a8f1123210decd1f06fe42.zip
Move proto version to version.h. Reduce header deps a bit more.
Diffstat (limited to 'src')
-rw-r--r--src/addrman.h1
-rw-r--r--src/protocol.h1
-rw-r--r--src/uint256.h5
3 files changed, 4 insertions, 3 deletions
diff --git a/src/addrman.h b/src/addrman.h
index 160f8f8ff..7652df66a 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -6,6 +6,7 @@
#include "netbase.h"
#include "protocol.h"
+#include "util.h"
#include <map>
diff --git a/src/protocol.h b/src/protocol.h
index a820563d0..f7331c192 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -12,7 +12,6 @@
#include "serialize.h"
#include "netbase.h"
-#include "util.h"
#include <string>
#include "uint256.h"
diff --git a/src/uint256.h b/src/uint256.h
index 309c1f799..352458053 100644
--- a/src/uint256.h
+++ b/src/uint256.h
@@ -5,12 +5,13 @@
#ifndef BITCOIN_UINT256_H
#define BITCOIN_UINT256_H
-#include "serialize.h"
-
#include <limits.h>
+#include <string.h>
#include <string>
#include <vector>
+#include "version.h"
+
typedef long long int64;
typedef unsigned long long uint64;