@@ -22,7 +22,7 @@ sudo apt install torsocks
|
|||||||
```
|
```
|
||||||
## Connection to our TOR onion service Server
|
## Connection to our TOR onion service Server
|
||||||
```
|
```
|
||||||
* Open SDL Edit->Settings->LightwalletServer->rnhk4pwlsbaqzx7wcqfy47lijf2opklstaukq35reiz5rn76crfqpjqd.onion:9067
|
* Open SDL Edit->Settings->LightwalletServer->6onaaujm4ozaokzu.onion:80
|
||||||
* Open the folder of SDL in a Terminal -> Enter: TORSOCKS_LOG_LEVEL=1 torsocks -i ./SilentDragonLite
|
* Open the folder of SDL in a Terminal -> Enter: TORSOCKS_LOG_LEVEL=1 torsocks -i ./SilentDragonLite
|
||||||
```
|
```
|
||||||
## Note Management
|
## Note Management
|
||||||
|
|||||||
@@ -124,14 +124,14 @@ void ConnectionLoader::doAutoConnect()
|
|||||||
// Check the sync status
|
// Check the sync status
|
||||||
if (isSyncing != nullptr && isSyncing->loadRelaxed()) {
|
if (isSyncing != nullptr && isSyncing->loadRelaxed()) {
|
||||||
// Get the sync status
|
// Get the sync status
|
||||||
|
|
||||||
|
try {
|
||||||
connection->doRPC("syncstatus", "", [=](QJsonValue reply) {
|
connection->doRPC("syncstatus", "", [=](QJsonValue reply) {
|
||||||
|
|
||||||
if (isSyncing != nullptr && !reply.toObject()["synced_blocks"].isUndefined())
|
if (isSyncing != nullptr && reply.toObject()["synced_blocks"].toInt())
|
||||||
{
|
{
|
||||||
qint64 synced = reply["synced_blocks"].toInt();
|
qint64 synced = reply["synced_blocks"].toInt();
|
||||||
main->logger->write("synced_blocks" + synced) ;
|
|
||||||
qint64 total = reply["total_blocks"].toInt();
|
qint64 total = reply["total_blocks"].toInt();
|
||||||
main->logger->write("total_blocks" + total) ;
|
|
||||||
me->showInformation(
|
me->showInformation(
|
||||||
"Synced " + QString::number(synced) + " / " + QString::number(total)
|
"Synced " + QString::number(synced) + " / " + QString::number(total)
|
||||||
);
|
);
|
||||||
@@ -140,6 +140,12 @@ void ConnectionLoader::doAutoConnect()
|
|||||||
[=](QString err) {
|
[=](QString err) {
|
||||||
qDebug() << "Sync error" << err;
|
qDebug() << "Sync error" << err;
|
||||||
});
|
});
|
||||||
|
}catch (...)
|
||||||
|
{
|
||||||
|
main->logger->write("catch sync progress reply");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -841,7 +841,7 @@ void MainWindow::setupSettingsModal() {
|
|||||||
|
|
||||||
// List of default servers
|
// List of default servers
|
||||||
settings.cmbServer->addItem("https://lite.myhush.org");
|
settings.cmbServer->addItem("https://lite.myhush.org");
|
||||||
settings.cmbServer->addItem("rnhk4pwlsbaqzx7wcqfy47lijf2opklstaukq35reiz5rn76crfqpjqd.onion:9067");
|
settings.cmbServer->addItem("6onaaujm4ozaokzu.onion:80");
|
||||||
|
|
||||||
|
|
||||||
// Load current values into the dialog
|
// Load current values into the dialog
|
||||||
|
|||||||
Reference in New Issue
Block a user