diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-18 11:24:38 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-17 16:12:44 +0000 |
commit | 98db7ee467fb4f73ce5e748d4891326b84a4c93a (patch) | |
tree | 00f60b318f05fdc092ebf658c2bb9e64be95e8d1 /src/wallet/wallet2.h | |
parent | wallet: use raw encrypted data in multisig import/export RPC (diff) | |
download | monero-98db7ee467fb4f73ce5e748d4891326b84a4c93a.tar.xz |
wallet: factor multisig info parsing
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index cb9d7e980..399287c3e 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -472,6 +472,14 @@ namespace tools * to other participants */ std::string make_multisig(const epee::wipeable_string &password, + const std::vector<std::string> &info, + uint32_t threshold); + /*! + * \brief Creates a multisig wallet + * \return empty if done, non empty if we need to send another string + * to other participants + */ + std::string make_multisig(const epee::wipeable_string &password, const std::vector<crypto::secret_key> &view_keys, const std::vector<crypto::public_key> &spend_keys, uint32_t threshold); |