File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ class AddrManImpl
142
142
143
143
const std::vector<bool >& GetAsmap () const ;
144
144
145
- friend class AddrManTest ;
146
145
friend class AddrManDeterministic ;
147
146
148
147
private:
Original file line number Diff line number Diff line change 22
22
23
23
using namespace std ::literals;
24
24
25
- class AddrManTest : public AddrMan
26
- {
27
- public:
28
- explicit AddrManTest (std::vector<bool > asmap = std::vector<bool >())
29
- : AddrMan(asmap, /* deterministic=*/ true , /* consistency_check_ratio=*/ 100 )
30
- {}
31
-
32
- AddrInfo* Find (const CService& addr)
33
- {
34
- LOCK (m_impl->cs );
35
- return m_impl->Find (addr);
36
- }
37
-
38
- AddrInfo* Create (const CAddress& addr, const CNetAddr& addrSource, int * pnId)
39
- {
40
- LOCK (m_impl->cs );
41
- return m_impl->Create (addr, addrSource, pnId);
42
- }
43
-
44
- void Delete (int nId)
45
- {
46
- LOCK (m_impl->cs );
47
- m_impl->Delete (nId);
48
- }
49
- };
50
-
51
25
static CNetAddr ResolveIP (const std::string& ip)
52
26
{
53
27
CNetAddr addr;
You can’t perform that action at this time.
0 commit comments