@ -183,7 +183,7 @@ namespace
const command_line : : arg_descriptor < bool > arg_non_deterministic = { " non-deterministic " , sw : : tr ( " Generate non-deterministic view and spend keys " ) , 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 < bool > arg_do_not_relay = { " do-not-relay " , sw : : tr ( " The newly created transaction will not be relayed to the mo nero network" ) , false } ;
const command_line : : arg_descriptor < bool > arg_do_not_relay = { " do-not-relay " , sw : : tr ( " The newly created transaction will not be relayed to the wow nero network" ) , false } ;
const command_line : : arg_descriptor < bool > arg_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 < bool > arg_use_english_language_names = { " use-english-language-names " , sw : : tr ( " Display English language names " ) , false } ;
@ -252,7 +252,7 @@ namespace
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> [< mo nero_address>]]]" ) ;
const char * USAGE_MMS_SIGNER ( " mms signer [<number> <label> [<transport_address> [< wow nero_address>]]]" ) ;
const char * USAGE_MMS_LIST ( " mms list " ) ;
const char * USAGE_MMS_NEXT ( " mms next [sync] " ) ;
const char * USAGE_MMS_SYNC ( " mms sync " ) ;
@ -482,7 +482,7 @@ namespace
std : : stringstream prompt ;
prompt < < sw : : tr ( " For URL: " ) < < url
< < " , " < < dnssec_str < < std : : endl
< < sw : : tr ( " Mo nero Address = " ) < < addresses [ 0 ]
< < sw : : tr ( " Wow nero Address = " ) < < addresses [ 0 ]
< < std : : endl
< < sw : : tr ( " Is this OK? " )
;
@ -1633,7 +1633,7 @@ bool simple_wallet::export_raw_multisig(const std::vector<std::string> &args)
for ( auto & ptx : txs . m_ptx )
{
const crypto : : hash txid = cryptonote : : get_transaction_hash ( ptx . tx ) ;
const std : : string filename = std : : string ( " raw_multisig_ mo nero_tx_" ) + epee : : string_tools : : pod_to_hex ( txid ) ;
const std : : string filename = std : : string ( " raw_multisig_ wow nero_tx_" ) + epee : : string_tools : : pod_to_hex ( txid ) ;
if ( ! filenames . empty ( ) )
filenames + = " , " ;
filenames + = filename ;
@ -2279,25 +2279,25 @@ bool simple_wallet::public_nodes(const std::vector<std::string> &args)
bool simple_wallet : : welcome ( const std : : vector < std : : string > & args )
{
message_writer ( ) < < tr ( " Welcome to Mo nero, the private cryptocurrency." ) ;
message_writer ( ) < < tr ( " Welcome to Wow nero, the private cryptocurrency." ) ;
message_writer ( ) < < " " ;
message_writer ( ) < < tr ( " Mo nero, like Bitcoin, is a cryptocurrency. That is, it is digital money." ) ;
message_writer ( ) < < tr ( " Unlike Bitcoin, your Mo nero transactions and balance stay private and are not visible to the world by default." ) ;
message_writer ( ) < < tr ( " Wow nero, like Bitcoin, is a cryptocurrency. That is, it is digital money." ) ;
message_writer ( ) < < tr ( " Unlike Bitcoin, your Wow nero transactions and balance stay private and are not visible to the world by default." ) ;
message_writer ( ) < < tr ( " However, you have the option of making those available to select parties if you choose to. " ) ;
message_writer ( ) < < " " ;
message_writer ( ) < < tr ( " Monero protects your privacy on the blockchain, and while Mo nero strives to improve all the time," ) ;
message_writer ( ) < < tr ( " no privacy technology can be 100% perfect, Mo nero included." ) ;
message_writer ( ) < < tr ( " Mo nero cannot protect you from malware, and it may not be as effective as we hope against powerful adversaries." ) ;
message_writer ( ) < < tr ( " Flaws in Mo nero may be discovered in the future, and attacks may be developed to peek under some" ) ;
message_writer ( ) < < tr ( " of the layers of privacy Mo nero provides. Be safe and practice defense in depth." ) ;
message_writer ( ) < < tr ( " Wownero protects your privacy on the blockchain, and while Wow nero strives to improve all the time," ) ;
message_writer ( ) < < tr ( " no privacy technology can be 100% perfect, Wow nero included." ) ;
message_writer ( ) < < tr ( " Wow nero cannot protect you from malware, and it may not be as effective as we hope against powerful adversaries." ) ;
message_writer ( ) < < tr ( " Flaws in Wow nero may be discovered in the future, and attacks may be developed to peek under some" ) ;
message_writer ( ) < < tr ( " of the layers of privacy Wow nero provides. Be safe and practice defense in depth." ) ;
message_writer ( ) < < " " ;
message_writer ( ) < < tr ( " Welcome to Monero and financial privacy. For more information see https://GetMo nero.org" ) ;
message_writer ( ) < < tr ( " Welcome to Wownero and financial privacy. For more information see https://wow nero.org" ) ;
return true ;
}
bool simple_wallet : : version ( const std : : vector < std : : string > & args )
{
message_writer ( ) < < " Mo nero '" < < MONERO_RELEASE_NAME < < " ' (v " < < MONERO_VERSION_FULL < < " ) " ;
message_writer ( ) < < " Wow nero '" < < MONERO_RELEASE_NAME < < " ' (v " < < MONERO_VERSION_FULL < < " ) " ;
return true ;
}
@ -2433,7 +2433,7 @@ bool simple_wallet::show_qr_code(const std::vector<std::string> &args)
WTEXTON ( ) ;
try
{
const std : : string address = " mo nero:" + m_wallet - > get_subaddress_as_str ( { m_current_subaddress_account , subaddress_index } ) ;
const std : : string address = " wow nero:" + m_wallet - > get_subaddress_as_str ( { m_current_subaddress_account , subaddress_index } ) ;
const qrcodegen : : QrCode qr = qrcodegen : : QrCode : : encodeText ( address . c_str ( ) , qrcodegen : : QrCode : : Ecc : : LOW ) ;
for ( int y = - 2 ; y < qr . getSize ( ) + 2 ; y + = 2 )
{
@ -2633,7 +2633,7 @@ bool simple_wallet::set_unit(const std::vector<std::string> &args/* = std::vecto
const std : : string & unit = args [ 1 ] ;
unsigned int decimal_point = CRYPTONOTE_DISPLAY_DECIMAL_POINT ;
if ( unit = = " mo nero" )
if ( unit = = " wow nero" )
decimal_point = CRYPTONOTE_DISPLAY_DECIMAL_POINT ;
else if ( unit = = " millinero " )
decimal_point = CRYPTONOTE_DISPLAY_DECIMAL_POINT - 3 ;
@ -3141,16 +3141,16 @@ bool simple_wallet::help(const std::vector<std::string> &args/* = std::vector<st
message_writer ( ) < < tr ( " \" balance \" - Show balance. " ) ;
message_writer ( ) < < tr ( " \" address all \" - Show all addresses. " ) ;
message_writer ( ) < < tr ( " \" address new \" - Create new subaddress. " ) ;
message_writer ( ) < < tr ( " \" transfer <address> <amount> \" - Send XMR to an address." ) ;
message_writer ( ) < < tr ( " \" transfer <address> <amount> \" - Send WOW to an address." ) ;
message_writer ( ) < < tr ( " \" show_transfers [in|out|pending|failed|pool] \" - Show transactions. " ) ;
message_writer ( ) < < tr ( " \" sweep_all <address> \" - Send whole balance to another wallet. " ) ;
message_writer ( ) < < tr ( " \" seed \" - Show secret 25 words that can be used to recover this wallet. " ) ;
message_writer ( ) < < tr ( " \" refresh \" - Synchronize wallet with the Mo nero network." ) ;
message_writer ( ) < < tr ( " \" refresh \" - Synchronize wallet with the Wow nero network." ) ;
message_writer ( ) < < tr ( " \" status \" - Check current status of wallet. " ) ;
message_writer ( ) < < tr ( " \" version \" - Check software version. " ) ;
message_writer ( ) < < tr ( " \" exit \" - Exit wallet. " ) ;
message_writer ( ) < < " " ;
message_writer ( ) < < tr ( " \" donate <amount> \" - Donate XMR to the development team." ) ;
message_writer ( ) < < tr ( " \" donate <amount> \" - Donate WOW to the development team." ) ;
message_writer ( ) < < " " ;
}
else if ( ( args . size ( ) = = 1 ) & & ( args . front ( ) = = " all " ) )
@ -3318,12 +3318,12 @@ simple_wallet::simple_wallet()
m_cmd_binder . set_handler ( " donate " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : donate , _1 ) ,
tr ( USAGE_DONATE ) ,
tr ( " Donate <amount> to the development team ( donate.getmo nero.org)." ) ) ;
tr ( " Donate <amount> to the development team ( wow nero.org)." ) ) ;
m_cmd_binder . set_handler ( " sign_transfer " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : sign_transfer , _1 ) ,
tr ( USAGE_SIGN_TRANSFER ) ,
tr ( " Sign a transaction from a file. If the parameter \" export_raw \" is specified, transaction raw hex data suitable for the daemon RPC /sendrawtransaction is exported. \n "
" Use the parameter <filename> to specify the file to read from. If not specified, the default \" unsigned_ mo nero_tx\" will be used. " ) ) ;
" Use the parameter <filename> to specify the file to read from. If not specified, the default \" unsigned_ wow nero_tx\" will be used. " ) ) ;
m_cmd_binder . set_handler ( " submit_transfer " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : submit_transfer , _1 ) ,
tr ( " Submit a signed transaction from a file. " ) ) ;
@ -3393,8 +3393,8 @@ simple_wallet::simple_wallet()
" ask-password <0|1|2 (or never|action|decrypt)> \n "
" action: ask the password before many actions such as transfer, etc \n "
" decrypt: same as action, but keeps the spend key encrypted in memory when not needed \n "
" unit < mo nero|millinero|micronero|nanonero|piconero>\n "
" Set the default monero (sub-)unit.\n "
" unit < wow nero|millinero|micronero|nanonero|piconero>\n "
" Set the default WOW (sub-)unit.\n "
" min-outputs-count [n] \n "
" Try to keep at least that many outputs of value at least min-outputs-value. \n "
" min-outputs-value [n] \n "
@ -3412,9 +3412,9 @@ simple_wallet::simple_wallet()
" auto-low-priority <1|0> \n "
" Whether to automatically use the low priority fee level when it's safe to do so. \n "
" segregate-pre-fork-outputs <1|0> \n "
" Set this if you intend to spend outputs on both Mo nero AND a key reusing fork.\n "
" Set this if you intend to spend outputs on both Wow nero AND a key reusing fork.\n "
" key-reuse-mitigation2 <1|0> \n "
" Set this if you are not sure whether you will spend on a key reusing Mo nero fork later.\n "
" Set this if you are not sure whether you will spend on a key reusing Wow nero fork later.\n "
" subaddress-lookahead <major>:<minor> \n "
" Set the lookahead sizes for the subaddress hash table. \n "
" segregation-height <n> \n "
@ -3428,7 +3428,7 @@ simple_wallet::simple_wallet()
" track-uses <1|0> \n "
" Whether to keep track of owned outputs uses. \n "
" setup-background-mining <1|0> \n "
" Whether to enable background mining. Set this to support the network and to get a chance to receive new monero .\n "
" Whether to enable background mining. Set this to support the network and to get a chance to receive new WOW .\n "
" device-name <device_name[:device_spec]> \n "
" Device name for hardware wallet. \n "
" export-format < \" binary \" | \" ascii \" > \n "
@ -3629,7 +3629,7 @@ simple_wallet::simple_wallet()
m_cmd_binder . set_handler ( " mms signer " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : mms , _1 ) ,
tr ( USAGE_MMS_SIGNER ) ,
tr ( " Set or modify authorized signer info (single-word label, transport address, Mo nero address), or list all signers" ) ) ;
tr ( " Set or modify authorized signer info (single-word label, transport address, Wow nero address), or list all signers" ) ) ;
m_cmd_binder . set_handler ( " mms list " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : mms , _1 ) ,
tr ( USAGE_MMS_LIST ) ,
@ -3754,7 +3754,7 @@ simple_wallet::simple_wallet()
m_cmd_binder . set_handler ( " welcome " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : welcome , _1 ) ,
tr ( USAGE_WELCOME ) ,
tr ( " Prints basic info about Mo nero for first time users" ) ) ;
tr ( " Prints basic info about Wow nero for first time users" ) ) ;
m_cmd_binder . set_handler ( " version " ,
boost : : bind ( & simple_wallet : : on_command , this , & simple_wallet : : version , _1 ) ,
tr ( USAGE_VERSION ) ,
@ -3898,7 +3898,7 @@ bool simple_wallet::set_variable(const std::vector<std::string> &args)
CHECK_SIMPLE_VARIABLE ( " refresh-type " , set_refresh_type , tr ( " full (slowest, no assumptions); optimize-coinbase (fast, assumes the whole coinbase is paid to a single address); no-coinbase (fastest, assumes we receive no coinbase transaction), default (same as optimize-coinbase) " ) ) ;
CHECK_SIMPLE_VARIABLE ( " priority " , set_default_priority , tr ( " 0, 1, 2, 3, or 4, or one of " ) < < join_priority_strings ( " , " ) ) ;
CHECK_SIMPLE_VARIABLE ( " ask-password " , set_ask_password , tr ( " 0|1|2 (or never|action|decrypt) " ) ) ;
CHECK_SIMPLE_VARIABLE ( " unit " , set_unit , tr ( " mo nero, millinero, micronero, nanonero, piconero" ) ) ;
CHECK_SIMPLE_VARIABLE ( " unit " , set_unit , tr ( " wow nero, millinero, micronero, nanonero, piconero" ) ) ;
CHECK_SIMPLE_VARIABLE ( " max-reorg-depth " , set_max_reorg_depth , tr ( " unsigned integer " ) ) ;
CHECK_SIMPLE_VARIABLE ( " min-outputs-count " , set_min_output_count , tr ( " unsigned integer " ) ) ;
CHECK_SIMPLE_VARIABLE ( " min-outputs-value " , set_min_output_value , tr ( " amount " ) ) ;
@ -4712,7 +4712,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
bool ssl = false ;
if ( m_wallet - > check_connection ( NULL , & ssl ) & & ! ssl )
message_writer ( console_color_red , true ) < < boost : : format ( tr ( " Using your own without SSL exposes your RPC traffic to monitoring " ) ) ;
message_writer ( console_color_red , true ) < < boost : : format ( tr ( " You are strongly encouraged to connect to the Mo nero network using your own daemon" ) ) ;
message_writer ( console_color_red , true ) < < boost : : format ( tr ( " You are strongly encouraged to connect to the Wow nero network using your own daemon" ) ) ;
message_writer ( console_color_red , true ) < < boost : : format ( tr ( " If you or someone you trust are operating this daemon, you can use --trusted-daemon " ) ) ;
COMMAND_RPC_GET_INFO : : request req ;
@ -4733,7 +4733,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
check_background_mining ( password ) ;
if ( welcome )
message_writer ( console_color_yellow , true ) < < tr ( " If you are new to Mo nero, type \" welcome \" for a brief overview. " ) ;
message_writer ( console_color_yellow , true ) < < tr ( " If you are new to Wow nero, type \" welcome \" for a brief overview. " ) ;
m_last_activity_time = time ( NULL ) ;
return true ;
@ -4964,7 +4964,7 @@ boost::optional<epee::wipeable_string> simple_wallet::new_wallet(const boost::pr
" Use the \" help \" command to see a simplified list of available commands. \n "
" Use \" help all \" command to see the list of all available commands. \n "
" Use \" help <command> \" to see a command's documentation. \n "
" Always use the \" exit \" command when closing mo nero-wallet-cli to save \n "
" Always use the \" exit \" command when closing wow nero-wallet-cli to save \n "
" your current session's state. Otherwise, you might need to synchronize \n "
" your wallet again (your wallet keys are NOT at risk in any case). \n " )
;
@ -5347,7 +5347,7 @@ void simple_wallet::start_background_mining()
return ;
}
}
success_msg_writer ( ) < < tr ( " Background mining enabled. Thank you for supporting the Mo nero network." ) ;
success_msg_writer ( ) < < tr ( " Background mining enabled. Thank you for supporting the Wow nero network." ) ;
}
//----------------------------------------------------------------------------------------------------
void simple_wallet : : stop_background_mining ( )
@ -5419,7 +5419,7 @@ void simple_wallet::check_background_mining(const epee::wipeable_string &passwor
{
message_writer ( ) < < tr ( " The daemon is not set up to background mine. " ) ;
message_writer ( ) < < tr ( " With background mining enabled, the daemon will mine when idle and not on battery. " ) ;
message_writer ( ) < < tr ( " Enabling this supports the network you are using, and makes you eligible for receiving new monero " ) ;
message_writer ( ) < < tr ( " Enabling this supports the network you are using, and makes you eligible for receiving new WOW " ) ;
std : : string accepted = input_line ( tr ( " Do you want to do it now? (Y/Yes/N/No): " ) ) ;
if ( std : : cin . eof ( ) | | ! command_line : : is_yes ( accepted ) ) {
m_wallet - > setup_background_mining ( tools : : wallet2 : : BackgroundMiningNo ) ;
@ -6480,7 +6480,7 @@ void simple_wallet::check_for_inactivity_lock(bool user)
m_in_command = true ;
if ( ! user )
{
const std : : string speech = tr ( " I locked your Mo nero wallet to protect you while you were away\n see \" help set \" to configure/disable " ) ;
const std : : string speech = tr ( " I locked your Wow nero wallet to protect you while you were away\n see \" help set \" to configure/disable " ) ;
std : : vector < std : : pair < std : : string , size_t > > lines = tools : : split_string_by_width ( speech , 45 ) ;
size_t max_len = 0 ;
@ -6681,7 +6681,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
}
else
{
if ( boost : : starts_with ( local_args [ i ] , " mo nero:" ) )
if ( boost : : starts_with ( local_args [ i ] , " wow nero:" ) )
fail_msg_writer ( ) < < tr ( " Invalid last argument: " ) < < local_args . back ( ) < < " : " < < error ;
else
fail_msg_writer ( ) < < tr ( " Invalid last argument: " ) < < local_args . back ( ) ;
@ -6917,7 +6917,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
}
else if ( m_wallet - > multisig ( ) )
{
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ mo nero_tx" ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
@ -6925,7 +6925,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ wow nero_tx" ;
}
}
else if ( m_wallet - > get_account ( ) . get_device ( ) . has_tx_cold_sign ( ) )
@ -6954,7 +6954,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
}
else if ( m_wallet - > watch_only ( ) )
{
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ mo nero_tx" ) ;
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
@ -6962,7 +6962,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ wow nero_tx" ;
}
}
else
@ -7072,26 +7072,26 @@ bool simple_wallet::sweep_unmixable(const std::vector<std::string> &args_)
if ( m_wallet - > multisig ( ) )
{
CHECK_MULTISIG_ENABLED ( ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ mo nero_tx" ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ wow nero_tx" ;
}
}
else if ( m_wallet - > watch_only ( ) )
{
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ mo nero_tx" ) ;
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ wow nero_tx" ;
}
}
else
@ -7377,14 +7377,14 @@ bool simple_wallet::sweep_main(uint32_t account, uint64_t below, bool locked, co
if ( m_wallet - > multisig ( ) )
{
CHECK_MULTISIG_ENABLED ( ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ mo nero_tx" ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ wow nero_tx" ;
}
}
else if ( m_wallet - > get_account ( ) . get_device ( ) . has_tx_cold_sign ( ) )
@ -7414,14 +7414,14 @@ bool simple_wallet::sweep_main(uint32_t account, uint64_t below, bool locked, co
}
else if ( m_wallet - > watch_only ( ) )
{
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ mo nero_tx" ) ;
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ wow nero_tx" ;
}
}
else
@ -7612,14 +7612,14 @@ bool simple_wallet::sweep_single(const std::vector<std::string> &args_)
if ( m_wallet - > multisig ( ) )
{
CHECK_MULTISIG_ENABLED ( ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ mo nero_tx" ) ;
bool r = m_wallet - > save_multisig_tx ( ptx_vector , " multisig_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " multisig_ wow nero_tx" ;
}
}
else if ( m_wallet - > get_account ( ) . get_device ( ) . has_tx_cold_sign ( ) )
@ -7650,14 +7650,14 @@ bool simple_wallet::sweep_single(const std::vector<std::string> &args_)
}
else if ( m_wallet - > watch_only ( ) )
{
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ mo nero_tx" ) ;
bool r = m_wallet - > save_tx ( ptx_vector , " unsigned_ wow nero_tx" ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to write transaction(s) to file " ) ;
}
else
{
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ mo nero_tx" ;
success_msg_writer ( true ) < < tr ( " Unsigned transaction(s) successfully written to file: " ) < < " unsigned_ wow nero_tx" ;
}
}
else
@ -7778,7 +7778,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
if ( ! payment_id_str . empty ( ) )
local_args . push_back ( payment_id_str ) ;
if ( m_wallet - > nettype ( ) = = cryptonote : : MAINNET )
message_writer ( ) < < ( boost : : format ( tr ( " Donating %s %s to The Monero Project (donate.getmo nero.org or %s)." ) ) % amount_str % cryptonote : : get_unit ( cryptonote : : get_default_decimal_point ( ) ) % MONERO_DONATION_ADDR ) . str ( ) ;
message_writer ( ) < < ( boost : : format ( tr ( " Donating %s %s to The Wownero Project (wow nero.org or %s)." ) ) % amount_str % cryptonote : : get_unit ( cryptonote : : get_default_decimal_point ( ) ) % MONERO_DONATION_ADDR ) . str ( ) ;
else
message_writer ( ) < < ( boost : : format ( tr ( " Donating %s %s to %s. " ) ) % amount_str % cryptonote : : get_unit ( cryptonote : : get_default_decimal_point ( ) ) % address_str ) . str ( ) ;
transfer ( local_args ) ;
@ -7969,7 +7969,7 @@ bool simple_wallet::sign_transfer(const std::vector<std::string> &args_)
}
bool export_raw = false ;
std : : string unsigned_filename = " unsigned_ mo nero_tx" ;
std : : string unsigned_filename = " unsigned_ wow nero_tx" ;
if ( args_ . size ( ) > 2 | | ( args_ . size ( ) = = 2 & & args_ [ 0 ] ! = " export_raw " ) )
{
PRINT_USAGE ( USAGE_SIGN_TRANSFER ) ;
@ -7993,7 +7993,7 @@ bool simple_wallet::sign_transfer(const std::vector<std::string> &args_)
std : : vector < tools : : wallet2 : : pending_tx > ptx ;
try
{
bool r = m_wallet - > sign_tx ( unsigned_filename , " signed_ mo nero_tx" , ptx , [ & ] ( const tools : : wallet2 : : unsigned_tx_set & tx ) { return accept_loaded_tx ( tx ) ; } , export_raw ) ;
bool r = m_wallet - > sign_tx ( unsigned_filename , " signed_ wow nero_tx" , ptx , [ & ] ( const tools : : wallet2 : : unsigned_tx_set & tx ) { return accept_loaded_tx ( tx ) ; } , export_raw ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to sign transaction " ) ;
@ -8013,7 +8013,7 @@ bool simple_wallet::sign_transfer(const std::vector<std::string> &args_)
txids_as_text + = ( " , " ) ;
txids_as_text + = epee : : string_tools : : pod_to_hex ( get_transaction_hash ( t . tx ) ) ;
}
success_msg_writer ( true ) < < tr ( " Transaction successfully signed to file " ) < < " signed_ mo nero_tx" < < " , txid " < < txids_as_text ;
success_msg_writer ( true ) < < tr ( " Transaction successfully signed to file " ) < < " signed_ wow nero_tx" < < " , txid " < < txids_as_text ;
if ( export_raw )
{
std : : string rawfiles_as_text ;
@ -8021,7 +8021,7 @@ bool simple_wallet::sign_transfer(const std::vector<std::string> &args_)
{
if ( i > 0 )
rawfiles_as_text + = " , " ;
rawfiles_as_text + = " signed_ mo nero_tx_raw" + ( ptx . size ( ) = = 1 ? " " : ( " _ " + std : : to_string ( i ) ) ) ;
rawfiles_as_text + = " signed_ wow nero_tx_raw" + ( ptx . size ( ) = = 1 ? " " : ( " _ " + std : : to_string ( i ) ) ) ;
}
success_msg_writer ( true ) < < tr ( " Transaction raw hex data exported to " ) < < rawfiles_as_text ;
}
@ -8041,7 +8041,7 @@ bool simple_wallet::submit_transfer(const std::vector<std::string> &args_)
try
{
std : : vector < tools : : wallet2 : : pending_tx > ptx_vector ;
bool r = m_wallet - > load_tx ( " signed_ mo nero_tx" , ptx_vector , [ & ] ( const tools : : wallet2 : : signed_tx_set & tx ) { return accept_loaded_tx ( tx ) ; } ) ;
bool r = m_wallet - > load_tx ( " signed_ wow nero_tx" , ptx_vector , [ & ] ( const tools : : wallet2 : : signed_tx_set & tx ) { return accept_loaded_tx ( tx ) ; } ) ;
if ( ! r )
{
fail_msg_writer ( ) < < tr ( " Failed to load transaction from file " ) ;
@ -8215,7 +8215,7 @@ bool simple_wallet::get_tx_proof(const std::vector<std::string> &args)
try
{
std : : string sig_str = m_wallet - > get_tx_proof ( txid , info . address , info . is_subaddress , args . size ( ) = = 3 ? args [ 2 ] : " " ) ;
const std : : string filename = " mo nero_tx_proof" ;
const std : : string filename = " wow nero_tx_proof" ;
if ( m_wallet - > save_to_file ( filename , sig_str , true ) )
success_msg_writer ( ) < < tr ( " signature file saved to: " ) < < filename ;
else
@ -8427,7 +8427,7 @@ bool simple_wallet::get_spend_proof(const std::vector<std::string> &args)
try
{
const std : : string sig_str = m_wallet - > get_spend_proof ( txid , args . size ( ) = = 2 ? args [ 1 ] : " " ) ;
const std : : string filename = " mo nero_spend_proof" ;
const std : : string filename = " wow nero_spend_proof" ;
if ( m_wallet - > save_to_file ( filename , sig_str , true ) )
success_msg_writer ( ) < < tr ( " signature file saved to: " ) < < filename ;
else
@ -8516,7 +8516,7 @@ bool simple_wallet::get_reserve_proof(const std::vector<std::string> &args)
try
{
const std : : string sig_str = m_wallet - > get_reserve_proof ( account_minreserve , args . size ( ) = = 2 ? args [ 1 ] : " " ) ;
const std : : string filename = " mo nero_reserve_proof" ;
const std : : string filename = " wow nero_reserve_proof" ;
if ( m_wallet - > save_to_file ( filename , sig_str , true ) )
success_msg_writer ( ) < < tr ( " signature file saved to: " ) < < filename ;
else
@ -10606,7 +10606,7 @@ void simple_wallet::commit_or_save(std::vector<tools::wallet2::pending_tx>& ptx_
cryptonote : : blobdata blob ;
tx_to_blob ( ptx . tx , blob ) ;
const std : : string blob_hex = epee : : string_tools : : buff_to_hex_nodelimer ( blob ) ;
const std : : string filename = " raw_ mo nero_tx" + ( ptx_vector . size ( ) = = 1 ? " " : ( " _ " + std : : to_string ( i + + ) ) ) ;
const std : : string filename = " raw_ wow nero_tx" + ( ptx_vector . size ( ) = = 1 ? " " : ( " _ " + std : : to_string ( i + + ) ) ) ;
if ( m_wallet - > save_to_file ( filename , blob_hex , true ) )
success_msg_writer ( true ) < < tr ( " Transaction successfully saved to " ) < < filename < < tr ( " , txid " ) < < txid ;
else
@ -10667,12 +10667,12 @@ int main(int argc, char* argv[])
bool should_terminate = false ;
std : : tie ( vm , should_terminate ) = wallet_args : : main (
argc , argv ,
" mo nero-wallet-cli [--wallet-file=<filename>|--generate-new-wallet=<filename>] [<COMMAND>]" ,
sw : : tr ( " This is the command line monero wallet. It needs to connect to a monero\n daemon to work correctly. \n WARNING: Do not reuse your Mo nero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy." ) ,
" wow nero-wallet-cli [--wallet-file=<filename>|--generate-new-wallet=<filename>] [<COMMAND>]" ,
sw : : tr ( " This is the command line wownero wallet. It needs to connect to a wownero\n daemon to work correctly. \n WARNING: Do not reuse your Wow nero keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy." ) ,
desc_params ,
positional_options ,
[ ] ( const std : : string & s , bool emphasis ) { tools : : scoped_message_writer ( emphasis ? epee : : console_color_white : epee : : console_color_default , true ) < < s ; } ,
" mo nero-wallet-cli.log"
" wow nero-wallet-cli.log"
) ;
if ( ! vm )
@ -10859,7 +10859,7 @@ void simple_wallet::list_mms_messages(const std::vector<mms::message> &messages)
void simple_wallet : : list_signers ( const std : : vector < mms : : authorized_signer > & signers )
{
message_writer ( ) < < boost : : format ( " %2s %-20s %-s " ) % tr ( " # " ) % tr ( " Label " ) % tr ( " Transport Address " ) ;
message_writer ( ) < < boost : : format ( " %2s %-20s %-s " ) % " " % tr ( " Auto-Config Token " ) % tr ( " Mo nero Address" ) ;
message_writer ( ) < < boost : : format ( " %2s %-20s %-s " ) % " " % tr ( " Auto-Config Token " ) % tr ( " Wow nero Address" ) ;
for ( size_t i = 0 ; i < signers . size ( ) ; + + i )
{
const mms : : authorized_signer & signer = signers [ i ] ;
@ -11065,7 +11065,7 @@ void simple_wallet::mms_signer(const std::vector<std::string> &args)
}
if ( ( args . size ( ) < 2 ) | | ( args . size ( ) > 4 ) )
{
fail_msg_writer ( ) < < tr ( " mms signer [<number> <label> [<transport_address> [< mo nero_address>]]]" ) ;
fail_msg_writer ( ) < < tr ( " mms signer [<number> <label> [<transport_address> [< wow nero_address>]]]" ) ;
return ;
}
@ -11084,14 +11084,14 @@ void simple_wallet::mms_signer(const std::vector<std::string> &args)
bool ok = cryptonote : : get_account_address_from_str_or_url ( info , m_wallet - > nettype ( ) , args [ 3 ] , oa_prompter ) ;
if ( ! ok )
{
fail_msg_writer ( ) < < tr ( " Invalid Mo nero address" ) ;
fail_msg_writer ( ) < < tr ( " Invalid Wow nero address" ) ;
return ;
}
monero_address = info . address ;
const std : : vector < mms : : message > & messages = ms . get_all_messages ( ) ;
if ( ( messages . size ( ) > 0 ) | | state . multisig )
{
fail_msg_writer ( ) < < tr ( " Wallet state does not allow changing Mo nero addresses anymore" ) ;
fail_msg_writer ( ) < < tr ( " Wallet state does not allow changing Wow nero addresses anymore" ) ;
return ;
}
}