diff options
| author | Matthias Tarasiewicz <parasew@gmail.com> | 2017-03-25 17:22:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-25 17:22:13 +0100 |
| commit | 0836bd9cfd0c1ec2918b50d703ee84d9700a0969 (patch) | |
| tree | f42099f728a988942bacab1014505e67ce7d26d3 /src | |
| parent | 6e381c38578ab130a9991189887ba68397e2bfad (diff) | |
| parent | 12573652a0a5836938b02a2308098929fdf06ab4 (diff) | |
| download | monzero-gui-0836bd9cfd0c1ec2918b50d703ee84d9700a0969.tar.gz monzero-gui-0836bd9cfd0c1ec2918b50d703ee84d9700a0969.tar.xz monzero-gui-0836bd9cfd0c1ec2918b50d703ee84d9700a0969.zip | |
Merge branch 'master' into patch-1
Diffstat (limited to 'src')
| -rw-r--r-- | src/libwalletqt/Wallet.cpp | 5 | ||||
| -rw-r--r-- | src/libwalletqt/Wallet.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 96990050..6f397766 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -587,6 +587,11 @@ bool Wallet::rescanSpent() return m_walletImpl->rescanSpent(); } +bool Wallet::useForkRules(quint8 required_version, quint64 earlyBlocks) const +{ + return m_walletImpl->useForkRules(required_version,earlyBlocks); +} + Wallet::Wallet(Monero::Wallet *w, QObject *parent) : QObject(parent) , m_walletImpl(w) diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index e947ecd0..187df16f 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -228,6 +228,9 @@ public: // Rescan spent outputs Q_INVOKABLE bool rescanSpent(); + // check if fork rules should be used + Q_INVOKABLE bool useForkRules(quint8 version, quint64 earlyBlocks) const; + // TODO: setListenter() when it implemented in API signals: // emitted on every event happened with wallet |
