|
Monero
|
Source file that defines simple_wallet class. More...
#include <boost/bind.hpp>#include <locale.h>#include <thread>#include <iostream>#include <sstream>#include <fstream>#include <ctype.h>#include <boost/lexical_cast.hpp>#include <boost/program_options.hpp>#include <boost/algorithm/string.hpp>#include <boost/format.hpp>#include <boost/regex.hpp>#include <boost/range/adaptor/transformed.hpp>#include <boost/filesystem.hpp>#include "include_base_utils.h"#include "console_handler.h"#include "common/i18n.h"#include "common/command_line.h"#include "common/util.h"#include "common/dns_utils.h"#include "common/base58.h"#include "common/scoped_message_writer.h"#include "cryptonote_protocol/cryptonote_protocol_handler.h"#include "simplewallet.h"#include "cryptonote_basic/cryptonote_format_utils.h"#include "storages/http_abstract_invoke.h"#include "rpc/core_rpc_server_commands_defs.h"#include "rpc/rpc_payment_signature.h"#include "crypto/crypto.h"#include "mnemonics/electrum-words.h"#include "rapidjson/document.h"#include "common/json_util.h"#include "ringct/rctSigs.h"#include "multisig/multisig.h"#include "wallet/wallet_args.h"#include "version.h"#include <stdexcept>#include "wallet/message_store.h"#include "QrCode.hpp"
Macros | |
| #define | BOOST_BIND_GLOBAL_PLACEHOLDERS 1 |
| #define | MONERO_DEFAULT_LOG_CATEGORY "wallet.simplewallet" |
| #define | EXTENDED_LOGS_FILE "wallet_details.log" |
| #define | OLD_AGE_WARN_THRESHOLD (30 * 86400 / DIFFICULTY_TARGET_V2) |
| #define | LOCK_IDLE_SCOPE() |
| #define | SCOPED_WALLET_UNLOCK_ON_BAD_PASSWORD(code) |
| #define | SCOPED_WALLET_UNLOCK() |
| #define | PRINT_USAGE(usage_help) |
| #define | LONG_PAYMENT_ID_SUPPORT_CHECK() |
| #define | REFRESH_PERIOD 90 |
| #define | CREDITS_TARGET 50000 |
| #define | MAX_PAYMENT_DIFF 10000 |
| #define | MIN_PAYMENT_RATE 0.01f |
| #define | MAX_MNEW_ADDRESSES 65536 |
| #define | CHECK_MULTISIG_ENABLED() |
| #define | CHECK_IF_BACKGROUND_SYNCING(msg) |
| #define | PRINT_UTF8(pre, x) |
| #define | WTEXTON() |
| #define | WTEXTOFF() |
| #define | CHECK_SIMPLE_VARIABLE(name, f, help) |
Typedefs | |
| typedef cryptonote::simple_wallet | sw |
Functions | |
| static std::string | get_human_readable_timespan (std::chrono::seconds seconds) |
| static std::string | get_human_readable_timespan (uint64_t seconds) |
| bool | parse_priority (const std::string &arg, uint32_t &priority) |
| std::string | join_priority_strings (const char *delimiter) |
| static bool | might_be_partial_seed (const epee::wipeable_string &words) |
| static bool | datestr_to_int (const std::string &heightstr, uint16_t &year, uint8_t &month, uint8_t &day) |
| std::string | get_tx_key_stream (crypto::secret_key tx_key, std::vector< crypto::secret_key > additional_tx_keys) |
| int | main (int argc, char *argv[]) |
Source file that defines simple_wallet class.
| #define BOOST_BIND_GLOBAL_PLACEHOLDERS 1 |
| #define CHECK_IF_BACKGROUND_SYNCING | ( | msg | ) |
| #define CHECK_MULTISIG_ENABLED | ( | ) |
| #define CHECK_SIMPLE_VARIABLE | ( | name, | |
| f, | |||
| help ) |
| #define CREDITS_TARGET 50000 |
| #define EXTENDED_LOGS_FILE "wallet_details.log" |
| #define LOCK_IDLE_SCOPE | ( | ) |
| #define LONG_PAYMENT_ID_SUPPORT_CHECK | ( | ) |
| #define MAX_MNEW_ADDRESSES 65536 |
| #define MAX_PAYMENT_DIFF 10000 |
| #define MIN_PAYMENT_RATE 0.01f |
| #define MONERO_DEFAULT_LOG_CATEGORY "wallet.simplewallet" |
| #define OLD_AGE_WARN_THRESHOLD (30 * 86400 / DIFFICULTY_TARGET_V2) |
| #define PRINT_USAGE | ( | usage_help | ) |
| #define PRINT_UTF8 | ( | pre, | |
| x ) |
| #define REFRESH_PERIOD 90 |
| #define SCOPED_WALLET_UNLOCK | ( | ) |
| #define SCOPED_WALLET_UNLOCK_ON_BAD_PASSWORD | ( | code | ) |
| #define WTEXTOFF | ( | ) |
| #define WTEXTON | ( | ) |
| typedef cryptonote::simple_wallet sw |
|
static |
|
static |
|
static |
| std::string get_tx_key_stream | ( | crypto::secret_key | tx_key, |
| std::vector< crypto::secret_key > | additional_tx_keys ) |
| std::string join_priority_strings | ( | const char * | delimiter | ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
|
static |