use copy of excluded peers

This commit is contained in:
orignal 2024-04-27 08:38:43 -04:00
parent 8fe989050e
commit 648a884a18
2 changed files with 15 additions and 3 deletions

View file

@ -35,8 +35,8 @@ namespace data
~RequestedDestination ();
const IdentHash& GetDestination () const { return m_Destination; };
int GetNumExcludedPeers () const { return m_ExcludedPeers.size (); };
const std::set<IdentHash>& GetExcludedPeers () const { return m_ExcludedPeers; };
size_t GetNumExcludedPeers () const;
std::set<IdentHash> GetExcludedPeers () const;
void ClearExcludedPeers ();
bool IsExploratory () const { return m_IsExploratory; };
bool IsDirect () const { return m_IsDirect; };