aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_peerlist.h
diff options
context:
space:
mode:
authorJavier Smooth <iamjaviersmooth@gmail.com>2015-11-23 17:34:55 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-11-23 18:06:20 +0000
commit4cea2b13b221bed66023254dd3356f2548a08df4 (patch)
treefe379936ba2b09492cc9eb8b353e92b3fffeaacc /src/p2p/net_peerlist.h
parentquiet down p2p logging a bit (diff)
downloadmonero-4cea2b13b221bed66023254dd3356f2548a08df4.tar.xz
Add IP blocking for misbehaving nodes (adapted from Boolberry)
With minor cleanup and fixes (spelling, indent) by moneromooo
Diffstat (limited to '')
-rw-r--r--src/p2p/net_peerlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p2p/net_peerlist.h b/src/p2p/net_peerlist.h
index f738c68f6..3d8b08ce6 100644
--- a/src/p2p/net_peerlist.h
+++ b/src/p2p/net_peerlist.h
@@ -53,6 +53,7 @@
#include "net_peerlist_boost_serialization.h"
+#define CURRENT_PEERLIST_STORAGE_ARCHIVE_VER 4
namespace nodetool
{
@@ -394,4 +395,4 @@ namespace nodetool
//--------------------------------------------------------------------------------------------------
}
-BOOST_CLASS_VERSION(nodetool::peerlist_manager, 4)
+BOOST_CLASS_VERSION(nodetool::peerlist_manager, CURRENT_PEERLIST_STORAGE_ARCHIVE_VER)