mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
redo no save useless profiles
This commit is contained in:
parent
3bc56ba423
commit
1d8a91c5cc
2 changed files with 17 additions and 13 deletions
|
@ -60,7 +60,8 @@ namespace data
|
|||
|
||||
boost::posix_time::ptime GetLastUpdateTime () const { return m_LastUpdateTime; };
|
||||
bool IsUpdated () const { return m_IsUpdated; };
|
||||
bool IsUseful() const { return m_IsUseful; };
|
||||
|
||||
bool IsUseful() const;
|
||||
|
||||
private:
|
||||
|
||||
|
@ -84,8 +85,6 @@ namespace data
|
|||
uint32_t m_NumTimesTaken;
|
||||
uint32_t m_NumTimesRejected;
|
||||
bool m_HasConnected; // incoming connection received
|
||||
// is need to be saved
|
||||
bool m_IsUseful;
|
||||
};
|
||||
|
||||
std::shared_ptr<RouterProfile> GetRouterProfile (const IdentHash& identHash);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue