|
Monero
|
#include <algorithm>#include <numeric>#include <tuple>#include <queue>#include <boost/format.hpp>#include <boost/optional/optional.hpp>#include <boost/algorithm/string/classification.hpp>#include <boost/algorithm/string/trim.hpp>#include <boost/algorithm/string/split.hpp>#include <boost/algorithm/string/join.hpp>#include <boost/algorithm/string/predicate.hpp>#include <boost/asio/ip/address.hpp>#include <boost/range/adaptor/transformed.hpp>#include <boost/preprocessor/stringize.hpp>#include <openssl/evp.h>#include "include_base_utils.h"#include "cryptonote_config.h"#include "hardforks/hardforks.h"#include "cryptonote_core/tx_sanity_check.h"#include "wallet_rpc_helpers.h"#include "wallet2.h"#include "wallet_args.h"#include "cryptonote_basic/cryptonote_format_utils.h"#include "net/parse.h"#include "rpc/core_rpc_server_commands_defs.h"#include "rpc/core_rpc_server_error_codes.h"#include "rpc/rpc_payment_signature.h"#include "rpc/rpc_payment_costs.h"#include "misc_language.h"#include "cryptonote_basic/cryptonote_basic_impl.h"#include "multisig/multisig.h"#include "multisig/multisig_account.h"#include "multisig/multisig_kex_msg.h"#include "multisig/multisig_tx_builder_ringct.h"#include "common/boost_serialization_helper.h"#include "common/command_line.h"#include "common/threadpool.h"#include "int-util.h"#include "profile_tools.h"#include "crypto/crypto.h"#include "serialization/binary_utils.h"#include "serialization/string.h"#include "cryptonote_basic/blobdatatype.h"#include "mnemonics/electrum-words.h"#include "common/i18n.h"#include "common/util.h"#include "common/apply_permutation.h"#include "rapidjson/document.h"#include "rapidjson/writer.h"#include "rapidjson/stringbuffer.h"#include "common/json_util.h"#include "memwipe.h"#include "common/base58.h"#include "common/combinator.h"#include "common/dns_utils.h"#include "common/notify.h"#include "common/perf_timer.h"#include "ringct/rctSigs.h"#include "ringdb.h"#include "device/device_cold.hpp"#include "device_trezor/device_trezor.hpp"#include "net/socks_connect.h"#include "crypto/keccak.h"#include "crypto/crypto-ops.h"Namespaces | |
| namespace | tools |
| Various Tools. | |
Variables | |
| static const std::string | MULTISIG_SIGNATURE_MAGIC = "SigMultisigPkV1" |
| static const std::string | ASCII_OUTPUT_MAGIC = "MoneroAsciiDataV1" |
| static const std::string | BACKGROUND_WALLET_SUFFIX = ".background" |
| #define APPROXIMATE_INPUT_BYTES 80 |
| #define CMPF | ( | f | ) |
| #define DEFAULT_INACTIVITY_LOCK_TIMEOUT 90 |
| #define DEFAULT_MIN_OUTPUT_COUNT 5 |
| #define DEFAULT_MIN_OUTPUT_VALUE (2*COIN) |
| #define DEFAULT_UNLOCK_TIME (CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE * DIFFICULTY_TARGET_V2) |
| #define FEE_ESTIMATE_GRACE_BLOCKS 10 |
| #define FIRST_REFRESH_GRANULARITY 1024 |
| #define GAMMA_SCALE (1/1.61) |
| #define GAMMA_SHAPE 19.28 |
| #define IGNORE_LONG_PAYMENT_ID_FROM_BLOCK_VERSION 12 |
| #define KEY_IMAGE_EXPORT_FILE_MAGIC "Monero key image export\003" |
| #define MONERO_DEFAULT_LOG_CATEGORY "wallet.wallet2" |
| #define MULTISIG_EXPORT_FILE_MAGIC "Monero multisig export\001" |
| #define OUTPUT_EXPORT_FILE_MAGIC "Monero output export\004" |
| #define RECENT_OUTPUT_BLOCKS (RECENT_OUTPUT_DAYS * 720) |
| #define RECENT_OUTPUT_DAYS (1.8) |
| #define RECENT_OUTPUT_RATIO (0.5) |
| #define RECENT_OUTPUT_ZONE ((time_t)(RECENT_OUTPUT_DAYS * 86400)) |
| #define RECENT_SPEND_WINDOW (15 * DIFFICULTY_TARGET_V2) |
| #define SECOND_OUTPUT_RELATEDNESS_THRESHOLD 0.0f |
| #define SEGREGATION_FORK_HEIGHT 99999999 |
| #define SEGREGATION_FORK_VICINITY 1500 /* blocks */ |
| #define SIGNED_TX_PREFIX "Monero signed tx set\005" |
| #define STAGENET_SEGREGATION_FORK_HEIGHT 99999999 |
| #define SUBADDRESS_LOOKAHEAD_MAJOR 50 |
| #define SUBADDRESS_LOOKAHEAD_MINOR 200 |
| #define TESTNET_SEGREGATION_FORK_HEIGHT 99999999 |
| #define TX_WEIGHT_TARGET | ( | bytes | ) |
| #define UNSIGNED_TX_PREFIX "Monero unsigned tx set\005" |
|
static |
|
static |
|
static |