aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/addrman.h')
-rw-r--r--src/addrman.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/addrman.h b/src/addrman.h
index 0646ef368d..472282833b 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -17,6 +17,12 @@
#include <utility>
#include <vector>
+class InvalidAddrManVersionError : public std::ios_base::failure
+{
+public:
+ InvalidAddrManVersionError(std::string msg) : std::ios_base::failure(msg) { }
+};
+
class AddrManImpl;
/** Default for -checkaddrman */