diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-08-14 15:40:33 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-14 15:40:33 -0500 |
| commit | 1ca10373a3864357444235458763ee8feb83cdd0 (patch) | |
| tree | 3225396ecc4d4e5094b9918f0adb5d849a036eae /src/libwalletqt/Wallet.h | |
| parent | ac6687f6ff0712e777d546a8416b379188e85060 (diff) | |
| parent | 30a3abedbe7c4e26cfc2da7c84c3300dfae2a254 (diff) | |
| download | monzero-gui-1ca10373a3864357444235458763ee8feb83cdd0.tar.gz monzero-gui-1ca10373a3864357444235458763ee8feb83cdd0.tar.xz monzero-gui-1ca10373a3864357444235458763ee8feb83cdd0.zip | |
Merge pull request #2336
30a3abe Wallet: explicitly set trusted daemon flag (xiphon)
Diffstat (limited to 'src/libwalletqt/Wallet.h')
| -rw-r--r-- | src/libwalletqt/Wallet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index cbff25df..65880599 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -144,11 +144,8 @@ public: //! empty path stores in current location Q_INVOKABLE bool store(const QString &path = ""); - //! initializes wallet - Q_INVOKABLE bool init(const QString &daemonAddress, quint64 upperTransactionLimit = 0, bool isRecovering = false, bool isRecoveringFromDevice = false, quint64 restoreHeight = 0); - //! initializes wallet asynchronously - Q_INVOKABLE void initAsync(const QString &daemonAddress, quint64 upperTransactionLimit = 0, bool isRecovering = false, bool isRecoveringFromDevice = false, quint64 restoreHeight = 0); + Q_INVOKABLE void initAsync(const QString &daemonAddress, bool trustedDaemon = false, quint64 upperTransactionLimit = 0, bool isRecovering = false, bool isRecoveringFromDevice = false, quint64 restoreHeight = 0); // Set daemon rpc user/pass Q_INVOKABLE void setDaemonLogin(const QString &daemonUsername = "", const QString &daemonPassword = ""); @@ -379,6 +376,9 @@ private: //! returns daemon's blockchain target height quint64 daemonBlockChainTargetHeight() const; + //! initializes wallet + bool init(const QString &daemonAddress, bool trustedDaemon, quint64 upperTransactionLimit, bool isRecovering, bool isRecoveringFromDevice, quint64 restoreHeight); + private: friend class WalletManager; friend class WalletListenerImpl; |
