aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authornaughtyfox <mail.for.milo@gmail.com>2018-09-10 19:18:25 +0300
committernaughtyfox <mail.for.milo@gmail.com>2018-09-10 19:33:08 +0300
commit26971d46fc06b8be4a6ecc0309f2650f354ddc91 (patch)
treeee714aae88d86c81a0e878e4a37c962fb2586661 /src/wallet/api/wallet2_api.h
parentMerge pull request #4290 (diff)
downloadmonero-26971d46fc06b8be4a6ecc0309f2650f354ddc91.tar.xz
WalletAPI: 'hasMultisigPartialKeyImages' function added
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 5a52c6b17..5c53f712e 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -720,6 +720,11 @@ struct Wallet
* @return number of imported images
*/
virtual size_t importMultisigImages(const std::vector<std::string>& images) = 0;
+ /**
+ * @brief hasMultisigPartialKeyImages - checks if wallet needs to import multisig key images from other participants
+ * @return true if there are partial key images
+ */
+ virtual bool hasMultisigPartialKeyImages() const = 0;
/**
* @brief restoreMultisigTransaction creates PendingTransaction from signData