diff options
Diffstat (limited to 'src/netgroup.cpp')
-rw-r--r-- | src/netgroup.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/netgroup.cpp b/src/netgroup.cpp index a2f1f3460f..5f42d6c719 100644 --- a/src/netgroup.cpp +++ b/src/netgroup.cpp @@ -4,8 +4,16 @@ #include <netgroup.h> +#include <hash.h> #include <util/asmap.h> +uint256 NetGroupManager::GetAsmapChecksum() const +{ + if (!m_asmap.size()) return {}; + + return SerializeHash(m_asmap); +} + std::vector<unsigned char> NetGroupManager::GetGroup(const CNetAddr& address) const { std::vector<unsigned char> vchRet; |