From 5cbcf0aa2532f7123691c5ca414a4808fafbcf87 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 9 Nov 2017 10:59:41 +0000 Subject: wallet: support for multisig seeds They are hex rather than words, because they are a lot longer than "normal" seeds, as they have to embed a lot more information --- src/simplewallet/simplewallet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/simplewallet/simplewallet.h') diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index c0c33f6b8..c90cb1abf 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -92,6 +92,8 @@ namespace cryptonote bool recover, bool two_random, const std::string &old_language); bool new_wallet(const boost::program_options::variables_map& vm, const cryptonote::account_public_address& address, const boost::optional& spendkey, const crypto::secret_key& viewkey); + bool new_wallet(const boost::program_options::variables_map& vm, + const std::string &multisig_keys, const std::string &old_language); bool open_wallet(const boost::program_options::variables_map& vm); bool close_wallet(); @@ -305,6 +307,7 @@ namespace cryptonote crypto::secret_key m_recovery_key; // recovery key (used as random for wallet gen) bool m_restore_deterministic_wallet; // recover flag + bool m_restore_multisig_wallet; // recover flag bool m_non_deterministic; // old 2-random generation bool m_trusted_daemon; bool m_allow_mismatched_daemon_version; -- cgit v1.2.3