aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-07Subaddresseskenshi842-203/+637
2017-10-06Merge pull request #2468Riccardo Spagni2-2/+23
986d03d4 simplewallet: allow to set threshold before warning about tx backlog (selsta)
2017-10-02Merge pull request #2515Riccardo Spagni1-0/+3
c34093db simplewallet: add privacy warning when using an untrusted demon (moneromooo-monero)
2017-10-02Merge pull request #2512Riccardo Spagni1-3/+5
792ba4f0 Log categories can now be added to and removed from (moneromooo-monero) 48f92eb6 easylogging++: add categories getter (moneromooo-monero) f35afe62 epee: factor log level/categories setting (moneromooo-monero)
2017-10-02simplewallet: allow to set threshold before warning about tx backlogselsta2-2/+23
2017-09-25move checkpoints in a separate librarymoneromooo-monero1-1/+1
2017-09-25Merge pull request #2452Riccardo Spagni1-0/+3
0aaaca29 tx_pool: set the "invalid input" bit when check_tx_inputs fails (moneromooo-monero) 9236823b simplewallet: print tx rejection reason where it was missing (moneromooo-monero) 3dee3301 core_rpc_server: print tx rejection reason at L0 too (moneromooo-monero)
2017-09-25Merge pull request #2424Riccardo Spagni1-3/+12
28b72b6e tx_pool: pre-init tvc.m_verifivation_failed before processing (moneromooo-monero) 50a629b2 core_tests: catch (impossible in practice) tx extra api failure (moneromooo-monero) fee15ef1 wallet2: catch failure to parse address (moneromooo-monero) 1399e26d net_peerlist: remove dead code (moneromooo-monero) 50e09698 tx_pool: guard against failure getting tx hash (moneromooo-monero) 54cc209a wallet_rpc_server: catch failure to create directory (moneromooo-monero) 3e55099c wallet_rpc_server: init m_vm to NULL in ctor (moneromooo-monero) 7d0dde5e wallet_args: remove redundant default value for --log-file (moneromooo-monero) ed4a3350 wallet2: catch failure to save keys file (moneromooo-monero) 44434c8a wallet2_api: check whether dynamic_cast returns NULL (moneromooo-monero) 92f2f687 core: check return value from parse_hexstr_to_binbuff (moneromooo-monero) 5475692e wallet2_api: remove an unused, uninitialized, field (moneromooo-monero) a7ba3de1 libwallet_api_tests: initialize newblock_triggered on reset (moneromooo-monero) b2763ace wallet2_api: init error code to "no error" in the ctor (moneromooo-monero) b5faac53 get_blockchain_top now returns void (moneromooo-monero) 2e44d8f2 wallet_rpc_server: guard against exceptions (moneromooo-monero) 4230876b simplewallet: guard against I/O exceptions (moneromooo-monero) 06c1e057 daemon: initialize decode_as_json in RPC request (moneromooo-monero) 11f71af5 http_base: init size_t in http_request_info ctor (moneromooo-monero)
2017-09-25Merge pull request #2442Riccardo Spagni1-2/+1
e29282d2 build: auto update version info without manually deleting version.h (stoffu)
2017-09-25simplewallet: guard against I/O exceptionsmoneromooo-monero1-3/+12
CID 175308
2017-09-25Merge pull request #2257Riccardo Spagni2-2/+31
651baaec wallet: add encrypted seed functionality (moneromooo-monero)
2017-09-22simplewallet: add privacy warning when using an untrusted demonmoneromooo-monero1-0/+3
2017-09-22Log categories can now be added to and removed frommoneromooo-monero1-3/+5
Also, set_log without parameters now prints the log categories
2017-09-21build: auto update version info without manually deleting version.hstoffu1-2/+1
2017-09-20Merge pull request #2412Riccardo Spagni1-2/+2
81fb2f53 Silence more stupid gcc warnings (Howard Chu)
2017-09-20Merge pull request #2381Riccardo Spagni2-0/+11
840aed1c monero-wallet-cli: New command 'wallet_info' improved (rbrunner7) 9bdd985c monero-wallet-cli: New command 'wallet_info' (rbrunner7)
2017-09-16simplewallet: print tx rejection reason where it was missingmoneromooo-monero1-0/+3
2017-09-12wallet: add encrypted seed functionalitymoneromooo-monero2-2/+31
This uses luigi1111's CN_Add method. See https://xmr.llcoins.net for details.
2017-09-08Silence more stupid gcc warningsHoward Chu1-2/+2
2017-09-02Merge pull request #2362Riccardo Spagni2-3/+67
adce8ae4 simplewallet: new "fee" command to display fee information (moneromooo-monero)
2017-09-02Merge pull request #2316Riccardo Spagni1-0/+1
0c6c3eb3 Silence stupid fallthru warning in gcc 7 (Howard Chu)
2017-08-31monero-wallet-cli: New command 'wallet_info' improvedrbrunner71-5/+4
2017-08-31monero-wallet-cli: New command 'wallet_info'rbrunner72-0/+12
2017-08-29simplewallet: new "fee" command to display fee informationmoneromooo-monero2-3/+67
including expected transaction backlog at different priorities
2017-08-26Merge pull request #2320Riccardo Spagni1-0/+8
c656dd0e Fix refresh counter display (Howard Chu) c088d38a Simplify readline support (Howard Chu)
2017-08-26wallet: new option to check/confirm txpool backlog when sendingmoneromooo-monero2-1/+58
2017-08-22Fix refresh counter displayHoward Chu1-0/+8
Suspend readline when refreshing
2017-08-21Silence stupid fallthru warning in gcc 7Howard Chu1-0/+1
2017-08-15Merge pull request #2293Riccardo Spagni2-1/+14
dee41efa simplewallet: mnemonic language command-line arg (Eugene Otto)
2017-08-15Merge pull request #2281Riccardo Spagni1-80/+8
e499ff33 simplewallet: factor out message_writer (moneromooo-monero) 7ed5ab47 scoped_message_writer: pause readline to match simplewallet (moneromooo-monero)
2017-08-15Merge pull request #2279Riccardo Spagni1-0/+6
359517c7 wallet_rpc_server: fix possible privacy leak in on_import_key_images() (Jaquee) 20495b27 simplewallet: fix possible privacy leak in import_key_images() (Jaquee)
2017-08-15Merge pull request #2256Riccardo Spagni1-6/+11
042b86c4 simplewallet: do not ask wallet filename twice when restoring (moneromooo-monero)
2017-08-15Merge pull request #2255Riccardo Spagni1-2/+2
8bbed275 simplewallet: Be explicit about secret keys (Erik de Castro Lopo)
2017-08-15Merge pull request #2240Riccardo Spagni2-2/+15
b7d6ec83 simplewallet: add (out of sync) or (no daemon) markers in the prompt (moneromooo-monero) fa23a500 wallet2: add a is_synced function (moneromooo-monero) f1307bbd node_rpc_proxy: add a proxy for target height (moneromooo-monero)
2017-08-15Merge pull request #2205Riccardo Spagni1-0/+35
c97d1bd3 wallet: return unlock_time in get_transfers (moneromooo-monero)
2017-08-13simplewallet: mnemonic language command-line argEugene Otto2-1/+14
Add `--mnemonic-language` command-line arg so it's possible to generate a wallet without interacting with the CLI.
2017-08-11simplewallet: factor out message_writermoneromooo-monero1-80/+8
2017-08-11simplewallet: fix possible privacy leak in import_key_images()Jaquee1-0/+6
2017-08-07change mixin to ring size in user visible placesmoneromooo-monero2-40/+44
2017-08-07Merge pull request #2218Riccardo Spagni2-3/+145
02f13d6c Fix handling of strings & simplify summation of spendkeys (JollyMort) 40fc9d7b Add option to join multisig wallet pieces together (JollyMort)
2017-08-07Merge pull request #2210Riccardo Spagni1-7/+43
cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
2017-08-07Merge pull request #2196Riccardo Spagni1-12/+50
16a55347 simplewallet: show payment ids on sign_transfer (moneromooo-monero)
2017-08-06simplewallet: do not ask wallet filename twice when restoringmoneromooo-monero1-6/+11
It's annoying and pointless (especially as it's the only thing where the user is asked twice)
2017-08-06simplewallet: Be explicit about secret keysErik de Castro Lopo1-2/+2
Previously, the wallet just asked for "Spend key" and "View key" but now it specifies that these should be the secret versions of these keys.
2017-08-04simplewallet: show payment ids on sign_transfermoneromooo-monero1-12/+50
Integrated addresses are shown when an encrypted payment id is used
2017-08-02simplewallet: add (out of sync) or (no daemon) markers in the promptmoneromooo-monero2-2/+15
Should help people who don't realize why they haven't seen their monero yet.
2017-08-02wallet: return unlock_time in get_transfersmoneromooo-monero1-0/+35
also show it in simplewallet's show_transfer
2017-07-29Fix handling of strings & simplify summation of spendkeysJollyMort1-13/+7
2017-07-29Add option to join multisig wallet pieces togetherJollyMort2-3/+151
Asks user for all the data required to merge secret keys from multisig wallets into one master wallet, which then gets full control of the multisig wallet. The resulting wallet will be the same as any other regular wallet.
2017-07-27Move OpenAlias console input back from libsmoneromooo-monero1-7/+43
Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller.
2017-07-22Make successful transfer log message more informativeJollyMort1-1/+2
"Payment successfully sent" can be misleading if the TX isn't confirmed and drops from TX-pool.
2017-07-19Merge pull request #2159Riccardo Spagni1-2/+2
6955976b Add various readline related fixes (Jethro Grassie)
2017-07-19Merge pull request #2135Riccardo Spagni1-0/+2
5cea3552 simplewallet: lock idle scope when sweeping (moneromooo-monero)
2017-07-09Add various readline related fixesJethro Grassie1-2/+2
- Add missing unbind key - Fix colored messages - Add command completion - Preserve last command input - Fix cursor position issues - Fix trailing whitespace in commands - Synchronize set_prompt
2017-07-03Merge pull request #2124Riccardo Spagni1-12/+0
3b599d2b wallet2: get current height from the daemon on creation (moneromooo-monero) d3bb72ff wallet2: fix infinite loop on future refresh height (moneromooo-monero) 32754784 wallet: fix refresh_from_height setting on new wallet (moneromooo-monero)
2017-07-03Merge pull request #2112Riccardo Spagni1-0/+15
76043b17 monero-wallet-cli: hang on exit in readline code (#2117) (moneromooo-monero) a73a42a6 monero-wallet-cli: hang on exit in readline code (#2117) (moneromooo-monero) be9d4f04 Fix multiline wallet cli output with readline (Jethro Grassie)
2017-07-03Merge pull request #2110Riccardo Spagni1-4/+4
7d2c89b6 Add french translation (Guillaume LE VAILLANT) 3255887f simplewallet: typo fixes (Guillaume LE VAILLANT)
2017-06-30simplewallet: lock idle scope when sweepingmoneromooo-monero1-0/+2
This ensures the chain and related structures can't change while we're using them
2017-06-26wallet: fix refresh_from_height setting on new walletmoneromooo-monero1-12/+0
The previous patch was based on a wrong premise (that the daemon height was 0 because the daemon calling code wasn't yet initialized). In fact, current height approximation was not setup for testnet. Fix this.
2017-06-25Fix multiline wallet cli output with readlineJethro Grassie1-0/+15
monero-wallet-cli commands which have multine output sometimes causes issues with the readline support. This patch fixes show_transfers, payments and incoming_transfers.
2017-06-23simplewallet: typo fixesGuillaume LE VAILLANT1-4/+4
2017-06-22simplewallet: removed unneeded LOCK_IDLE_SCOPE() from check_tx_key()stoffu1-2/+0
2017-06-22simplewallet: replace assert(m_wallet) with error outstoffu1-5/+25
2017-06-22Signature proving payment to destination by only revealing key derivation, ↵stoffu2-15/+220
not the actual tx secret key
2017-06-18Merge pull request #2081Riccardo Spagni2-0/+15
b2319a03 simplewallet: new command to generate a random payment id (moneromooo-monero)
2017-06-10simplewallet: new command to generate a random payment idmoneromooo-monero2-0/+15
This is trivial, but often requested, and possibly hard to do in Windows. That makes it more user friendly.
2017-06-07add simplewallet --generate-new-wallet arg checksMichael Shick1-0/+9
Add fail-fast paths that reduce frustration around the misuse of --wallet-file combined with --restore-deterministic-wallet. Flow now gives more descriptive errors and avoids having users type in their whole seed before the failure condition is noticed.
2017-05-30Merge pull request #2053Riccardo Spagni1-10/+13
05f3dcf7 simplewallet: fix refresh height for new wallets (moneromooo-monero)
2017-05-30Merge pull request #2039Riccardo Spagni1-1/+1
4b932ff3 changed crypto to cncrypto so it generated libcncrypto (Gentian)
2017-05-28simplewallet: fix refresh height for new walletsmoneromooo-monero1-10/+13
With the recent change to wallet creation code, the code was calling to the daemon before the wallet's daemon address was initialized, and thus failing. This was causing all new wallets to refresh from 0 instead of just fetching early block hashes.
2017-05-23changed crypto to cncrypto so it generated libcncryptoGentian1-1/+1
fix a cmakelist
2017-05-09corrected typo in help regarding min-outputs-*stoffu1-1/+1
2017-04-24wallet: add sweep_below functionmoneromooo-monero2-2/+26
It sweeps all outputs below the given threshold This is available via the existing sweep_all RPC, by setting amount_threshold the desired amount (in atomic units)
2017-04-24Merge pull request #1984Riccardo Spagni1-7/+22
a255a540 simplewallet: allow multiline seed (moneromooo-monero) 5fce581c mnemonics: ignore multiple whitespace between words (moneromooo-monero)
2017-04-16simplewallet: allow multiline seedmoneromooo-monero1-7/+22
People are likely to enter it in three lines as it is how it is displayed at creation time
2017-04-12wallet cli: removed some inappropriate return-falsekenshi841-16/+6
2017-04-11Merge pull request #1949Riccardo Spagni1-9/+9
0ee018b4 wallet2: do not go over the target tx size if many destinations (moneromooo-monero) 9ae566d0 simplewallet: fix cold signing of split transactions (moneromooo-monero) aae14a10 simplewallet: allow setting confirm-missing-payment-id in watch wallets (moneromooo-monero)
2017-04-11Merge pull request #1940Riccardo Spagni1-4/+17
17c7c62d Add per transaction fee to transfer command (Antti Keränen)
2017-04-11Merge pull request #1931Riccardo Spagni1-1/+0
89e100bc wallet cli: remove redundant password confirm in donate command (kenshi84)
2017-04-02simplewallet: fix cold signing of split transactionsmoneromooo-monero1-3/+9
They'd be rejected as suspicious as the change goes to more than one destination. However, split transactions will most likely include fake zero amount change to random addresses, so we only consider change with non zero amount for this.
2017-04-02simplewallet: allow setting confirm-missing-payment-id in watch walletsmoneromooo-monero1-6/+0
These can create transactions, even though they cannot sign them.
2017-04-01Add per transaction fee to transfer commandAntti Keränen1-4/+17
Allows priority argument default/unimportant/normal/elevated/priority to be used per transaction in CLI wallet's transfer command. Resolves #1913.
2017-03-27wallet cli: remove redundant password confirm in donate commandkenshi841-1/+0
2017-03-26simplewallet: factor the per-variable code in set_variablemoneromooo-monero1-170/+28
2017-03-25wallet: option to merge destinationsmoneromooo-monero2-1/+27
With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
2017-03-25Merge pull request #1921Riccardo Spagni1-1/+1
2bee92db Fixed typo in v5 hard fork finalized date (Derek Zhang) d17179d1 Fixed typo in CLI wallet help message (Derek Zhang)
2017-03-24Fixed typo in CLI wallet help messageDerek Zhang1-1/+1
2017-03-24wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero2-1/+67
When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
2017-03-22Transfer helpAkademik Prokhor Zakharov1-2/+2
New pull request because I couldn't figure out how to change the previous one. 1. For clarity, I want to focus the help text for the 'transfer' command on the most typical use case (a single payment). 2. New users will prefer to use 'transfer', so the older method 'transfer_original' should refer to 'transfer' rather than the other way around.
2017-03-21wallet: fix set_log not handling 0,xxx style settingsmoneromooo-monero1-15/+1
2017-03-18Merge pull request #1886Riccardo Spagni1-5/+0
f9a2b527 simplewallet: allow setting tx priority in watch wallets (moneromooo-monero)
2017-03-18Merge pull request #1883Riccardo Spagni1-2/+2
d0238313 use const references in catch blocks (moneromooo-monero)
2017-03-18simplewallet: allow setting tx priority in watch walletsmoneromooo-monero1-5/+0
Those can create unsigned transactions
2017-03-18use const references in catch blocksmoneromooo-monero1-2/+2
2017-03-18simplewallet: catch case where no transactions are mademoneromooo-monero1-1/+7
This would otherwise be a silent noop, which is confusing. This can happen if the daemon is started, but not yet ready to service all requests, and this is a safe catch all.
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero1-6/+6
Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
2017-03-05wallet: add password commandmoneromooo-monero1-3/+4
Also tweak wallet2 password code to verify password without saying it's a new wallet, because it's assuming things.
2017-03-03Merge pull request #1826Riccardo Spagni2-1/+46
2c468dd4 allow user I/O in millinero, micronero, nanonero, piconero (moneromooo-monero)
2017-03-03Merge pull request #1820Riccardo Spagni2-11/+11
7a44f38a Add support for the wallet to refresh pruned blocks (moneromooo-monero) da18898f ringct: do not require range proof in decodeRct/decodeRctSimple (moneromooo-monero) b49c6ab4 rpc: add a default category for daemon rpc (moneromooo-monero) f113b92b core: add functions to serialize base tx info (moneromooo-monero) 6fd4b827 node_rpc_proxy: allow caching daemon RPC version (moneromooo-monero) b5c74e40 wallet: invalidate node proxy cache when reconnecting (moneromooo-monero)
2017-03-02allow user I/O in millinero, micronero, nanonero, piconeromoneromooo-monero2-1/+46
2017-02-28wallet: fix --log-file not workingmoneromooo-monero1-1/+2
2017-02-27Add support for the wallet to refresh pruned blocksmoneromooo-monero2-11/+11
2017-02-24simplewallet: updated help message for 'set ask-password'kenshi841-1/+1
2017-02-22Merge pull request #1765Riccardo Spagni1-8/+7
5cfddd74 Add support for smart mining through wallet. (Dion Ahmetaj)
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni3-3/+3
2017-02-21Add support for smart mining through wallet.Dion Ahmetaj1-8/+7
2017-02-14simplewallet: validate hex input sizemoneromooo-monero1-9/+9
2017-02-11Merge pull request #1698Riccardo Spagni1-0/+6
9459f331 simplewallet: print error when address is wrong (kenshi84)
2017-02-11Merge pull request #1689Riccardo Spagni2-2/+2
ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
2017-02-08simplewallet: print error when address is wrongkenshi841-0/+6
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi842-3/+3
2017-02-06Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2-2/+2
2017-02-04Merge pull request #1665Riccardo Spagni1-6/+1
34719071 simplewallet: cleanup (moneromooo-monero) a9a9b64b simplewallet: fix build (unqualified type not in current scope) (moneromooo-monero)
2017-02-04Merge pull request #1640Riccardo Spagni2-0/+43
f97526e6 simplewallet: option to always ask password for any crytical operations (kenshi84)
2017-02-03simplewallet: option to always ask password for any crytical operationskenshi842-0/+43
2017-02-02simplewallet: cleanupmoneromooo-monero1-5/+0
Remove empty static function which was refactored, as well as leftover exception testing code.
2017-02-02simplewallet: fix build (unqualified type not in current scope)moneromooo-monero1-1/+1
2017-02-02Merge pull request #1645Riccardo Spagni1-29/+2
9bd9906e Factor is_address_local code into a tools function (moneromooo-monero)
2017-02-02Merge pull request #1639Riccardo Spagni2-0/+28
48aa9cf0 Add change_password for simplewallet (Ashley Perpetual)
2017-02-02Merge pull request #1629Riccardo Spagni1-6/+7
c02e1cb9 Updates to epee HTTP client code - http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed (Lee Clagett)
2017-01-29Add change_password for simplewalletAshley Perpetual2-0/+28
2017-01-28Factor is_address_local code into a tools functionmoneromooo-monero1-29/+2
2017-01-25Updates to epee HTTP client codeLee Clagett1-6/+7
- http_simple_client now uses std::chrono for timeouts - http_simple_client accepts timeouts per connect / invoke call - shortened names of epee http invoke functions - invoke command functions only take relative path, connection is not automatically performed
2017-01-24moved get_account_address_from_str_or_url from libcommon to libcryptonote_corekenshi841-5/+5
2017-01-20Merge pull request #1599Riccardo Spagni1-8/+8
17246d05 wallet: print exception message on get_random_outs_error (moneromooo-monero)
2017-01-20wallet: print exception message on get_random_outs_errormoneromooo-monero1-8/+8
2017-01-18simplewallet: use MAKE_CORE_RPC_VERSION(1,4) instead of 0x10004kenshi841-1/+1
2017-01-15Merge pull request #1569Riccardo Spagni1-16/+64
16b8b66a specify restore height by YYYY-MM-DD format (kenshi84)
2017-01-16specify restore height by YYYY-MM-DD formatkenshi841-16/+64
2017-01-16Change logging to easylogging++moneromooo-monero2-32/+41
This replaces the epee and data_loggers logging systems with a single one, and also adds filename:line and explicit severity levels. Categories may be defined, and logging severity set by category (or set of categories). epee style 0-4 log level maps to a sensible severity configuration. Log files now also rotate when reaching 100 MB. To select which logs to output, use the MONERO_LOGS environment variable, with a comma separated list of categories (globs are supported), with their requested severity level after a colon. If a log matches more than one such setting, the last one in the configuration string applies. A few examples: This one is (mostly) silent, only outputting fatal errors: MONERO_LOGS=*:FATAL This one is very verbose: MONERO_LOGS=*:TRACE This one is totally silent (logwise): MONERO_LOGS="" This one outputs all errors and warnings, except for the "verify" category, which prints just fatal errors (the verify category is used for logs about incoming transactions and blocks, and it is expected that some/many will fail to verify, hence we don't want the spam): MONERO_LOGS=*:WARNING,verify:FATAL Log levels are, in decreasing order of priority: FATAL, ERROR, WARNING, INFO, DEBUG, TRACE Subcategories may be added using prefixes and globs. This example will output net.p2p logs at the TRACE level, but all other net* logs only at INFO: MONERO_LOGS=*:ERROR,net*:INFO,net.p2p:TRACE Logs which are intended for the user (which Monero was using a lot through epee, but really isn't a nice way to go things) should use the "global" category. There are a few helper macros for using this category, eg: MGINFO("this shows up by default") or MGINFO_RED("this is red"), to try to keep a similar look and feel for now. Existing epee log macros still exist, and map to the new log levels, but since they're used as a "user facing" UI element as much as a logging system, they often don't map well to log severities (ie, a log level 0 log may be an error, or may be something we want the user to see, such as an important info). In those cases, I tried to use the new macros. In other cases, I left the existing macros in. When modifying logs, it is probably best to switch to the new macros with explicit levels. The --log-level options and set_log commands now also accept category settings, in addition to the epee style log levels.
2017-01-13Merge pull request #1562Riccardo Spagni1-78/+9
a081b39c Move key image export/import functions to wallet2 (Jaquee)
2017-01-13Merge pull request #1559Riccardo Spagni2-0/+6
db56a03f Wallet2 + API: Callbacks for unconfirmed transfers (Jaquee)
2017-01-13Merge pull request #1545Riccardo Spagni1-0/+1
5ae00f0f add msg for donate (luigi1111)
2017-01-13Merge pull request #1492Riccardo Spagni2-14/+152
f1dde1a4 wallet cli: print originating block heights of mixin keys when making transfer (kenshi84)
2017-01-13Move key image export/import functions to wallet2Jaquee1-78/+9
2017-01-12Wallet2 + API: Callbacks for unconfirmed transfersJaquee2-0/+6
2017-01-09wallet cli: print originating block heights of mixin keys when making transferkenshi842-14/+152
2017-01-08add msg for donateluigi11111-0/+1
#1498
2017-01-08Fix monero-wallet-cli compileluigi11111-1/+1
Not 100$ sure this is the right fix, nor whether address book entries from URL should be stored as addresses or URLs (or both with a check for change on payment).
2017-01-08Merge pull request #1537Riccardo Spagni2-0/+124
c2135082 simplewallet: add a show_transfer <txid> command (moneromooo-monero) 19c4041d wallet_rpc_server: new RPC call to get a transfer by txid (moneromooo-monero)
2017-01-08Merge pull request #1503Riccardo Spagni1-24/+8
542571f5 simplewallet: remove unnecessary local_args.erase(...) in set_variable() (kenshi84)
2017-01-08Merge pull request #1496Riccardo Spagni2-0/+120
adee1644 wallet cli: print unspent outputs with histogram (kenshi84)
2017-01-08Merge pull request #1482Riccardo Spagni2-0/+82
38f00d07 wallet cli: viewing and editing address book (kenshi84)
2017-01-08simplewallet: add a show_transfer <txid> commandmoneromooo-monero2-0/+124
2016-12-26wallet cli: print unspent outputs with histogramkenshi842-0/+120
2016-12-26simplewallet: remove unnecessary local_args.erase(...) in set_variable()kenshi841-24/+8
2016-12-21make openalias also available for solo miner; introduce namespace ↵kenshi842-74/+5
tools::dns_utils; support integrated address with dns lookup
2016-12-21wallet cli: viewing and editing address bookkenshi842-0/+82
2016-12-20simplewallet: bump output file format versionmoneromooo-monero1-1/+1
The serialization format changed, and while there is code to load the older serialization format, an older monerod will not be able to load a file saved by a new monerod, even though both share the same version. This is not good, and we prefer a version bump.
2016-12-20Merge pull request #1472Riccardo Spagni2-163/+59
2bddb8eb Refactored password prompting for wallets (Lee Clagett)
2016-12-20Merge pull request #1469Riccardo Spagni1-1/+1
9e4b3724 simplewallet: add pending/pool/failed in the show_transfers help (moneromooo-monero)
2016-12-20Merge pull request #1466Riccardo Spagni1-1/+3
c367d7df README: add note about the donate command (anonimal) b9a28677 simplewallet: add return type for donate function (anonimal) d36669fd simplewallet: hardcode Monero's donation address (anonimal)
2016-12-20support importing unportable outputskenshi841-3/+12
2016-12-19Refactored password prompting for walletsLee Clagett2-163/+59
2016-12-17simplewallet: add pending/pool/failed in the show_transfers helpmoneromooo-monero1-1/+1
reported by nioc
2016-12-17simplewallet: add return type for donate functionanonimal1-0/+1
Resolves -Wreturn-type References #1447 #1451
2016-12-17simplewallet: hardcode Monero's donation addressanonimal1-1/+2
Closes #1447 References #1451
2016-12-16added experimental boost::archive::portable_binary_{i|o}archivekenshi841-2/+2
2016-12-15wallet cli: donate commandKenshi Takayama2-0/+41
2016-12-12monero-wallet-cli wording changes 'n' stuffluigi11111-11/+13
Possibly other pedantry. Pedants are people too.
2016-12-08simplewallet: restore automatically setting trusted local daemonmoneromooo-monero1-0/+43
2016-12-04Merge pull request #1379Riccardo Spagni1-7/+12
d6086f5b Improve daemon RPC version handling (moneromooo-monero)
2016-11-26Improve daemon RPC version handlingmoneromooo-monero1-7/+12
Daemon RPC version is now composed of a major and minor number, so that incompatible changes bump the major version, while compatible changes can still bump the minor version without causing clients to unnecessarily complain.
2016-11-25Added command_line::is_yesLee Clagett1-17/+15
2016-11-23simplewallet: remove double confirmation when submitting signed txmoneromooo-monero1-51/+0
2016-11-17Merge pull request #1344Riccardo Spagni2-16/+58
a0131c8 wallet: auto sync outputs and key images in cold signing files (moneromooo-monero) f806611 wallet2: fill key image and pubkey maps when importing outputs (moneromooo-monero) 5fe363c wallet: cast indices to string in logs to be nice to CLANG (moneromooo-monero) 11ae187 wallet2: try all tx keys when scanning a new transaction (moneromooo-monero) 072d646 wallet2: fill in key image map when importing key images (moneromooo-monero) 23d80b1 core: remove any tx pubkey from extra before adding one (moneromooo-monero) d72376d simplewallet: add a verbose flag to incoming_transfers (moneromooo-monero) 47413a5 simplewallet: spell out change when signing a transfer (moneromooo-monero) 14cb088 simplewallet: print public keys too on spendkey/viewkey commands (moneromooo-monero) a99ab49 wallet: fix serialization of new m_key_image_known member (moneromooo-monero)
2016-11-16wallet: auto sync outputs and key images in cold signing filesmoneromooo-monero2-8/+22
When passing around unsigned and signed transactions, outputs and key images are passed along (outputs are passed along unsigned transactions from the hot wallet to the cold wallet, key images are passed along with signed transations from the cold wallet to the hot wallet), to allow more user friendly syncing between hot and cold wallets.
2016-11-13simplewallet: add a verbose flag to incoming_transfersmoneromooo-monero1-6/+18
Prints pubkey and key image as well
2016-11-13simplewallet: spell out change when signing a transfermoneromooo-monero1-2/+16
Also catch change to multiple addresses, this is unexpected
2016-11-13simplewallet: print public keys too on spendkey/viewkey commandsmoneromooo-monero1-2/+4
2016-11-13simplewallet: include amount sent in transfer confirmationmoneromooo-monero1-0/+10
2016-11-12Fixed generate-from-json bug introduced in 358e068Lee Clagett1-1/+2
2016-11-10Created monero-wallet-rpc, moving functionality from monero-wallet-cliLee Clagett5-1036/+118
2016-11-07wallet: encrypt outputs and key images files with the view keymoneromooo-monero1-14/+43
This key is available to both cold and hot wallet. Authenticated encryption will guard against interception and/or modification of the file.
2016-11-02wallet: fix bad amounts/fees againmoneromooo-monero1-2/+2
m_amount_out was sometimes getting initialized with the sum of an transaction's outputs, and sometimes with the sum of outputs that were not change. This caused confusion and bugs. We now always set it to the sum of outputs. This reverts an earlier fix for bad amounts as this used the other semantics. The wallet data should be converted automatically in a percentage of cases that I'm hesitant to estimate. In any case, restoring from seed or keys or rebuilding the cache will get it right.
2016-11-01Merge pull request #1281Riccardo Spagni2-0/+102
bb560dd wallet: new import_outputs/export_outputs commands (moneromooo-monero)
2016-11-01Merge pull request #1277Riccardo Spagni2-5/+17
7e6d3cf wallet: set incoming outputs' key image to 0 on view wallets (moneromooo-monero) 1f9e6a4 wallet: print tx overview on submit_transfer too (moneromooo-monero)
2016-10-30wallet: new import_outputs/export_outputs commandsmoneromooo-monero2-0/+102
The intended use is to export outputs from a hot wallet, which can scan incoming transfers from the network, and import them in the cold wallet, which can't. The cold wallet can then compute key images for those outputs, which can then be exported with export_key_images, etc.
2016-10-30wallet: print tx overview on submit_transfer toomoneromooo-monero2-5/+17
This is on the potentially compromised wallet, but still guards against stupid mistakes.
2016-10-30simplewallet: remove destinations with zero amount in sign_transfermoneromooo-monero1-0/+2
This will happen when sending to another address, after removing the fee.
2016-10-26simplewallet: log transactions to submit in submit_transfermoneromooo-monero1-1/+1
Not as trustworthy as this is in the view wallet, the one that's considered compromised.
2016-10-25wallet: fix pre-rct cold wallet signing not splitting changemoneromooo-monero1-6/+16
Re-creating the transaction on the cold wallet was not splitting the change, causing the transaction to be rejected by the network. This worked on testnet since amounts do not have to be split. Also add selected_transfers, which can now be saved since they're size_t rather than iterators. This allows the view wallet to properly set the sent outputs as spent and update balance. Bump transfer file version numbers to match.
2016-10-23simplewallet: factor locked_transfer, and fix a few rough edgesmoneromooo-monero1-256/+43
Factor locked_transfer into transfer_main, which brings various improvements for free (multiple addresses, proper detection of multiple payment ids, obeying the prompt settings). Also fix a few things, such as using uint64_t instead of int for block heights, actually checking whether getting blockchain height succeeded, etc.
2016-10-22Merge pull request #1224Riccardo Spagni1-10/+4
8231997 simplewallet: fix sweep_all misreporting sweeped amount for rct outputs (moneromooo-monero) 985f61a wallet: force 0 mixin transactions to use pre-rct txes (moneromooo-monero)
2016-10-22Merge pull request #1220Riccardo Spagni1-7/+43
e76dcdd wallet: improve error messages when not enough money for transfer (moneromooo-monero)
2016-10-22Merge pull request #1219Riccardo Spagni1-1/+1
2d7083c wallet_api: fix wrong amount in tx history (moneromooo-monero) b5f2001 simplewallet: fix wrong amount in show_transfers (moneromooo-monero)
2016-10-22Merge pull request #1200Riccardo Spagni1-53/+67
a3748f4 Rewrote add_wallet_create_if_needed for clearer flow and behaviour (NanoAkron)
2016-10-15Rewrote add_wallet_create_if_needed for clearer flow and behaviourNanoAkron1-53/+67
2016-10-15simplewallet: fix sweep_all misreporting sweeped amount for rct outputsmoneromooo-monero1-10/+4
RingCT outputs will be 0 in the vin, so we need to get the actual amount from elsewhere.
2016-10-15wallet: improve error messages when not enough money for transfermoneromooo-monero1-7/+43
2016-10-15simplewallet: fix wrong amount in show_transfersmoneromooo-monero1-1/+1
2016-10-04simplewallet: add mixin and payment id to sweep_all helpmoneromooo-monero1-1/+1
2016-10-04Merge pull request #1179Riccardo Spagni2-0/+254
714ee99 Fix description for locked_transfer (Oyvind Kvanes) 71538f3 Rename to lockblocks and add max value (Oyvind Kvanes) 68ac060 Fix locked_transfer (Oyvind Kvanes) 7d020bd Add locked_transfer (Oyvind Kvanes) d5f918a Revert transfer_main in simplewallet (Oyvind Kvanes) 3451963 Add motifications to test out locked_transfer (Oyvind Kvanes) e5e6d88 Add more information to transaction in wallet (Oyvind Kvanes) 9b8a062 Make a small test change (Oyvind Kvanes)
2016-10-04Merge pull request #1160Riccardo Spagni2-1/+81
80b4da3 wallet: wallet option to confirm transfers with no payment id (moneromooo-monero)
2016-10-04Merge pull request #1139Riccardo Spagni1-2/+2
01ec195 Update CMakeLists.txt (codehalo) 446ebbc Update CMakeLists.txt (codehalo) bd773e7 Update CMakeLists.txt (codehalo) 3627cea Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 2a51396 Dropped "bit" from bitmonero. (Randi Joseph) 78b13d6 Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 1e6aedb Cleanup. Dropped "bit" from bitmonero. (Randi Joseph) 9e54616 Dropped "bit" from bitmonero. (Randi Joseph)
2016-10-04Fix description for locked_transferOyvind Kvanes1-1/+1
2016-10-04Merge pull request #1162Riccardo Spagni1-1/+1
e5f8642 Update minimum mixin in transfer_original help text (TedTheFicus) ea45d61 Update minimum mixin in transfer_original help text (TedTheFicus)
2016-10-04Merge pull request #1140Riccardo Spagni2-26/+273
bba6af9 wallet: cold wallet transaction signing (moneromooo-monero) 9872dcb wallet: fix log confusion between bytes and kilobytes (moneromooo-monero) d9b0bf9 cryptonote_core: make extra field removal more generic (moneromooo-monero) 98f19d4 serialization: add support for serializing std::pair and std::list (moneromooo-monero)
2016-10-04Rename to lockblocks and add max valueOyvind Kvanes1-45/+30
2016-10-01Update minimum mixin in transfer_original help textTedTheFicus1-1/+1
Changed the wording from "from 0 to maximum available" to "from 2 to maximum available". May I also suggest putting in a number rather than "maximum available" and also clarifying that mixin = 0 is still allowed if the user has unmixable outputs (dust), which he wants to "undust" using sweep_unmixable (comment from dEBRUYNE-1 ).