aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2014-01-30 10:55:55 +0100
committerlangerhans <[email protected]>2014-06-29 16:00:10 +0200
commitea4d67f3dc87e0e7a1872bd5b5b15e0cac224fd5 (patch)
tree6fee21a6493f8e476b0023da2a90f16e8f8d576d /src/net.cpp
parentrpc: keep track of acceptors (diff)
downloaddiscoin-ea4d67f3dc87e0e7a1872bd5b5b15e0cac224fd5.tar.xz
discoin-ea4d67f3dc87e0e7a1872bd5b5b15e0cac224fd5.zip
replace custom GetFilesize() with boost::filesystem::file_size()
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index f71dc1a08..bd11ddaa9 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -27,6 +27,8 @@
#include <miniupnpc/upnperrors.h>
#endif
+#include <boost/filesystem.hpp>
+
// Dump addresses to peers.dat every 15 minutes (900s)
#define DUMP_ADDRESSES_INTERVAL 900