Skip to content

Commit

Permalink
Upgrade to latest core changes
Browse files Browse the repository at this point in the history
  • Loading branch information
exploshot committed Sep 10, 2021
1 parent bb904c3 commit 0a56fa0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ set(HUNTER_CONFIGURATION_TYPES Release;Debug CACHE STRING "Hunter configuration
set(HUNTER_JOBS_NUMBER 4 CACHE STRING "Hunter jobs number")
include(hunter/HunterGate)
HunterGate(
URL "https://github.com/cpp-pm/hunter/archive/v0.23.254.tar.gz"
SHA1 "017e688b9848c1f695303e8cfe9f35d40e154112"
URL "https://github.com/cpp-pm/hunter/archive/v0.23.314.tar.gz"
SHA1 "95c47c92f68edb091b5d6d18924baabe02a6962a"
FILEPATH "${CMAKE_CURRENT_LIST_DIR}/cmake/hunter/HunterConfig.cmake"
)

Expand Down
6 changes: 3 additions & 3 deletions src/CryptoNoteWrapper/WalletGreenWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,11 +846,11 @@ QString WalletGreenWorker::getBalanceProof(quint64& _amount, QString& _message)
Crypto::cn_fast_hash(prefix_data.data(), prefix_data.size(), prefix_hash);

// generate proof entries
std::vector<CryptoNote::reserve_proof_entry> proofs(selected_transfers.size());
std::vector<CryptoNote::RESERVE_PROOF_ENTRY> proofs(selected_transfers.size());

for (size_t i = 0; i < selected_transfers.size(); ++i) {
const CryptoNote::TransactionOutputInformation &td = selected_transfers[i];
CryptoNote::reserve_proof_entry& proof = proofs[i];
CryptoNote::RESERVE_PROOF_ENTRY& proof = proofs[i];
proof.key_image = kimages[i];
proof.txid = td.transactionHash;
proof.index_in_tx = td.outputInTransaction;
Expand Down Expand Up @@ -893,7 +893,7 @@ QString WalletGreenWorker::getBalanceProof(quint64& _amount, QString& _message)
Crypto::generate_signature(prefix_hash, keys.address.spendPublicKey, keys.spendSecretKey, signature);

// serialize & encode
CryptoNote::reserve_proof p;
CryptoNote::RESERVE_PROOF p;
p.proofs.assign(proofs.begin(), proofs.end());
memcpy(&p.signature, &signature, sizeof(signature));

Expand Down
11 changes: 10 additions & 1 deletion src/Settings/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,16 @@ Settings& Settings::instance() {


Settings::Settings() : m_p2pBindPort(0), m_cmdLineParser(nullptr) {
m_defaultNodeList << "node-00.qwertycoin.org:8197" << "node-01.qwertycoin.org:8197" << "node-02.qwertycoin.org:8197" << "node-03.qwertycoin.org:8197" << "node-04.qwertycoin.org:8197" << "node-05.qwertycoin.org:8197" << "explorer.qwertycoin.org:8197" << "loop.qwertycoin.org:8197";
m_defaultNodeList << "node-00.qwertycoin.org:8197"
<< "node-01.qwertycoin.org:8197"
<< "node-02.qwertycoin.org:8197"
<< "node-03.qwertycoin.org:8197"
<< "node-04.qwertycoin.org:8197"
<< "node-05.qwertycoin.org:8197"
<< "node-06.qwertycoin.org:8197"
<< "node-07.qwertycoin.org:8197"
<< "node-08.qwertycoin.org:8197"
<< "node-09.qwertycoin.org:8197";

Style* lightStyle = new LightStyle();
Style* darkStyle = new DarkStyle();
Expand Down
2 changes: 1 addition & 1 deletion src/qwertycoinwallet.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Type=Application
Icon=Qwertycoin
MimeType=x-scheme-handler/qwertycoin;
Categories=Office;Finance;
Version=1.2.0
Version=6.0.8
2 changes: 0 additions & 2 deletions src/qwertycoinwallet.qss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ QDateTimeEdit {
selection-color: #000000;
}


QDateTimeEdit::drop-down {
width: 20;
border-top-right-radius: 2px;
Expand All @@ -51,7 +50,6 @@ QLineEdit, QDoubleSpinBox, QSpinBox, QComboBox, QDateTimeEdit {
padding-left: 5px;
}


QComboBox {
border: 1px solid %borderColorDark%;
background-color: transparent;
Expand Down
4 changes: 2 additions & 2 deletions src/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#define PROJECT_COPYRIGHT "@PROJECT_COPYRIGHT@"
#define APP_VER_MAJOR 6
#define APP_VER_MINOR 0
#define APP_VER_REV 3
#define APP_VER_BUILD 6073
#define APP_VER_REV 7
#define APP_VER_BUILD 6101

#define BUILD_COMMIT_ID "@PROJECT_GIT_COMMIT_ID@"
#define PROJECT_VERSION STR(APP_VER_MAJOR) "." STR(APP_VER_MINOR) "." STR(APP_VER_REV)
Expand Down

0 comments on commit 0a56fa0

Please sign in to comment.