diff options
author | naughtyfox <mail.for.milo@gmail.com> | 2018-03-21 18:57:15 +0300 |
---|---|---|
committer | naughtyfox <mail.for.milo@gmail.com> | 2018-03-28 18:22:13 +0300 |
commit | 5a96056600be8fbcce1f7994971eaf1c2d3181f3 (patch) | |
tree | ddfb3c81b919acb04d6c8f07dafeb0fe0c9178a0 /src/wallet/api/wallet.h | |
parent | Refactored: work with wallet api statuses to make setting and getting operati... (diff) | |
download | monero-5a96056600be8fbcce1f7994971eaf1c2d3181f3.tar.xz |
WalletApi: getMultisigInfo entry for gui wallets
WalletApi: makeMultisig call introduced
WalletApi: finalizeMultisig call introduced
WalletApi: new calls exportMultisigImages and importMultisigImages
WalletApi: method to return multisig wallet creation state
WalletApi: create multisig transaction, sign multisig transaction, commit transaction and get multisig data are added
WalletApi: identation and style fixes
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 7a0526e0a..e0e627c36 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -127,6 +127,14 @@ public: std::string getSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex) const; void setSubaddressLabel(uint32_t accountIndex, uint32_t addressIndex, const std::string &label); + MultisigState multisig() const override; + std::string getMultisigInfo() const override; + std::string makeMultisig(const std::vector<std::string>& info, uint32_t threshold) override; + bool finalizeMultisig(const std::vector<std::string>& extraMultisigInfo) override; + bool exportMultisigImages(std::string& images) override; + size_t importMultisigImages(const std::vector<std::string>& images) override; + PendingTransaction* restoreMultisigTransaction(const std::string& signData) override; + PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id, optional<uint64_t> amount, uint32_t mixin_count, PendingTransaction::Priority priority = PendingTransaction::Priority_Low, |