Browse Source

updates

pull/3/head
Duke Leto 3 years ago
parent
commit
892d0339f6
  1. 5
      AUTHORS
  2. 2
      build.sh
  3. 2
      res/libsodium/buildlibsodium.sh
  4. 407
      res/silentdragon_bg.ts
  5. BIN
      res/silentdragon_de.qm
  6. 419
      res/silentdragon_de.ts
  7. BIN
      res/silentdragon_es.qm
  8. 417
      res/silentdragon_es.ts
  9. BIN
      res/silentdragon_fi.qm
  10. 419
      res/silentdragon_fi.ts
  11. BIN
      res/silentdragon_fil.qm
  12. 419
      res/silentdragon_fil.ts
  13. BIN
      res/silentdragon_fr.qm
  14. 419
      res/silentdragon_fr.ts
  15. BIN
      res/silentdragon_hr.qm
  16. 419
      res/silentdragon_hr.ts
  17. BIN
      res/silentdragon_id.qm
  18. 421
      res/silentdragon_id.ts
  19. BIN
      res/silentdragon_it.qm
  20. 417
      res/silentdragon_it.ts
  21. BIN
      res/silentdragon_nl.qm
  22. 439
      res/silentdragon_nl.ts
  23. BIN
      res/silentdragon_pt.qm
  24. 417
      res/silentdragon_pt.ts
  25. BIN
      res/silentdragon_ro.qm
  26. 419
      res/silentdragon_ro.ts
  27. BIN
      res/silentdragon_ru.qm
  28. 423
      res/silentdragon_ru.ts
  29. BIN
      res/silentdragon_sr.qm
  30. 419
      res/silentdragon_sr.ts
  31. BIN
      res/silentdragon_tr.qm
  32. 421
      res/silentdragon_tr.ts
  33. BIN
      res/silentdragon_uk.qm
  34. 423
      res/silentdragon_uk.ts
  35. BIN
      res/silentdragon_zh.qm
  36. 421
      res/silentdragon_zh.ts
  37. BIN
      res/zcashdlogo.gif
  38. 2
      run-after-build.sh
  39. 6
      silentdragon.pro
  40. 4
      src/about.ui
  41. 2
      src/mainwindow.ui
  42. 9
      src/rpc.cpp
  43. 2
      win-build.sh

5
AUTHORS

@ -0,0 +1,5 @@
# The Hush Developers
Duke Leto https://git.hush.is/duke https://github.com/leto
Jane Mercer https://git.hush.is/radix42 https://github.com/radix42

2
build.sh

@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2019-2020 The Hush Developers
# Copyright 2018-2021 The Hush Developers
# Released under the GPLv3
set -e

2
res/libsodium/buildlibsodium.sh

@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2019-2020 The Hush developers
# Copyright (c) 2019-2021 The Hush developers
# Released under the GPLv3
VERSION=1.0.18

407
res/silentdragon_bg.ts

File diff suppressed because it is too large

BIN
res/silentdragon_de.qm

Binary file not shown.

419
res/silentdragon_de.ts

File diff suppressed because it is too large

BIN
res/silentdragon_es.qm

Binary file not shown.

417
res/silentdragon_es.ts

File diff suppressed because it is too large

BIN
res/silentdragon_fi.qm

Binary file not shown.

419
res/silentdragon_fi.ts

File diff suppressed because it is too large

BIN
res/silentdragon_fil.qm

Binary file not shown.

419
res/silentdragon_fil.ts

File diff suppressed because it is too large

BIN
res/silentdragon_fr.qm

Binary file not shown.

419
res/silentdragon_fr.ts

File diff suppressed because it is too large

BIN
res/silentdragon_hr.qm

Binary file not shown.

419
res/silentdragon_hr.ts

File diff suppressed because it is too large

BIN
res/silentdragon_id.qm

Binary file not shown.

421
res/silentdragon_id.ts

File diff suppressed because it is too large

BIN
res/silentdragon_it.qm

Binary file not shown.

417
res/silentdragon_it.ts

File diff suppressed because it is too large

BIN
res/silentdragon_nl.qm

Binary file not shown.

439
res/silentdragon_nl.ts

File diff suppressed because it is too large

BIN
res/silentdragon_pt.qm

Binary file not shown.

417
res/silentdragon_pt.ts

File diff suppressed because it is too large

BIN
res/silentdragon_ro.qm

Binary file not shown.

419
res/silentdragon_ro.ts

