From 87651795d8622d354f8e3c481eb868d9433b841c Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Mon, 8 Feb 2021 14:14:12 +0100 Subject: fuzz: check that ser+unser produces the same AddrMan --- src/addrman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/addrman.h') diff --git a/src/addrman.h b/src/addrman.h index 6347a24d55..5227857fa4 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -58,6 +58,7 @@ private: mutable int nRandomPos{-1}; friend class CAddrMan; + friend class CAddrManDeterministic; public: @@ -776,6 +777,7 @@ private: void RemoveInvalid() EXCLUSIVE_LOCKS_REQUIRED(cs); friend class CAddrManTest; + friend class CAddrManDeterministic; }; #endif // BITCOIN_ADDRMAN_H -- cgit v1.2.3