mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-14 21:22:18 +02:00
check outbound tunnles for readiness
This commit is contained in:
parent
e8c9d2db10
commit
12465f840a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ namespace client
|
|||
bool IsRunning () const { return m_IsRunning; };
|
||||
boost::asio::io_service& GetService () { return m_Service; };
|
||||
std::shared_ptr<i2p::tunnel::TunnelPool> GetTunnelPool () { return m_Pool; };
|
||||
bool IsReady () const { return m_LeaseSet && m_LeaseSet->HasNonExpiredLeases (); };
|
||||
bool IsReady () const { return m_LeaseSet && m_LeaseSet->HasNonExpiredLeases () && m_Pool->GetOutboundTunnels ().size () > 0; };
|
||||
std::shared_ptr<const i2p::data::LeaseSet> FindLeaseSet (const i2p::data::IdentHash& ident);
|
||||
bool RequestDestination (const i2p::data::IdentHash& dest, RequestComplete requestComplete = nullptr);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue