الثلاثاء، 28 فبراير 2023
adress
#ifdef WIN32
#define NOMINMAX
#include
#endif
#include
#include
#include
#include
#include
#include "Common/int-util.h"
#include "Common/Base58.h"
#include "Common/ColouredMsg.h"
#include "Common/CommandLine.h"
#include "Common/ConsoleTools.h"
#include "Common/StringTools.h"
#include "Common/Varint.h"
#include "crypto/hash.h"
#include "crypto/crypto.h"
extern "C"
{
#include "crypto/keccak.h"
}
#include "CryptoNoteCore/Account.h"
#include "CryptoNoteCore/Currency.h"
#include "CryptoNoteCore/CryptoNoteBasicImpl.h"
#include "Logging/LoggerGroup.h"
#include "Logging/ConsoleLogger.h"
#include "Logging/LoggerRef.h"
#include "Logging/LoggerManager.h"
#include "Mnemonics/electrum-words.h"
#include "System/Dispatcher.h"
#include "System/RemoteContext.h"
#include "CryptoNoteConfig.h"
#include "CryptoTypes.h"
#include "version.h"
#ifdef _WIN32
std::string consoletitle = std::string(CryptoNote::CRYPTONOTE_NAME) + " address generator v. " + std::string(PROJECT_VERSION_LONG);
SetConsoleTitleA(consoletitle.c_str());
#endif
std::string coinName(CryptoNote::CRYPTONOTE_NAME);
std::cout << InformationMsg(coinName + " address generator v. " + std::string(PROJECT_VERSION)) << std::endl;
try {
po::options_description desc_cmd_only("Available command line options");
command_line::add_arg(desc_cmd_only, command_line::arg_prefix);
command_line::add_arg(desc_cmd_only, command_line::arg_count);
command_line::add_arg(desc_cmd_only, command_line::arg_threads);
command_line::add_arg(desc_cmd_only, command_line::arg_file);
command_line::add_arg(desc_cmd_only, command_line::arg_help);
bool r = command_line::handle_error_helper(desc_cmd_only, [&]()
{
po::variables_map vm;
po::store(po::parse_command_line(argc, argv, desc_cmd_only), vm);
if (!command_line::get_arg(vm, command_line::arg_prefix).empty()) {
return find_prefix(vm, currency, dispatcher);
}
if (command_line::get_arg(vm, command_line::arg_help)) {
std::cout << desc_cmd_only << std::endl;
return true;
}
std::cout << desc_cmd_only << std::endl;
return true;
});
if (!r)
return 1;
} catch (const std::exception& e) {
logger(ERROR, BRIGHT_RED) << "Exception: " << e.what();
return 1;
}
return 0;
}
الاشتراك في:
تعليقات الرسالة (Atom)
-
content="2; URL=https://setyourads.blogspot.com/2023/02/mrgtag-window.html"> ...
ليست هناك تعليقات:
إرسال تعليق