diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-09-03 22:03:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-09-03 22:03:44 +0200 |
commit | df63e0704aaed8ca4ce89f84586978c0b714ebf8 (patch) | |
tree | 46a59c67869cdbfcaaa1ec9d1aa904c97eb7987d | |
parent | fix blockchain utilities readme (diff) | |
download | monero-df63e0704aaed8ca4ce89f84586978c0b714ebf8.tar.xz |
fix remaining bitmonero and simplewallet bits
-rw-r--r-- | README.i18n | 2 | ||||
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 4 | ||||
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 2 | ||||
-rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 | ||||
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 10 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/create_wallets.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/mining_start.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/mining_stop.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/open_wallet_1.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/open_wallet_2.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/open_wallet_3.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/open_wallet_4.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/open_wallet_5.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/open_wallet_miner.sh | 2 | ||||
-rwxr-xr-x | tests/libwallet_api_tests/scripts/send_funds.sh | 2 | ||||
-rw-r--r-- | translations/monero.ts | 2 |
16 files changed, 22 insertions, 22 deletions
diff --git a/README.i18n b/README.i18n index 0c7a010ef..c4eabaf15 100644 --- a/README.i18n +++ b/README.i18n @@ -25,7 +25,7 @@ To build translations after modiying them: To test a translation: - LANG=es ./build/release/bin/simplewallet + LANG=es ./build/release/bin/monero-wallet-cli To add new translatable sources in the source: diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index f5445b48a..7a4feeac4 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -280,8 +280,8 @@ namespace cryptonote { LOG_PRINT_RED_L0("Found old-style blockchain.bin in " << old_files.string()); LOG_PRINT_RED_L0("Monero now uses a new format. You can either remove blockchain.bin to start syncing"); - LOG_PRINT_RED_L0("the blockchain anew, or use blockchain_export and blockchain_import to convert your"); - LOG_PRINT_RED_L0("existing blockchain.bin to the new format. See README.md for instructions."); + LOG_PRINT_RED_L0("the blockchain anew, or use monero-blockchain-import and monero-blockchain-export to"); + LOG_PRINT_RED_L0("convert your existing blockchain.bin to the new format. See README.md for instructions."); return false; } } diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 81d96d5bf..f16dad281 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -706,7 +706,7 @@ namespace cryptonote if(m_synchronized.compare_exchange_strong(val_expected, true)) { LOG_PRINT_L0(ENDL << "**********************************************************************" << ENDL - << "You are now synchronized with the network. You may now start simplewallet." << ENDL + << "You are now synchronized with the network. You may now start monero-wallet-cli." << ENDL << ENDL << "Please note, that the blockchain will be saved only after you quit the daemon with \"exit\" command or if you use \"save\" command." << ENDL << "Otherwise, you will possibly need to synchronize the blockchain again." << ENDL diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index fba3e5398..f10a5a3a6 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -923,10 +923,10 @@ bool t_rpc_command_executor::print_status() bool daemon_is_alive = m_rpc_client->check_connection(); if(daemon_is_alive) { - tools::success_msg_writer() << "bitmonerod is running"; + tools::success_msg_writer() << "monerod is running"; } else { - tools::fail_msg_writer() << "bitmonerod is NOT running"; + tools::fail_msg_writer() << "monerod is NOT running"; } return true; diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index c1b0a2a95..421d1f53a 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1598,7 +1598,7 @@ bool simple_wallet::new_wallet(const std::string &wallet_file, const std::string tr("Your wallet has been generated!\n" "To start synchronizing with the daemon, use \"refresh\" command.\n" "Use \"help\" command to see the list of available commands.\n" - "Always use \"exit\" command when closing simplewallet to save your\n" + "Always use \"exit\" command when closing monero-wallet-cli to save your\n" "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") ; @@ -3746,7 +3746,7 @@ int main(int argc, char* argv[]) return false; } // epee didn't find path to executable from argv[0], so use this default file name. - log_file_name = "simplewallet.log"; + log_file_name = "monero-wallet-cli.log"; // The full path will use cwd because epee also returned an empty default log folder. } default_log /= log_file_name; @@ -3779,7 +3779,7 @@ int main(int argc, char* argv[]) if (command_line::get_arg(vm, command_line::arg_help)) { success_msg_writer() << "Monero '" << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL << ")"; - success_msg_writer() << sw::tr("Usage:") << " simplewallet [--wallet-file=<file>|--generate-new-wallet=<file>] [--daemon-address=<host>:<port>] [<COMMAND>]"; + success_msg_writer() << sw::tr("Usage:") << " monero-wallet-cli [--wallet-file=<file>|--generate-new-wallet=<file>] [--daemon-address=<host>:<port>] [<COMMAND>]"; success_msg_writer() << desc_all; return false; } @@ -3798,8 +3798,8 @@ int main(int argc, char* argv[]) return 0; // log_file_path - // default: < argv[0] directory >/simplewallet.log - // so if ran as "simplewallet" (no path), log file will be in cwd + // default: < argv[0] directory >/monero-wallet-cli.log + // so if ran as "monero-wallet-cli" (no path), log file will be in cwd // // if log-file argument given: // absolute path diff --git a/tests/libwallet_api_tests/scripts/create_wallets.sh b/tests/libwallet_api_tests/scripts/create_wallets.sh index 6abad84f9..e25d2c317 100755 --- a/tests/libwallet_api_tests/scripts/create_wallets.sh +++ b/tests/libwallet_api_tests/scripts/create_wallets.sh @@ -2,7 +2,7 @@ function create_wallet { wallet_name=$1 - echo 0 | simplewallet --testnet --trusted-daemon --daemon-address localhost:38081 --generate-new-wallet $wallet_name --password "" --restore-height=1 + echo 0 | monero-wallet-cli --testnet --trusted-daemon --daemon-address localhost:38081 --generate-new-wallet $wallet_name --password "" --restore-height=1 } diff --git a/tests/libwallet_api_tests/scripts/mining_start.sh b/tests/libwallet_api_tests/scripts/mining_start.sh index 76eabfc55..30e3b7fbb 100755 --- a/tests/libwallet_api_tests/scripts/mining_start.sh +++ b/tests/libwallet_api_tests/scripts/mining_start.sh @@ -1,4 +1,4 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_m --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_m.log start_mining +rlwrap monero-wallet-cli --wallet-file wallet_m --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_m.log start_mining diff --git a/tests/libwallet_api_tests/scripts/mining_stop.sh b/tests/libwallet_api_tests/scripts/mining_stop.sh index 640e56943..fadd68085 100755 --- a/tests/libwallet_api_tests/scripts/mining_stop.sh +++ b/tests/libwallet_api_tests/scripts/mining_stop.sh @@ -1,4 +1,4 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_m --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_miner.log stop_mining +rlwrap monero-wallet-cli --wallet-file wallet_m --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_miner.log stop_mining diff --git a/tests/libwallet_api_tests/scripts/open_wallet_1.sh b/tests/libwallet_api_tests/scripts/open_wallet_1.sh index 08f4e28ab..6e5a373d8 100755 --- a/tests/libwallet_api_tests/scripts/open_wallet_1.sh +++ b/tests/libwallet_api_tests/scripts/open_wallet_1.sh @@ -1,5 +1,5 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_01.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_01.log +rlwrap monero-wallet-cli --wallet-file wallet_01.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_01.log diff --git a/tests/libwallet_api_tests/scripts/open_wallet_2.sh b/tests/libwallet_api_tests/scripts/open_wallet_2.sh index 8a16a6647..305af2f11 100755 --- a/tests/libwallet_api_tests/scripts/open_wallet_2.sh +++ b/tests/libwallet_api_tests/scripts/open_wallet_2.sh @@ -1,5 +1,5 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_02.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_01.log +rlwrap monero-wallet-cli --wallet-file wallet_02.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_01.log diff --git a/tests/libwallet_api_tests/scripts/open_wallet_3.sh b/tests/libwallet_api_tests/scripts/open_wallet_3.sh index 64a04b3c4..43df4a906 100755 --- a/tests/libwallet_api_tests/scripts/open_wallet_3.sh +++ b/tests/libwallet_api_tests/scripts/open_wallet_3.sh @@ -1,4 +1,4 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_03.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_03.log +rlwrap monero-wallet-cli --wallet-file wallet_03.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_03.log diff --git a/tests/libwallet_api_tests/scripts/open_wallet_4.sh b/tests/libwallet_api_tests/scripts/open_wallet_4.sh index 8ebf0a4c7..c48dd5636 100755 --- a/tests/libwallet_api_tests/scripts/open_wallet_4.sh +++ b/tests/libwallet_api_tests/scripts/open_wallet_4.sh @@ -1,4 +1,4 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_04.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_04.log +rlwrap monero-wallet-cli --wallet-file wallet_04.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_04.log diff --git a/tests/libwallet_api_tests/scripts/open_wallet_5.sh b/tests/libwallet_api_tests/scripts/open_wallet_5.sh index bbeb702c0..820114d48 100755 --- a/tests/libwallet_api_tests/scripts/open_wallet_5.sh +++ b/tests/libwallet_api_tests/scripts/open_wallet_5.sh @@ -1,4 +1,4 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_05.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_05.log +rlwrap monero-wallet-cli --wallet-file wallet_05.bin --password "" --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_05.log diff --git a/tests/libwallet_api_tests/scripts/open_wallet_miner.sh b/tests/libwallet_api_tests/scripts/open_wallet_miner.sh index 07a4e58ea..633e2519c 100755 --- a/tests/libwallet_api_tests/scripts/open_wallet_miner.sh +++ b/tests/libwallet_api_tests/scripts/open_wallet_miner.sh @@ -1,4 +1,4 @@ #!/bin/bash -rlwrap simplewallet --wallet-file wallet_m --password "" --testnet --trusted-daemon --daemon-address 127.0.0.1:38081 --log-file wallet_m.log +rlwrap monero-wallet-cli --wallet-file wallet_m --password "" --testnet --trusted-daemon --daemon-address 127.0.0.1:38081 --log-file wallet_m.log diff --git a/tests/libwallet_api_tests/scripts/send_funds.sh b/tests/libwallet_api_tests/scripts/send_funds.sh index 437e4f240..b7f282b71 100755 --- a/tests/libwallet_api_tests/scripts/send_funds.sh +++ b/tests/libwallet_api_tests/scripts/send_funds.sh @@ -6,7 +6,7 @@ function send_funds { local amount=$1 local dest=$(cat "$2.address.txt") - simplewallet --wallet-file wallet_m --password "" \ + monero-wallet-cli --wallet-file wallet_m --password "" \ --testnet --trusted-daemon --daemon-address localhost:38081 --log-file wallet_m.log \ --command transfer $dest $amount } diff --git a/translations/monero.ts b/translations/monero.ts index 7909266cc..e245c168b 100644 --- a/translations/monero.ts +++ b/translations/monero.ts @@ -311,7 +311,7 @@ Wallet file name: </source> <source>Your wallet has been generated. To start synchronizing with the daemon use "refresh" command. Use "help" command to see the list of available commands. -Always use "exit" command when closing simplewallet to save +Always use "exit" command when closing monero-wallet-cli to save current session's state. Otherwise, you will possibly need to synchronize your wallet again. Your wallet key is NOT under risk anyway. </source> |