mingw cross compile

This commit is contained in:
Aditya Kulkarni
2019-10-27 06:59:23 -07:00
parent e572b5c062
commit d93012dcca
4 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#ifndef CAMOUNT_H
#define CAMOUNT_H
#include "precompiled.h"
class CAmount {
private:

View File

@@ -65,6 +65,7 @@ void ConnectionLoader::doAutoConnect() {
}
auto connection = makeConnection(config);
auto me = this;
// After the lib is initialized, try to do get info
connection->doRPC("info", "", [=](auto) {
@@ -95,7 +96,7 @@ void ConnectionLoader::doAutoConnect() {
if (isSyncing != nullptr && reply.find("synced_blocks") != reply.end()) {
qint64 synced = reply["synced_blocks"].get<json::number_unsigned_t>();
qint64 total = reply["total_blocks"].get<json::number_unsigned_t>();
showInformation("Synced " + QString::number(synced) + " / " + QString::number(total));
me->showInformation("Synced " + QString::number(synced) + " / " + QString::number(total));
}
},
[=](QString err) {