diff options
| author | Jonas Schnelli <[email protected]> | 2017-02-01 13:54:28 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2018-07-12 20:32:07 +0100 |
| commit | c7b8f343e99d9d53ea353ddce9a977f1886caf30 (patch) | |
| tree | 91d1f8eadc33cd093c721d1c1be41f502e10c16b /src/interfaces/wallet.h | |
| parent | Add disable privatekeys option to createwallet (diff) | |
| download | discoin-c7b8f343e99d9d53ea353ddce9a977f1886caf30.tar.xz discoin-c7b8f343e99d9d53ea353ddce9a977f1886caf30.zip | |
[Qt] Disable creating receive addresses when private keys are disabled
Diffstat (limited to 'src/interfaces/wallet.h')
| -rw-r--r-- | src/interfaces/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 96e742eac..ae54d4244 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -236,6 +236,9 @@ public: // Return whether HD enabled. virtual bool hdEnabled() = 0; + // check if a certain wallet flag is set. + virtual bool IsWalletFlagSet(uint64_t flag) = 0; + // Get default address type. virtual OutputType getDefaultAddressType() = 0; |