forked from lthn/blockchain
p2p: minor issues fixed
This commit is contained in:
parent
f70489a02d
commit
c51ef0cda7
2 changed files with 5 additions and 3 deletions
|
|
@ -80,7 +80,8 @@ namespace nodetool
|
|||
m_ip_address{},
|
||||
m_last_stat_request_time{},
|
||||
m_use_only_priority_peers(false),
|
||||
m_peer_livetime{}
|
||||
m_peer_livetime{},
|
||||
m_debug_requests_enabled(false)
|
||||
|
||||
{}
|
||||
|
||||
|
|
|
|||
|
|
@ -100,9 +100,9 @@ namespace nodetool
|
|||
if (m_offline_mode)
|
||||
return false;
|
||||
|
||||
//@#@ workaround
|
||||
//@#@ temporary workaround
|
||||
return true;
|
||||
|
||||
#if 0
|
||||
CRITICAL_REGION_LOCAL(m_blocked_ips_lock);
|
||||
auto it = m_blocked_ips.find(addr);
|
||||
if(it == m_blocked_ips.end())
|
||||
|
|
@ -114,6 +114,7 @@ namespace nodetool
|
|||
return true;
|
||||
}
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
//-----------------------------------------------------------------------------------
|
||||
template<class t_payload_net_handler>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue