Electroneum
Functions | Variables
anonymous_namespace{simplewallet.cpp} Namespace Reference

Functions

const char * USAGE_START_MINING ("start_mining [<number_of_threads>] [bg_mining] [ignore_battery]")
 
const char * USAGE_SET_DAEMON ("set_daemon <host>[:<port>] [trusted|untrusted]")
 
const char * USAGE_SHOW_BALANCE ("balance [detail]")
 
const char * USAGE_INCOMING_TRANSFERS ("incoming_transfers [available|unavailable] [verbose] [uses] [index=<N1>[,<N2>[,...]]]")
 
const char * USAGE_PAYMENTS ("payments <PID_1> [<PID_2> ... <PID_N>]")
 
const char * USAGE_PAYMENT_ID ("payment_id")
 
const char * USAGE_TRANSFER ("transfer [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] (<URI> | <address> <amount>) [<payment_id>]")
 
const char * USAGE_LOCKED_TRANSFER ("locked_transfer [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] (<URI> | <addr> <amount>) <lockblocks> [<payment_id (obsolete)>]")
 
const char * USAGE_LOCKED_SWEEP_ALL ("locked_sweep_all [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] <address> <lockblocks> [<payment_id (obsolete)>]")
 
const char * USAGE_SWEEP_ALL ("sweep_all [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] [outputs=<N>] <address> [<payment_id (obsolete)>]")
 
const char * USAGE_SWEEP_BELOW ("sweep_below <amount_threshold> [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] <address> [<payment_id (obsolete)>]")
 
const char * USAGE_SWEEP_SINGLE ("sweep_single [<priority>] [<ring_size>] [outputs=<N>] <key_image> <address> [<payment_id (obsolete)>]")
 
const char * USAGE_DONATE ("donate [index=<N1>[,<N2>,...]] [<priority>] [<ring_size>] <amount> [<payment_id (obsolete)>]")
 
const char * USAGE_SIGN_TRANSFER ("sign_transfer [export_raw]")
 
const char * USAGE_SET_LOG ("set_log <level>|{+,-,}<categories>")
 
const char * USAGE_ACCOUNT ("account\n" " account new <label text with white spaces allowed>\n" " account switch <index> \n" " account label <index> <label text with white spaces allowed>\n" " account tag <tag_name> <account_index_1> [<account_index_2> ...]\n" " account untag <account_index_1> [<account_index_2> ...]\n" " account tag_description <tag_name> <description>")
 
const char * USAGE_ADDRESS ("address [ new <label text with white spaces allowed> | all | <index_min> [<index_max>] | label <index> <label text with white spaces allowed>]")
 
const char * USAGE_INTEGRATED_ADDRESS ("integrated_address [<payment_id> | <address>]")
 
const char * USAGE_ADDRESS_BOOK ("address_book [(add ((<address> [pid <id>])|<integrated address>) [<description possibly with whitespaces>])|(delete <index>)]")
 
const char * USAGE_SET_VARIABLE ("set <option> [<value>]")
 
const char * USAGE_GET_TX_KEY ("get_tx_key <txid>")
 
const char * USAGE_SET_TX_KEY ("set_tx_key <txid> <tx_key>")
 
const char * USAGE_CHECK_TX_KEY ("check_tx_key <txid> <txkey> <address>")
 
const char * USAGE_GET_TX_PROOF ("get_tx_proof <txid> <address> [<message>]")
 
const char * USAGE_CHECK_TX_PROOF ("check_tx_proof <txid> <address> <signature_file> [<message>]")
 
const char * USAGE_GET_SPEND_PROOF ("get_spend_proof <txid> [<message>]")
 
const char * USAGE_CHECK_SPEND_PROOF ("check_spend_proof <txid> <signature_file> [<message>]")
 
const char * USAGE_GET_RESERVE_PROOF ("get_reserve_proof (all|<amount>) [<message>]")
 
const char * USAGE_CHECK_RESERVE_PROOF ("check_reserve_proof <address> <signature_file> [<message>]")
 
const char * USAGE_SHOW_TRANSFERS ("show_transfers [in|out|pending|failed|pool|coinbase] [index=<N1>[,<N2>,...]] [<min_height> [<max_height>]]")
 
const char * USAGE_UNSPENT_OUTPUTS ("unspent_outputs [index=<N1>[,<N2>,...]] [<min_amount> [<max_amount>]]")
 
const char * USAGE_RESCAN_BC ("rescan_bc [hard|soft|keep_ki] [start_height=0]")
 
const char * USAGE_SET_TX_NOTE ("set_tx_note <txid> [free text note]")
 
const char * USAGE_GET_TX_NOTE ("get_tx_note <txid>")
 
const char * USAGE_GET_DESCRIPTION ("get_description")
 
const char * USAGE_SET_DESCRIPTION ("set_description [free text note]")
 
const char * USAGE_SIGN ("sign <filename>")
 
const char * USAGE_VERIFY ("verify <filename> <address> <signature>")
 
const char * USAGE_EXPORT_KEY_IMAGES ("export_key_images <filename>")
 
const char * USAGE_IMPORT_KEY_IMAGES ("import_key_images <filename>")
 
const char * USAGE_HW_KEY_IMAGES_SYNC ("hw_key_images_sync")
 
const char * USAGE_HW_RECONNECT ("hw_reconnect")
 
const char * USAGE_EXPORT_OUTPUTS ("export_outputs <filename>")
 
const char * USAGE_IMPORT_OUTPUTS ("import_outputs <filename>")
 
const char * USAGE_SHOW_TRANSFER ("show_transfer <txid>")
 
const char * USAGE_MAKE_MULTISIG ("make_multisig <threshold> <string1> [<string>...]")
 
const char * USAGE_FINALIZE_MULTISIG ("finalize_multisig <string> [<string>...]")
 
const char * USAGE_EXCHANGE_MULTISIG_KEYS ("exchange_multisig_keys <string> [<string>...]")
 
const char * USAGE_EXPORT_MULTISIG_INFO ("export_multisig_info <filename>")
 
const char * USAGE_IMPORT_MULTISIG_INFO ("import_multisig_info <filename> [<filename>...]")
 
const char * USAGE_SIGN_MULTISIG ("sign_multisig <filename>")
 
const char * USAGE_SUBMIT_MULTISIG ("submit_multisig <filename>")
 
const char * USAGE_EXPORT_RAW_MULTISIG_TX ("export_raw_multisig_tx <filename>")
 
const char * USAGE_MMS ("mms [<subcommand> [<subcommand_parameters>]]")
 
const char * USAGE_MMS_INIT ("mms init <required_signers>/<authorized_signers> <own_label> <own_transport_address>")
 
const char * USAGE_MMS_INFO ("mms info")
 
const char * USAGE_MMS_SIGNER ("mms signer [<number> <label> [<transport_address> [<etn_address>]]]")
 
const char * USAGE_MMS_LIST ("mms list")
 
const char * USAGE_MMS_NEXT ("mms next [sync]")
 
const char * USAGE_MMS_SYNC ("mms sync")
 
const char * USAGE_MMS_TRANSFER ("mms transfer <transfer_command_arguments>")
 
const char * USAGE_MMS_DELETE ("mms delete (<message_id> | all)")
 
const char * USAGE_MMS_SEND ("mms send [<message_id>]")
 
const char * USAGE_MMS_RECEIVE ("mms receive")
 
const char * USAGE_MMS_EXPORT ("mms export <message_id>")
 
const char * USAGE_MMS_NOTE ("mms note [<label> <text>]")
 
const char * USAGE_MMS_SHOW ("mms show <message_id>")
 
const char * USAGE_MMS_SET ("mms set <option_name> [<option_value>]")
 
const char * USAGE_MMS_SEND_SIGNER_CONFIG ("mms send_signer_config")
 
const char * USAGE_MMS_START_AUTO_CONFIG ("mms start_auto_config [<label> <label> ...]")
 
const char * USAGE_MMS_STOP_AUTO_CONFIG ("mms stop_auto_config")
 
const char * USAGE_MMS_AUTO_CONFIG ("mms auto_config <auto_config_token>")
 
const char * USAGE_PRINT_RING ("print_ring <key_image> | <txid>")
 
const char * USAGE_SET_RING ("set_ring <filename> | ( <key_image> absolute|relative <index> [<index>...] )")
 
const char * USAGE_UNSET_RING ("unset_ring <txid> | ( <key_image> [<key_image>...] )")
 
const char * USAGE_SAVE_KNOWN_RINGS ("save_known_rings")
 
const char * USAGE_MARK_OUTPUT_SPENT ("mark_output_spent <amount>/<offset> | <filename> [add]")
 
const char * USAGE_MARK_OUTPUT_UNSPENT ("mark_output_unspent <amount>/<offset>")
 
const char * USAGE_IS_OUTPUT_SPENT ("is_output_spent <amount>/<offset>")
 
const char * USAGE_FREEZE ("freeze <key_image>")
 
const char * USAGE_THAW ("thaw <key_image>")
 
const char * USAGE_FROZEN ("frozen <key_image>")
 
const char * USAGE_NET_STATS ("net_stats")
 
const char * USAGE_WELCOME ("welcome")
 
const char * USAGE_VERSION ("version")
 
const char * USAGE_HELP ("help [<command>]")
 
std::string input_line (const std::string &prompt, bool yesno=false)
 
epee::wipeable_string input_secure_line (const char *prompt)
 
boost::optional< tools::password_containerpassword_prompter (const char *prompt, bool verify)
 
boost::optional< tools::password_containerdefault_password_prompter (bool verify)
 
std::string interpret_rpc_response (bool ok, const std::string &status)
 
tools::scoped_message_writer success_msg_writer (bool color=false)
 
tools::scoped_message_writer message_writer (epee::console_colors color=epee::console_color_default, bool bright=false)
 
tools::scoped_message_writer fail_msg_writer ()
 
bool parse_bool (const std::string &s, bool &result)
 
template<typename F >
bool parse_bool_and_use (const std::string &s, F func)
 
bool parse_refresh_type (const std::string &s, tools::wallet2::RefreshType &refresh_type)
 
std::string get_refresh_type_name (tools::wallet2::RefreshType type)
 
std::string get_version_string (uint32_t version)
 
std::string oa_prompter (const std::string &url, const std::vector< std::string > &addresses, bool dnssec_valid)
 
bool parse_subaddress_indices (const std::string &arg, std::set< uint32_t > &subaddr_indices)
 
boost::optional< std::pair< uint32_t, uint32_t > > parse_subaddress_lookahead (const std::string &str)
 
void handle_transfer_exception (const std::exception_ptr &e, bool trusted_daemon)
 
bool check_file_overwrite (const std::string &filename)
 
void print_secret_key (const crypto::secret_key &k)
 

Variables

const std::array< const char *const, 5 > allowed_priority_strings = {{"default", "unimportant", "normal", "elevated", "priority"}}
 
const auto arg_wallet_file = wallet_args::arg_wallet_file()
 
const command_line::arg_descriptor< std::string > arg_generate_new_wallet = {"generate-new-wallet", sw::tr("Generate new wallet and save it to <arg>"), ""}
 
const command_line::arg_descriptor< std::string > arg_generate_from_device = {"generate-from-device", sw::tr("Generate new wallet from device and save it to <arg>"), ""}
 
const command_line::arg_descriptor< std::string > arg_generate_from_view_key = {"generate-from-view-key", sw::tr("Generate incoming-only wallet from view key"), ""}
 
const command_line::arg_descriptor< std::string > arg_generate_from_spend_key = {"generate-from-spend-key", sw::tr("Generate deterministic wallet from spend key"), ""}
 
const command_line::arg_descriptor< std::string > arg_generate_from_keys = {"generate-from-keys", sw::tr("Generate wallet from private keys"), ""}
 
const command_line::arg_descriptor< std::string > arg_generate_from_multisig_keys = {"generate-from-multisig-keys", sw::tr("Generate a master wallet from multisig wallet keys"), ""}
 
const auto arg_generate_from_json = wallet_args::arg_generate_from_json()
 
const command_line::arg_descriptor< std::string > arg_mnemonic_language = {"mnemonic-language", sw::tr("Language for mnemonic"), ""}
 
const command_line::arg_descriptor< std::string > arg_electrum_seed = {"electrum-seed", sw::tr("Specify Electrum seed for wallet recovery/creation"), ""}
 
const command_line::arg_descriptor< boolarg_restore_deterministic_wallet = {"restore-deterministic-wallet", sw::tr("Recover wallet using Electrum-style mnemonic seed"), false}
 
const command_line::arg_descriptor< boolarg_restore_multisig_wallet = {"restore-multisig-wallet", sw::tr("Recover multisig wallet using Electrum-style mnemonic seed"), false}
 
const command_line::arg_descriptor< boolarg_non_deterministic = {"non-deterministic", sw::tr("Generate non-deterministic view and spend keys"), false}
 
const command_line::arg_descriptor< boolarg_allow_mismatched_daemon_version = {"allow-mismatched-daemon-version", sw::tr("Allow communicating with a daemon that uses a different RPC version"), false}
 
const command_line::arg_descriptor< uint64_t > arg_restore_height = {"restore-height", sw::tr("Restore from specific blockchain height"), 0}
 
const command_line::arg_descriptor< std::string > arg_restore_date = {"restore-date", sw::tr("Restore from estimated blockchain height on specified date"), ""}
 
const command_line::arg_descriptor< boolarg_do_not_relay = {"do-not-relay", sw::tr("The newly created transaction will not be relayed to the electroneum network"), false}
 
const command_line::arg_descriptor< boolarg_create_address_file = {"create-address-file", sw::tr("Create an address file for new wallets"), false}
 
const command_line::arg_descriptor< std::string > arg_subaddress_lookahead = {"subaddress-lookahead", tools::wallet2::tr("Set subaddress lookahead sizes to <major>:<minor>"), ""}
 
const command_line::arg_descriptor< boolarg_use_english_language_names = {"use-english-language-names", sw::tr("Display English language names"), false}
 
const command_line::arg_descriptor< boolarg_long_payment_id_support = {"long-payment-id-support-bad-for-privacy", sw::tr("Support obsolete long (unencrypted) payment ids (using them harms your privacy)"), true}
 
const command_line::arg_descriptor< uint64_t > fallback_to_pow_checkpoint_height = {"fallback-to-pow-checkpoint-height", tools::wallet2::tr("Warning: This is to set the height for a custom checkpoint in the event of PoW fallback. Do not use in normal circumstances. See docs for details "), 0, true}
 
const command_line::arg_descriptor< std::string > fallback_to_pow_checkpoint_hash = {"fallback-to-pow-checkpoint-hash", tools::wallet2::tr("Warning: This is to set the hash for a custom checkpoint in the event of PoW fallback. Do not use in normal circumstances. See docs for details "), "", true}
 
const command_line::arg_descriptor< std::vector< std::string > > arg_command = {"command", ""}
 
const command_line::arg_descriptor< uint32_t > arg_account_major_offset = {"account-major-offset", sw::tr("Account Index Offset"), 0}
 
struct {
   const char *   anonymous_namespace{simplewallet.cpp}::name
 
   tools::wallet2::RefreshType   anonymous_namespace{simplewallet.cpp}::refresh_type
 
refresh_type_names []
 

Function Documentation

◆ check_file_overwrite()

bool anonymous_namespace{simplewallet.cpp}::check_file_overwrite ( const std::string &  filename)

◆ default_password_prompter()

boost::optional<tools::password_container> anonymous_namespace{simplewallet.cpp}::default_password_prompter ( bool  verify)

◆ fail_msg_writer()

tools::scoped_message_writer anonymous_namespace{simplewallet.cpp}::fail_msg_writer ( )

◆ get_refresh_type_name()

std::string anonymous_namespace{simplewallet.cpp}::get_refresh_type_name ( tools::wallet2::RefreshType  type)

◆ get_version_string()

std::string anonymous_namespace{simplewallet.cpp}::get_version_string ( uint32_t  version)

◆ handle_transfer_exception()

void anonymous_namespace{simplewallet.cpp}::handle_transfer_exception ( const std::exception_ptr &  e,
bool  trusted_daemon 
)

◆ input_line()

std::string anonymous_namespace{simplewallet.cpp}::input_line ( const std::string &  prompt,
bool  yesno = false 
)

◆ input_secure_line()

epee::wipeable_string anonymous_namespace{simplewallet.cpp}::input_secure_line ( const char *  prompt)

◆ interpret_rpc_response()

std::string anonymous_namespace{simplewallet.cpp}::interpret_rpc_response ( bool  ok,
const std::string &  status 
)
inline

◆ message_writer()

tools::scoped_message_writer anonymous_namespace{simplewallet.cpp}::message_writer ( epee::console_colors  color = epee::console_color_default,
bool  bright = false 
)

◆ oa_prompter()

std::string anonymous_namespace{simplewallet.cpp}::oa_prompter ( const std::string &  url,
const std::vector< std::string > &  addresses,
bool  dnssec_valid 
)

◆ parse_bool()

bool anonymous_namespace{simplewallet.cpp}::parse_bool ( const std::string &  s,
bool result 
)

◆ parse_bool_and_use()

template<typename F >
bool anonymous_namespace{simplewallet.cpp}::parse_bool_and_use ( const std::string &  s,
F  func 
)

◆ parse_refresh_type()

bool anonymous_namespace{simplewallet.cpp}::parse_refresh_type ( const std::string &  s,
tools::wallet2::RefreshType refresh_type 
)

◆ parse_subaddress_indices()

bool anonymous_namespace{simplewallet.cpp}::parse_subaddress_indices ( const std::string &  arg,
std::set< uint32_t > &  subaddr_indices 
)

◆ parse_subaddress_lookahead()

boost::optional<std::pair<uint32_t, uint32_t> > anonymous_namespace{simplewallet.cpp}::parse_subaddress_lookahead ( const std::string &  str)

◆ password_prompter()

boost::optional<tools::password_container> anonymous_namespace{simplewallet.cpp}::password_prompter ( const char *  prompt,
bool  verify 
)

◆ print_secret_key()

void anonymous_namespace{simplewallet.cpp}::print_secret_key ( const crypto::secret_key k)

◆ success_msg_writer()

tools::scoped_message_writer anonymous_namespace{simplewallet.cpp}::success_msg_writer ( bool  color = false)

◆ USAGE_ACCOUNT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_ACCOUNT ( "account\n" " account new <label text with white spaces allowed>\n" " account switch <index> \n" " account label <index> <label text with white spaces allowed>\n" " account tag <tag_name> <account_index_1> \n" " account untag <account_index_1> \n" " account tag_description <tag_name> <description>"  [< account_index_2 > ...][< account_index_2 > ...])

◆ USAGE_ADDRESS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_ADDRESS ( "address | label <index> <label text with white spaces allowed>]"  [new< label text with white spaces allowed >|all|< index_min >[< index_max >])

◆ USAGE_ADDRESS_BOOK()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_ADDRESS_BOOK ( address_book[(add((< address >[pid< id >]) ) [<description possibly with whitespaces>]

◆ USAGE_CHECK_RESERVE_PROOF()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_CHECK_RESERVE_PROOF ( "check_reserve_proof <address> <signature_file> "  [< message >])

◆ USAGE_CHECK_SPEND_PROOF()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_CHECK_SPEND_PROOF ( "check_spend_proof <txid> <signature_file> "  [< message >])

◆ USAGE_CHECK_TX_KEY()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_CHECK_TX_KEY ( "check_tx_key <txid> <txkey> <address>"  )

◆ USAGE_CHECK_TX_PROOF()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_CHECK_TX_PROOF ( "check_tx_proof <txid> <address> <signature_file> "  [< message >])

◆ USAGE_DONATE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_DONATE ( "donate ] <amount> "  [index=< N1 >[,< N2 >,...][< priority >][< ring_size >][< payment_id(obsolete)>])

◆ USAGE_EXCHANGE_MULTISIG_KEYS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_EXCHANGE_MULTISIG_KEYS ( "exchange_multisig_keys <string> "  [< string >...])

◆ USAGE_EXPORT_KEY_IMAGES()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_EXPORT_KEY_IMAGES ( "export_key_images <filename>"  )

◆ USAGE_EXPORT_MULTISIG_INFO()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_EXPORT_MULTISIG_INFO ( "export_multisig_info <filename>"  )

◆ USAGE_EXPORT_OUTPUTS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_EXPORT_OUTPUTS ( "export_outputs <filename>"  )

◆ USAGE_EXPORT_RAW_MULTISIG_TX()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_EXPORT_RAW_MULTISIG_TX ( "export_raw_multisig_tx <filename>"  )

◆ USAGE_FINALIZE_MULTISIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_FINALIZE_MULTISIG ( "finalize_multisig <string> "  [< string >...])

◆ USAGE_FREEZE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_FREEZE ( "freeze <key_image>"  )

◆ USAGE_FROZEN()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_FROZEN ( "frozen <key_image>"  )

◆ USAGE_GET_DESCRIPTION()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_GET_DESCRIPTION ( "get_description"  )

◆ USAGE_GET_RESERVE_PROOF()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_GET_RESERVE_PROOF ( "get_reserve_proof (all|<amount>) "  [< message >])

◆ USAGE_GET_SPEND_PROOF()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_GET_SPEND_PROOF ( "get_spend_proof <txid> "  [< message >])

◆ USAGE_GET_TX_KEY()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_GET_TX_KEY ( "get_tx_key <txid>"  )

◆ USAGE_GET_TX_NOTE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_GET_TX_NOTE ( "get_tx_note <txid>"  )

◆ USAGE_GET_TX_PROOF()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_GET_TX_PROOF ( "get_tx_proof <txid> <address> "  [< message >])

◆ USAGE_HELP()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_HELP ( "help "  [< command >])

◆ USAGE_HW_KEY_IMAGES_SYNC()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_HW_KEY_IMAGES_SYNC ( "hw_key_images_sync"  )

◆ USAGE_HW_RECONNECT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_HW_RECONNECT ( "hw_reconnect"  )

◆ USAGE_IMPORT_KEY_IMAGES()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_IMPORT_KEY_IMAGES ( "import_key_images <filename>"  )

◆ USAGE_IMPORT_MULTISIG_INFO()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_IMPORT_MULTISIG_INFO ( "import_multisig_info <filename> "  [< filename >...])

◆ USAGE_IMPORT_OUTPUTS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_IMPORT_OUTPUTS ( "import_outputs <filename>"  )

◆ USAGE_INCOMING_TRANSFERS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_INCOMING_TRANSFERS ( "incoming_transfers ]]"  [available|unavailable][verbose][uses][index=< N1 >[,< N2 >[,...])

◆ USAGE_INTEGRATED_ADDRESS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_INTEGRATED_ADDRESS ( "integrated_address "  [< payment_id >|< address >])

◆ USAGE_IS_OUTPUT_SPENT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_IS_OUTPUT_SPENT ( "is_output_spent <amount>/<offset>"  )

◆ USAGE_LOCKED_SWEEP_ALL()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_LOCKED_SWEEP_ALL ( "locked_sweep_all ] <address> <lockblocks> "  [index=< N1 >[,< N2 >,...][< priority >][< ring_size >][< payment_id(obsolete)>])

◆ USAGE_LOCKED_TRANSFER()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_LOCKED_TRANSFER ( "locked_transfer ] (<URI> | <addr> <amount>) <lockblocks> "  [index=< N1 >[,< N2 >,...][< priority >][< ring_size >][< payment_id(obsolete)>])

◆ USAGE_MAKE_MULTISIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MAKE_MULTISIG ( "make_multisig <threshold> <string1> "  [< string >...])

◆ USAGE_MARK_OUTPUT_SPENT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MARK_OUTPUT_SPENT ( "mark_output_spent <amount>/<offset> | <filename> "  [add])

◆ USAGE_MARK_OUTPUT_UNSPENT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MARK_OUTPUT_UNSPENT ( "mark_output_unspent <amount>/<offset>"  )

◆ USAGE_MMS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS ( "mms ]"  [< subcommand >[< subcommand_parameters >])

◆ USAGE_MMS_AUTO_CONFIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_AUTO_CONFIG ( "mms auto_config <auto_config_token>"  )

◆ USAGE_MMS_DELETE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_DELETE ( "mms delete (<message_id> | all)"  )

◆ USAGE_MMS_EXPORT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_EXPORT ( "mms export <message_id>"  )

◆ USAGE_MMS_INFO()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_INFO ( "mms info )

◆ USAGE_MMS_INIT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_INIT ( "mms init <required_signers>/<authorized_signers> <own_label> <own_transport_address>"  )

◆ USAGE_MMS_LIST()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_LIST ( "mms list"  )

◆ USAGE_MMS_NEXT()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_NEXT ( "mms next "  [sync])

◆ USAGE_MMS_NOTE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_NOTE ( "mms note "  [< label >< text >])

◆ USAGE_MMS_RECEIVE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_RECEIVE ( "mms receive"  )

◆ USAGE_MMS_SEND()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_SEND ( "mms send "  [< message_id >])

◆ USAGE_MMS_SEND_SIGNER_CONFIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_SEND_SIGNER_CONFIG ( "mms send_signer_config"  )

◆ USAGE_MMS_SET()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_SET ( "mms set <option_name> "  [< option_value >])

◆ USAGE_MMS_SHOW()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_SHOW ( "mms show <message_id>"  )

◆ USAGE_MMS_SIGNER()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_SIGNER ( "mms signer ]]"  [< number >< label >[< transport_address >[< etn_address >])

◆ USAGE_MMS_START_AUTO_CONFIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_START_AUTO_CONFIG ( "mms start_auto_config "  [< label >< label > ...])

◆ USAGE_MMS_STOP_AUTO_CONFIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_STOP_AUTO_CONFIG ( "mms stop_auto_config"  )

◆ USAGE_MMS_SYNC()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_SYNC ( "mms sync"  )

◆ USAGE_MMS_TRANSFER()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_MMS_TRANSFER ( "mms transfer <transfer_command_arguments>"  )

◆ USAGE_NET_STATS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_NET_STATS ( "net_stats"  )

◆ USAGE_PAYMENT_ID()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_PAYMENT_ID ( "payment_id"  )

◆ USAGE_PAYMENTS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_PAYMENTS ( "payments <PID_1> "  [< PID_2 > ...< PID_N >])

◆ USAGE_PRINT_RING()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_PRINT_RING ( "print_ring <key_image> | <txid>"  )

◆ USAGE_RESCAN_BC()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_RESCAN_BC ( "rescan_bc "  [hard|soft|keep_ki][start_height=0])

◆ USAGE_SAVE_KNOWN_RINGS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SAVE_KNOWN_RINGS ( "save_known_rings"  )

◆ USAGE_SET_DAEMON()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_DAEMON ( "set_daemon <host> "  [:< port >][trusted|untrusted])

◆ USAGE_SET_DESCRIPTION()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_DESCRIPTION ( "set_description "  [free text note])

◆ USAGE_SET_LOG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_LOG ( "set_log <level>|{+,-,}<categories>"  )

◆ USAGE_SET_RING()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_RING ( "set_ring <filename> | ( <key_image> absolute|relative <index> [<index>...] )"  )

◆ USAGE_SET_TX_KEY()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_TX_KEY ( "set_tx_key <txid> <tx_key>"  )

◆ USAGE_SET_TX_NOTE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_TX_NOTE ( "set_tx_note <txid> "  [free text note])

◆ USAGE_SET_VARIABLE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SET_VARIABLE ( "set <option> "  [< value >])

◆ USAGE_SHOW_BALANCE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SHOW_BALANCE ( "balance "  [detail])

◆ USAGE_SHOW_TRANSFER()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SHOW_TRANSFER ( "show_transfer <txid>"  )

◆ USAGE_SHOW_TRANSFERS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SHOW_TRANSFERS ( "show_transfers ] ]"  [in|out|pending|failed|pool|coinbase][index=< N1 >[,< N2 >,...][< min_height >[< max_height >])

◆ USAGE_SIGN()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SIGN ( "sign <filename>"  )

◆ USAGE_SIGN_MULTISIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SIGN_MULTISIG ( "sign_multisig <filename>"  )

◆ USAGE_SIGN_TRANSFER()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SIGN_TRANSFER ( "sign_transfer "  [export_raw])

◆ USAGE_START_MINING()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_START_MINING ( "start_mining "  [< number_of_threads >][bg_mining][ignore_battery])

◆ USAGE_SUBMIT_MULTISIG()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SUBMIT_MULTISIG ( "submit_multisig <filename>"  )

◆ USAGE_SWEEP_ALL()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SWEEP_ALL ( "sweep_all ] <address> "  [index=< N1 >[,< N2 >,...][< priority >][< ring_size >][outputs=< N >][< payment_id(obsolete)>])

◆ USAGE_SWEEP_BELOW()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SWEEP_BELOW ( "sweep_below <amount_threshold> ] <address> "  [index=< N1 >[,< N2 >,...][< priority >][< ring_size >][< payment_id(obsolete)>])

◆ USAGE_SWEEP_SINGLE()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_SWEEP_SINGLE ( "sweep_single <key_image> <address> "  [< priority >][< ring_size >][outputs=< N >][< payment_id(obsolete)>])

◆ USAGE_THAW()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_THAW ( "thaw <key_image>"  )

◆ USAGE_TRANSFER()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_TRANSFER ( "transfer ] (<URI> | <address> <amount>) "  [index=< N1 >[,< N2 >,...][< priority >][< ring_size >][< payment_id >])

◆ USAGE_UNSET_RING()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_UNSET_RING ( "unset_ring <txid> | ( <key_image> [<key_image>...] )"  )

◆ USAGE_UNSPENT_OUTPUTS()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_UNSPENT_OUTPUTS ( "unspent_outputs ] ]"  [index=< N1 >[,< N2 >,...][< min_amount >[< max_amount >])

◆ USAGE_VERIFY()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_VERIFY ( "verify <filename> <address> <signature>"  )

◆ USAGE_VERSION()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_VERSION ( "version"  )

◆ USAGE_WELCOME()

const char* anonymous_namespace{simplewallet.cpp}::USAGE_WELCOME ( "welcome"  )

Variable Documentation

◆ allowed_priority_strings

const std::array<const char* const, 5> anonymous_namespace{simplewallet.cpp}::allowed_priority_strings = {{"default", "unimportant", "normal", "elevated", "priority"}}

◆ arg_account_major_offset

const command_line::arg_descriptor<uint32_t> anonymous_namespace{simplewallet.cpp}::arg_account_major_offset = {"account-major-offset", sw::tr("Account Index Offset"), 0}

◆ arg_allow_mismatched_daemon_version

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_allow_mismatched_daemon_version = {"allow-mismatched-daemon-version", sw::tr("Allow communicating with a daemon that uses a different RPC version"), false}

◆ arg_command

const command_line::arg_descriptor< std::vector<std::string> > anonymous_namespace{simplewallet.cpp}::arg_command = {"command", ""}

◆ arg_create_address_file

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_create_address_file = {"create-address-file", sw::tr("Create an address file for new wallets"), false}

◆ arg_do_not_relay

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_do_not_relay = {"do-not-relay", sw::tr("The newly created transaction will not be relayed to the electroneum network"), false}

◆ arg_electrum_seed

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_electrum_seed = {"electrum-seed", sw::tr("Specify Electrum seed for wallet recovery/creation"), ""}

◆ arg_generate_from_device

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_generate_from_device = {"generate-from-device", sw::tr("Generate new wallet from device and save it to <arg>"), ""}

◆ arg_generate_from_json

const auto anonymous_namespace{simplewallet.cpp}::arg_generate_from_json = wallet_args::arg_generate_from_json()

◆ arg_generate_from_keys

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_generate_from_keys = {"generate-from-keys", sw::tr("Generate wallet from private keys"), ""}

◆ arg_generate_from_multisig_keys

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_generate_from_multisig_keys = {"generate-from-multisig-keys", sw::tr("Generate a master wallet from multisig wallet keys"), ""}

◆ arg_generate_from_spend_key

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_generate_from_spend_key = {"generate-from-spend-key", sw::tr("Generate deterministic wallet from spend key"), ""}

◆ arg_generate_from_view_key

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_generate_from_view_key = {"generate-from-view-key", sw::tr("Generate incoming-only wallet from view key"), ""}

◆ arg_generate_new_wallet

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_generate_new_wallet = {"generate-new-wallet", sw::tr("Generate new wallet and save it to <arg>"), ""}

◆ arg_long_payment_id_support

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_long_payment_id_support = {"long-payment-id-support-bad-for-privacy", sw::tr("Support obsolete long (unencrypted) payment ids (using them harms your privacy)"), true}

◆ arg_mnemonic_language

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_mnemonic_language = {"mnemonic-language", sw::tr("Language for mnemonic"), ""}

◆ arg_non_deterministic

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_non_deterministic = {"non-deterministic", sw::tr("Generate non-deterministic view and spend keys"), false}

◆ arg_restore_date

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_restore_date = {"restore-date", sw::tr("Restore from estimated blockchain height on specified date"), ""}

◆ arg_restore_deterministic_wallet

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_restore_deterministic_wallet = {"restore-deterministic-wallet", sw::tr("Recover wallet using Electrum-style mnemonic seed"), false}

◆ arg_restore_height

const command_line::arg_descriptor<uint64_t> anonymous_namespace{simplewallet.cpp}::arg_restore_height = {"restore-height", sw::tr("Restore from specific blockchain height"), 0}

◆ arg_restore_multisig_wallet

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_restore_multisig_wallet = {"restore-multisig-wallet", sw::tr("Recover multisig wallet using Electrum-style mnemonic seed"), false}

◆ arg_subaddress_lookahead

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::arg_subaddress_lookahead = {"subaddress-lookahead", tools::wallet2::tr("Set subaddress lookahead sizes to <major>:<minor>"), ""}

◆ arg_use_english_language_names

const command_line::arg_descriptor<bool> anonymous_namespace{simplewallet.cpp}::arg_use_english_language_names = {"use-english-language-names", sw::tr("Display English language names"), false}

◆ arg_wallet_file

const auto anonymous_namespace{simplewallet.cpp}::arg_wallet_file = wallet_args::arg_wallet_file()

◆ fallback_to_pow_checkpoint_hash

const command_line::arg_descriptor<std::string> anonymous_namespace{simplewallet.cpp}::fallback_to_pow_checkpoint_hash = {"fallback-to-pow-checkpoint-hash", tools::wallet2::tr("Warning: This is to set the hash for a custom checkpoint in the event of PoW fallback. Do not use in normal circumstances. See docs for details "), "", true}

◆ fallback_to_pow_checkpoint_height

const command_line::arg_descriptor<uint64_t> anonymous_namespace{simplewallet.cpp}::fallback_to_pow_checkpoint_height = {"fallback-to-pow-checkpoint-height", tools::wallet2::tr("Warning: This is to set the height for a custom checkpoint in the event of PoW fallback. Do not use in normal circumstances. See docs for details "), 0, true}

◆ name

const char* anonymous_namespace{simplewallet.cpp}::name

◆ refresh_type

tools::wallet2::RefreshType anonymous_namespace{simplewallet.cpp}::refresh_type

◆ 

const { ... } anonymous_namespace{simplewallet.cpp}::refresh_type_names[]
Initial value:
=
{
{ "optimize-coinbase", tools::wallet2::RefreshOptimizeCoinbase },
{ "optimized-coinbase", tools::wallet2::RefreshOptimizeCoinbase },
}
@ RefreshFull
Definition: wallet2.h:213
@ RefreshDefault
Definition: wallet2.h:216
@ RefreshOptimizeCoinbase
Definition: wallet2.h:214
@ RefreshNoCoinbase
Definition: wallet2.h:215