File diff suppressed because it is too large

BIN
res/silentdragon_ru.qm

Binary file not shown.

423
res/silentdragon_ru.ts

File diff suppressed because it is too large

BIN
res/silentdragon_sr.qm

Binary file not shown.

419
res/silentdragon_sr.ts

File diff suppressed because it is too large

BIN
res/silentdragon_tr.qm

Binary file not shown.

421
res/silentdragon_tr.ts

File diff suppressed because it is too large

BIN
res/silentdragon_uk.qm

Binary file not shown.

423
res/silentdragon_uk.ts

File diff suppressed because it is too large

BIN
res/silentdragon_zh.qm

Binary file not shown.

421
res/silentdragon_zh.ts

File diff suppressed because it is too large

BIN
res/zcashdlogo.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 75 KiB

2
run-after-build.sh

@ -1,4 +1,4 @@
#!/bin/bash
# Copyright 2019-2020 The Hush Developers
# Copyright 2019-2021 The Hush Developers
./build.sh && ./silentdragon

6
silentdragon.pro

@ -1,8 +1,6 @@
#-------------------------------------------------
#
# Copyright 2018-2021 The Hush Developers
# Released under the GPLv3
# Project created by QtCreator 2018-10-05T09:54:45
#
#-------------------------------------------------
QT += core gui network

4
src/about.ui

@ -53,8 +53,8 @@
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Ubuntu'; font-size:12pt; font-weight:400; font-style:normal;">
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8.1pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Copyright(c) 2019-2020 The Hush developers (GPLv3)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Copyright (c) 2019 Duke Leto, David Mercer and Aditya Kulkarni. (MIT License)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Copyright(c) 2019-2021 The Hush developers (GPLv3)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Copyright (c) 2019 Duke Leto, Jane Mercer and Aditya Kulkarni. (MIT License)</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Special thanks to:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">JSON for Modern C++ : </span><a href="https://nlohmann.github.io/json/"><span style=" font-family:'MS Shell Dlg 2'; font-size:8pt; text-decoration: underline; color:#0000ff;">https://nlohmann.github.io/json/</span></a></p>

2
src/mainwindow.ui

@ -1176,6 +1176,7 @@
</property>
</widget>
</item>
<!--
<item row="10" column="0">
<widget class="QLabel" name="kmdversionlabel">
<property name="text">
@ -1183,6 +1184,7 @@
</property>
</widget>
</item>
-->
<item row="10" column="2">
<widget class="QLabel" name="kmdversion">
<property name="text">

9
src/rpc.cpp

@ -570,12 +570,14 @@ void RPC::getInfoThenRefresh(bool force) {
int notarized = reply["notarized"].toInt();
int protocolversion = reply["protocolversion"].toInt();
int lag = curBlock - notarized;
int blocks_until_halving= 340000 - curBlock;
// TODO: store all future halvings
int blocks_until_halving= 2020000 - curBlock;
char halving_days[8];
sprintf(halving_days, "%.2f", (double) (blocks_until_halving * 150) / (60*60*24) );
QString ntzhash = reply["notarizedhash"].toString();
QString ntztxid = reply["notarizedtxid"].toString();
QString kmdver = reply["KMDversion"].toString();
// Fuck The KYC Traitor named jl777
//QString kmdver = reply["KMDversion"].toString();
Settings::getInstance()->setZcashdVersion(version);
@ -584,7 +586,7 @@ void RPC::getInfoThenRefresh(bool force) {
ui->notarizedtxidvalue->setText( ntztxid );
ui->lagvalue->setText( QString::number(lag) );
ui->version->setText( QString::number(version) );
ui->kmdversion->setText( kmdver );
//ui->kmdversion->setText( kmdver );
ui->protocolversion->setText( QString::number(protocolversion) );
ui->p2pport->setText( QString::number(p2pport) );
ui->rpcport->setText( QString::number(rpcport) );
@ -619,6 +621,7 @@ void RPC::getInfoThenRefresh(bool force) {
conn->doRPCIgnoreError(makePayload(method), [=](const QJsonValue& reply) {
qint64 solrate = reply.toInt();
// TODO: megasol
ui->solrate->setText(QString::number(solrate) % " Sol/s");
});

2
win-build.sh

@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2019-2020 The Hush Developers
# Copyright 2019-2021 The Hush Developers
# Released under the GPLv3
# This script will cross-compile windoze binaries, hopefully!

Loading…
Cancel
Save