#include <bootstrapnodeupdater.h>
Definition at line 33 of file bootstrapnodeupdater.h.
◆ BootstrapNodeUpdater()
BootstrapNodeUpdater::BootstrapNodeUpdater |
( |
const QNetworkProxy & |
proxy, |
|
|
Paths & |
_paths, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
Fetches a list of currently online bootstrap nodes from node.tox.chat.
- Parameters
-
proxy | Proxy to use for the lookup, must outlive this object |
Definition at line 210 of file bootstrapnodeupdater.cpp.
◆ availableBootstrapNodes
void BootstrapNodeUpdater::availableBootstrapNodes |
( |
QList< DhtServer > |
nodes | ) |
|
|
signal |
◆ getBootstrapnodes()
◆ loadDefaultBootstrapNodes()
QList< DhtServer > BootstrapNodeUpdater::loadDefaultBootstrapNodes |
( |
| ) |
|
|
static |
Loads the list of built in boostrap nodes.
- Returns
- List of bootstrap nodes on success, empty list on error
Definition at line 250 of file bootstrapnodeupdater.cpp.
◆ loadUserBootrapNodes()
◆ onRequestComplete
void BootstrapNodeUpdater::onRequestComplete |
( |
QNetworkReply * |
reply | ) |
|
|
privateslot |
◆ requestBootstrapNodes()
void BootstrapNodeUpdater::requestBootstrapNodes |
( |
| ) |
|
◆ nam
QNetworkAccessManager BootstrapNodeUpdater::nam |
|
private |
◆ paths
Paths& BootstrapNodeUpdater::paths |
|
private |
◆ proxy
QNetworkProxy BootstrapNodeUpdater::proxy |
|
private |
The documentation for this class was generated from the following files: