MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / Start

Method Start

libi2pd_client/AddressBook.cpp:371–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 }
370
371 void AddressBook::Start ()
372 {
373 i2p::config::GetOption("addressbook.enabled", m_IsEnabled);
374 if (m_IsEnabled)
375 {
376 if (!m_Storage)
377 m_Storage = new AddressBookFilesystemStorage;
378 m_Storage->Init();
379 LoadHosts (); /* try storage, then hosts.txt, then download */
380 StartSubscriptions ();
381 StartLookups ();
382 ScheduleCacheUpdate ();
383 }
384 }
385
386 void AddressBook::StartResolvers ()
387 {

Callers

nothing calls this directly

Calls 2

GetOptionFunction · 0.85
InitMethod · 0.45

Tested by

no test coverage detected