aboutsummaryrefslogtreecommitdiff
path: root/src/addrdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/addrdb.h')
-rw-r--r--src/addrdb.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/addrdb.h b/src/addrdb.h
index 1e0ccb1f60..567b9973b7 100644
--- a/src/addrdb.h
+++ b/src/addrdb.h
@@ -8,10 +8,8 @@
#include <fs.h>
#include <net_types.h> // For banmap_t
-#include <serialize.h>
#include <univalue.h>
-#include <string>
#include <vector>
class CAddress;
@@ -44,12 +42,6 @@ public:
*/
explicit CBanEntry(const UniValue& json);
- SERIALIZE_METHODS(CBanEntry, obj)
- {
- uint8_t ban_reason = 2; //! For backward compatibility
- READWRITE(obj.nVersion, obj.nCreateTime, obj.nBanUntil, ban_reason);
- }
-
void SetNull()
{
nVersion = CBanEntry::CURRENT_VERSION;