mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
always check profile for peer selection
This commit is contained in:
parent
c873e9dd68
commit
76c54ffdef
4 changed files with 17 additions and 11 deletions
|
@ -42,8 +42,8 @@ namespace data
|
|||
void UpdateTime ();
|
||||
|
||||
bool IsAlwaysDeclining () const { return !m_NumTunnelsAgreed && m_NumTunnelsDeclined >= 5; };
|
||||
bool IsNonResponding () const { return m_NumTunnelsNonReplied > 20 && !(m_NumTunnelsAgreed + m_NumTunnelsDeclined); };
|
||||
bool IsLowPartcipationRate () const;
|
||||
bool IsLowPartcipationRate (int elapsedTime) const;
|
||||
bool IsLowReplyRate (int elapsedTime) const;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue