aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/pending_transaction.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-05-31 14:34:34 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-05-31 14:34:34 -0500
commit3a373c3d3ae9837b4002247f25efcb6325950dd4 (patch)
tree317e0fc4961f2c7e1790ca1ef12751d3d964f4fb /src/wallet/api/pending_transaction.h
parentMerge pull request #3499 (diff)
parentWalletApi: getMultisigInfo entry for gui wallets (diff)
downloadmonero-3a373c3d3ae9837b4002247f25efcb6325950dd4.tar.xz
Merge pull request #3489
47fdb74 WalletApi: getMultisigInfo entry for gui wallets... (naughtyfox) 47fdb74 Refactored: work with wallet api statuses to make setting and getting operations atomic along with error strings (naughtyfox)
Diffstat (limited to 'src/wallet/api/pending_transaction.h')
-rw-r--r--src/wallet/api/pending_transaction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/pending_transaction.h b/src/wallet/api/pending_transaction.h
index d0bd66eb5..4f963c134 100644
--- a/src/wallet/api/pending_transaction.h
+++ b/src/wallet/api/pending_transaction.h
@@ -55,6 +55,10 @@ public:
std::vector<std::set<uint32_t>> subaddrIndices() const;
// TODO: continue with interface;
+ std::string multisigSignData();
+ void signMultisigTx();
+ std::vector<std::string> signersKeys() const;
+
private:
friend class WalletImpl;
WalletImpl &m_wallet;
@@ -62,6 +66,7 @@ private:
int m_status;
std::string m_errorString;
std::vector<tools::wallet2::pending_tx> m_pending_tx;
+ std::unordered_set<crypto::public_key> m_signers;
};