aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add more specific RPC error codesMichał Sałaban2017-10-231-96/+91
|/
* Fix compiler warnings with Clang 6.0.0.Vasil Dimov2017-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | monero/src/cryptonote_protocol/block_queue.cpp:208:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] static const boost::uuids::uuid uuid0 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ { } monero/src/wallet/wallet_rpc_server.cpp:1895:43: error: lambda capture 'wal' is not used [-Werror,-Wunused-lambda-capture] tools::signal_handler::install([&wrpc, &wal](int) { ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:40: error: lambda capture 'arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/cryptonote_protocol/cryptonote_protocol_handler.inl:1616:46: error: lambda capture 'fluffy_arg' is not used [-Werror,-Wunused-lambda-capture] m_p2p->for_each_connection([this, &arg, &fluffy_arg, &exclude_context, &fullConnections... ^ monero/src/blockchain_utilities/blockchain_export.cpp:181:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to initialize source blockchain storage"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~ monero/src/blockchain_utilities/blockchain_export.cpp:195:3: error: bool literal returned from 'main' [-Werror,-Wmain] CHECK_AND_ASSERT_MES(r, false, "Failed to export blockchain raw data"); ^ ~~~~~ monero/contrib/epee/include/misc_log_ex.h:180:97: note: expanded from macro 'CHECK_AND_ASSERT_MES' ...fail_ret_val, message) do{if(!(expr)) {LOG_ERROR(message); return fail_ret_val;};}while(0) ^ ~~~~~~~~~~~~
* Merge pull request #2592Riccardo Spagni2017-10-151-1/+1
|\ | | | | | | | | dc19659d Remove network_address_base which has been merged with ipv4_network_address in 8b006877 (Michał Sałaban) 2183ade0 Don't try to create wallet-dir when it's not given, don't crash if wallet-dir already exists. (Michał Sałaban)
| * Don't try to create wallet-dir when it's not given, don't crash if ↵Michał Sałaban2017-10-071-1/+1
| | | | | | | | wallet-dir already exists.
* | Subaddresseskenshi842017-10-071-42/+183
|/
* move checkpoints in a separate librarymoneromooo-monero2017-09-251-3/+3
|
* Merge pull request #2424Riccardo Spagni2017-09-251-3/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * wallet_rpc_server: catch failure to create directorymoneromooo-monero2017-09-251-1/+10
| | | | | | | | CID 175281
| * wallet_rpc_server: init m_vm to NULL in ctormoneromooo-monero2017-09-251-1/+1
| | | | | | | | CID 175279
| * wallet_rpc_server: guard against exceptionsmoneromooo-monero2017-09-251-1/+9
| | | | | | | | CID 175305
* | Merge pull request #2443Riccardo Spagni2017-09-251-1/+1
|\ \ | |/ |/| | | ffe27127 wallet_rpc_server: fix index for newly added address book entry (moneromooo-monero)
| * wallet_rpc_server: fix index for newly added address book entrymoneromooo-monero2017-09-131-1/+1
| |
* | Do not create file when RPC user/pass is given and use file lockingLee Clagett2017-08-301-29/+20
|/
* Merge pull request #2286Riccardo Spagni2017-08-151-11/+17
|\ | | | | | | 8655ba04 wallet_rpc_server: adjust small ring sizes to 5 for v6 (moneromooo-monero)
| * wallet_rpc_server: adjust small ring sizes to 5 for v6moneromooo-monero2017-08-121-11/+17
| |
* | Merge pull request #2279Riccardo Spagni2017-08-151-1/+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)
| * | wallet_rpc_server: fix possible privacy leak in on_import_key_images()Jaquee2017-08-111-1/+6
| |/
* | Merge pull request #2205Riccardo Spagni2017-08-151-0/+4
|\ \ | |/ |/| | | c97d1bd3 wallet: return unlock_time in get_transfers (moneromooo-monero)
| * wallet: return unlock_time in get_transfersmoneromooo-monero2017-08-021-0/+4
| | | | | | | | also show it in simplewallet's show_transfer
* | change mixin to ring size in user visible placesmoneromooo-monero2017-08-071-2/+2
| |
* | Merge pull request #2210Riccardo Spagni2017-08-071-6/+49
|\ \ | | | | | | | | | cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
| * | Move OpenAlias console input back from libsmoneromooo-monero2017-07-271-6/+49
| |/ | | | | | | | | | | | | 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.
* / wallet_rpc_server: optionally return tx blobs on transfer callsmoneromooo-monero2017-07-261-7/+38
|/ | | | | also add do_not_relay flag to them, so it now becomes possible to create a tx without sending it yet
* Merge pull request #2125Riccardo Spagni2017-07-031-2/+2
|\ | | | | | | f98bf48b Minor cleanup: tab vs. space + logs messages (binaryFate)
| * Minor cleanup: tab vs. space + logs messagesbinaryFate2017-06-261-3/+3
| |
* | Merge pull request #2121Riccardo Spagni2017-07-031-0/+7
|\ \ | | | | | | | | | 5a09d79c Fix #2120: return per-tx amount in transfer_split RPC call. (binaryFate)
| * | Fix #2120: return per-tx amount in transfer_split RPC call.binaryFate2017-06-261-0/+7
| |/
* / Fix on_transfer RPC incorrect logging infoMike C2017-06-231-1/+1
|/
* wallet: add sweep_below functionmoneromooo-monero2017-04-241-1/+1
| | | | | | | 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)
* Resolve #92 add ability to create wallets thru RPCHoward Chu2017-04-111-94/+326
| | | | | Reviewed and squashed. Open/Create is only allowed if no walletfile was specified at startup.
* wallet rpc: enable solo miningstoffu2017-03-201-0/+51
|
* wallet-rpc bugfix: get_transfer_by_txid previously checking against payment idkenshi842017-03-191-1/+1
|
* Merge pull request #1884Riccardo Spagni2017-03-181-0/+28
|\ | | | | | | e9175cec wallet_rpc_server: make a few RPCs unavailable in restricted mode (moneromooo-monero)
| * wallet_rpc_server: make a few RPCs unavailable in restricted modemoneromooo-monero2017-03-181-0/+28
| | | | | | | | Address book modification, setting tx nodes, importing key images
* | Merge pull request #1883Riccardo Spagni2017-03-181-8/+8
|\ \ | | | | | | | | | d0238313 use const references in catch blocks (moneromooo-monero)
| * | use const references in catch blocksmoneromooo-monero2017-03-181-8/+8
| |/
* | Merge pull request #1882Riccardo Spagni2017-03-181-0/+22
|\ \ | | | | | | | | | | | | 3fa59755 wallet2: call is_key_image_spent in blocks in rescan_spent (moneromooo-monero) 9d134e86 wallet_rpc_server: add a rescan_spent RPC (moneromooo-monero)
| * | wallet_rpc_server: add a rescan_spent RPCmoneromooo-monero2017-03-181-0/+22
| |/
* / wallet-rpc: enable openaliasstoffu2017-03-171-3/+3
|/
* wallet: fix --log-file not workingmoneromooo-monero2017-02-281-0/+1
|
* wallet_rpc_server: new --trusted-daemon flagmoneromooo-monero2017-02-241-5/+16
| | | | | and remove trusted_daemon fields from transfer RPCs, it is much friendlier on users
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* simplewallet: validate hex input sizemoneromooo-monero2017-02-141-4/+4
|
* Merge pull request #1689Riccardo Spagni2017-02-111-62/+25
|\ | | | | | | ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
| * Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-061-62/+25
| |
* | extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-081-2/+2
|/
* wallet_rpc_server: add address book RPC callsmoneromooo-monero2017-02-041-0/+98
|
* Merge pull request #1643Riccardo Spagni2017-02-021-4/+2
|\ | | | | | | 69d2ad39 wallet_rpc_server: fix logs going to the wrong file (moneromooo-monero)
| * wallet_rpc_server: fix logs going to the wrong filemoneromooo-monero2017-01-281-4/+2
| |
* | wallet_rpc_server: fix short payment id validation in transfermoneromooo-monero2017-01-291-1/+1
|/