diff options
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 |
