mirror of
https://github.com/jwinterm/wownero.git
synced 2026-11-25 10:54:19 +01:00
gen_multisig: generates multisig wallets if participants trust each other
This commit is contained in:
@@ -8108,7 +8108,6 @@ size_t wallet2::import_multisig(std::vector<std::vector<tools::wallet2::multisig
|
||||
break;
|
||||
}
|
||||
|
||||
MFATAL("import_multisig: updating from import");
|
||||
for (size_t n = 0; n < n_outputs && n < m_transfers.size(); ++n)
|
||||
{
|
||||
update_multisig_rescan_info(k, info, n);
|
||||
@@ -8118,7 +8117,6 @@ size_t wallet2::import_multisig(std::vector<std::vector<tools::wallet2::multisig
|
||||
m_multisig_rescan_info = &info;
|
||||
try
|
||||
{
|
||||
MFATAL("import_multisig: refreshing");
|
||||
refresh();
|
||||
}
|
||||
catch (...) {}
|
||||
|
||||
@@ -85,6 +85,7 @@ namespace wallet_args
|
||||
boost::optional<boost::program_options::variables_map> main(
|
||||
int argc, char** argv,
|
||||
const char* const usage,
|
||||
const char* const notice,
|
||||
boost::program_options::options_description desc_params,
|
||||
const boost::program_options::positional_options_description& positional_options,
|
||||
const std::function<void(const std::string&, bool)> &print,
|
||||
@@ -179,6 +180,9 @@ namespace wallet_args
|
||||
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
|
||||
}
|
||||
|
||||
if (notice)
|
||||
Print(print) << notice << ENDL;
|
||||
|
||||
if (!command_line::is_arg_defaulted(vm, arg_max_concurrency))
|
||||
tools::set_max_concurrency(command_line::get_arg(vm, arg_max_concurrency));
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace wallet_args
|
||||
boost::optional<boost::program_options::variables_map> main(
|
||||
int argc, char** argv,
|
||||
const char* const usage,
|
||||
const char* const notice,
|
||||
boost::program_options::options_description desc_params,
|
||||
const boost::program_options::positional_options_description& positional_options,
|
||||
const std::function<void(const std::string&, bool)> &print,
|
||||
|
||||
@@ -2361,6 +2361,7 @@ int main(int argc, char** argv) {
|
||||
const auto vm = wallet_args::main(
|
||||
argc, argv,
|
||||
"monero-wallet-rpc [--wallet-file=<file>|--generate-from-json=<file>|--wallet-dir=<directory>] [--rpc-bind-port=<port>]",
|
||||
tools::wallet_rpc_server::tr("This is the RPC monero wallet. It needs to connect to a monero\ndaemon to work correctly."),
|
||||
desc_params,
|
||||
po::positional_options_description(),
|
||||
[](const std::string &s, bool emphasis){ epee::set_console_color(emphasis ? epee::console_color_white : epee::console_color_default, true); std::cout << s << std::endl; if (emphasis) epee::reset_console_color(); },
|
||||
|
||||
Reference in New Issue
Block a user