mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 23:08:53 +00:00
net_peerlist: move a couple functions from public to private
They do not take the object lock, and are meant to be used only internally, called from a function which does take the lock.
This commit is contained in:
parent
91001aa446
commit
af2106122d
@ -80,8 +80,6 @@ namespace nodetool
|
||||
bool set_peer_just_seen(peerid_type peer, const net_address& addr);
|
||||
bool set_peer_unreachable(const peerlist_entry& pr);
|
||||
bool is_ip_allowed(uint32_t ip);
|
||||
void trim_white_peerlist();
|
||||
void trim_gray_peerlist();
|
||||
|
||||
|
||||
private:
|
||||
@ -166,6 +164,8 @@ namespace nodetool
|
||||
|
||||
private:
|
||||
bool peers_indexed_from_old(const peers_indexed_old& pio, peers_indexed& pi);
|
||||
void trim_white_peerlist();
|
||||
void trim_gray_peerlist();
|
||||
|
||||
friend class boost::serialization::access;
|
||||
epee::critical_section m_peerlist_lock;
|
||||
|
Loading…
Reference in New Issue
Block a user