wallet: factor multisig info parsing

This commit is contained in:
moneromooo-monero
2017-11-18 11:24:38 +00:00
parent 31a97e761e
commit 98db7ee467
4 changed files with 68 additions and 102 deletions
+8
View File
@@ -471,6 +471,14 @@ namespace tools
* \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<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,