aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #2615Riccardo Spagni2017-11-141-3/+3
|\ \ | | | | | | | | | 10013e94 Protect node privacy by proper filtering in restricted-mode RPC answers (binaryFate)
| * | Protect node privacy by proper filtering in restricted-mode RPC answersbinaryFate2017-11-081-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | This patch allows to filter out sensitive information for queries that rely on the pool state, when running in restricted mode. This filtering is only applied to data sent back to RPC queries. Results of inline commands typed locally in the daemon are not affected. In practice, when running with `--restricted-rpc`: * get_transaction_pool will list relayed transactions with the fields "last relayed time" and "received time" set to zero. * get_transaction_pool will not list transaction that have do_not_relay set to true, and will not list key images that are used only for such transactions * get_transaction_pool_hashes.bin will not list such transaction * get_transaction_pool_stats will not count such transactions in any of the aggregated values that are computed The implementation does not make filtering the default, so developers should be mindful of this if they add new RPC functionality. Fixes #2590.
* / track double spending in the txpoolmoneromooo-monero2017-11-061-1/+3
|/ | | | | | | | | | | | | | Transactions in the txpool are marked when another transaction is seen double spending one or more of its inputs. This is then exposed wherever appropriate. Note that being marked with this "double spend seen" flag does NOT mean this transaction IS a double spend and will never be mined: it just means that the network has seen at least another transaction spending at least one of the same inputs, so care should be taken to wait for a few confirmations before acting upon that transaction (ie, mostly of use for merchants wanting to accept unconfirmed transactions).
* Merge pull request #2591Riccardo Spagni2017-11-064-22/+43
|\ | | | | | | 93ad1f87 Fix #2559: more flexible print_tx daemon command (binaryFate)
| * Fix #2559: more flexible print_tx daemon commandbinaryFate2017-10-084-22/+43
| |
* | Merge pull request #2599Riccardo Spagni2017-10-153-11/+26
|\ \ | | | | | | | | | b776c725 daemon: use @N syntax to output_histogram for specific amounts (moneromooo-monero)
| * | daemon: use @N syntax to output_histogram for specific amountsmoneromooo-monero2017-10-073-11/+26
| |/ | | | | | | Makes debugging tx verification easier
* | Merge pull request #2589Riccardo Spagni2017-10-151-2/+2
|\ \ | | | | | | | | | 8f0cea63 add a command_line function to check for defaulted options (moneromooo-monero)
| * | add a command_line function to check for defaulted optionsmoneromooo-monero2017-10-061-2/+2
| |/
* | Merge pull request #2573Riccardo Spagni2017-10-151-6/+13
|\ \ | | | | | | | | | 7e7acdc3 daemon: catch out of range exceptions too when calling stoll/stoi (moneromooo-monero)
| * | daemon: catch out of range exceptions too when calling stoll/stoimoneromooo-monero2017-10-031-6/+13
| |/ | | | | | | And any other exception, just to be safe
* | Merge pull request #2568Riccardo Spagni2017-10-151-1/+1
|\ \ | | | | | | | | | 7130cf0c Add tools::on_startup, and warn about glibc 2.25 bug if found (moneromooo-monero)
| * | Add tools::on_startup, and warn about glibc 2.25 bug if foundmoneromooo-monero2017-10-141-1/+1
| |/ | | | | | | https://sourceware.org/bugzilla/show_bug.cgi?id=21778
* / Subaddresseskenshi842017-10-072-9/+12
|/
* Merge pull request #2512Riccardo Spagni2017-10-023-3/+8
|\ | | | | | | | | | | 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)
| * Log categories can now be added to and removed frommoneromooo-monero2017-09-223-3/+8
| | | | | | | | Also, set_log without parameters now prints the log categories
* | Merge pull request #2470Riccardo Spagni2017-10-023-52/+118
|\ \ | | | | | | | | | 2e59f6ea rpc: add new RPCs to get and set limits (MaxXor)
| * | rpc: add new RPCs to get and set limitsMaxXor2017-09-193-52/+118
| | |
* | | Merge pull request #2466Riccardo Spagni2017-09-251-1/+1
|\ \ \ | | | | | | | | | | | | bc429e9c daemon: make this build with boost 1.61 (moneromooo-monero)
| * | | daemon: make this build with boost 1.61moneromooo-monero2017-09-181-1/+1
| | | |
* | | | Merge pull request #2456Riccardo Spagni2017-09-252-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | 91def9a5 daemon, wallet: add --max-log-file-size option (selsta)
| * | | | daemon, wallet: add --max-log-file-size optionselsta2017-09-172-1/+7
| |/ / /
* | | | Merge pull request #2424Riccardo Spagni2017-09-251-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | daemon: initialize decode_as_json in RPC requestmoneromooo-monero2017-09-251-0/+1
| | |_|/ | |/| | | | | | | | | | CID 161886
* | | | Merge pull request #2442Riccardo Spagni2017-09-251-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | e29282d2 build: auto update version info without manually deleting version.h (stoffu)
| * | | build: auto update version info without manually deleting version.hstoffu2017-09-211-1/+1
| | | |
* | | | daemon: indicate whether the spent key image is mined or unconfirmedstoffu2017-09-211-1/+1
|/ / /
* | | Merge pull request #2414Riccardo Spagni2017-09-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | ea016330 updated clarification bc_dyn_stats (Matthew Campassi) 5aa2f24b clarification bc_dyn_stats (Matthew Campassi)
| * | | updated clarification bc_dyn_stats Matthew Campassi2017-09-081-1/+1
| | | | | | | | | | | | updated clarification of required parameter for bc_dyn_stats
| * | | clarification bc_dyn_statsMatthew Campassi2017-09-081-1/+1
| | | | | | | | | | | | clarification of required parameter for bc_dyn_stats
* | | | Merge pull request #2044Riccardo Spagni2017-09-185-1/+67
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 0299cb77 Fix various oversights/bugs in ZMQ RPC server code (Thomas Winget) 77986023 json serialization for rpc-relevant monero types (Thomas Winget) 5c1e08fe Refactor some things into more composable (smaller) functions (Thomas Winget) 9ac2ad07 DRY refactoring (Thomas Winget)
| * | | Fix various oversights/bugs in ZMQ RPC server codeThomas Winget2017-09-052-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add some RPC commands (and touch up a couple others) - some bounds checking - some better pointer management - const correctness and error handling -- Thanks @vtnerd for type help with serialization and CMake changes
| * | | json serialization for rpc-relevant monero typesThomas Winget2017-09-055-1/+74
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Structured {de-,}serialization methods for (many new) types which are used for requests or responses in the RPC. New types include RPC requests and responses, and structs which compose types within those. # Conflicts: # src/cryptonote_core/blockchain.cpp
* | | Use latest height for fork date estimateHoward Chu2017-09-021-2/+3
| |/ |/|
* | Merge pull request #2370Riccardo Spagni2017-09-021-1/+1
|\ \ | | | | | | | | | | | | 3d19ab70 Revert "Cleanup test impact of moving blockchain_db_types()" (Howard Chu) a95e460c move db specific options to BlockchainDB (moneromooo-monero)
| * | move db specific options to BlockchainDBmoneromooo-monero2017-08-291-1/+1
| |/ | | | | | | | | Avoids common depending on blockchain_db, which can cause link errors.
* | Merge pull request #2310Riccardo Spagni2017-09-021-1/+1
|\ \ | |/ |/| | | ea996f91 clarification of parameters for print_coinbase_tx_sum (Matthew Campassi)
| * clarification of parameters for print_coinbase_tx_sumMatthew Campassi2017-08-181-1/+1
| |
* | Merge pull request #2349Riccardo Spagni2017-08-271-1/+1
|\ \ | | | | | | | | | | | | 1914c999 txpool: update db tx metadata when it changes (moneromooo) 4dbf29bd txpool: add tx size median to the pool stats (moneromooo)
| * | txpool: add tx size median to the pool statsmoneromooo2017-08-251-1/+1
| | |
* | | Merge pull request #2313Riccardo Spagni2017-08-261-6/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | 3dd34a49 Cleanup test impact of moving blockchain_db_types() (Howard Chu) 80344740 More DB support cleanup (Howard Chu) 4c7f8ac0 DB cleanup (Howard Chu)
| * | | More DB support cleanupHoward Chu2017-08-201-6/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | Hide DB types from db_types.h - no reason to recompile dependencies when DB types change. Also remove lingering in-memory DB references, they've been obsolete since 9e82b694da120708652871b55f639d1ef306a7ec
* | | daemon: fix backlog estimating at max block sizemoneromooo-monero2017-08-261-2/+3
| |/ |/| | | | | | | Block size will pretty much never be fully used, unless all txes are using max fee.
* | Merge pull request #2311Riccardo Spagni2017-08-251-16/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df0cffed cryptonote_protocol: warn if we see a higher top version we expect (moneromooo-monero) 317ab21a cryptonote_protocol: less strict check on top version on connect (moneromooo-monero) cc81a371 cryptonote_protocol: update target height when syncing too (moneromooo-monero) e2ad372b cryptonote_protocol: simplify and remove unnecessary casts (moneromooo-monero) 727e67ca cryptonote_protocol: print peer top height along with its version (moneromooo-monero) b5345ef4 crypto: use malloc instead of alloca (moneromooo-monero) 80794b31 thread_group: set thread size to THREAD_STACK_SIZE (moneromooo-monero) 5524bc31 print peer id in 0 padded hex for consistency (moneromooo-monero) 8f8cc09b contrib: add sync_info to rlwrap command set (moneromooo-monero) 70b8c6d7 cryptonote_protocol: misc fixes to the new sync algorithm (moneromooo-monero)
| * | print peer id in 0 padded hex for consistencymoneromooo-monero2017-08-231-16/+4
| |/
* / daemon: print estimated tx backlog in print_pool_statsmoneromooo-monero2017-08-231-2/+24
|/
* Consistently print peer id in hex and on 16 charsmoneromooo-monero2017-08-161-5/+12
|
* daemon: print peers' top height in sync_infomoneromooo-monero2017-08-121-1/+1
|
* Merge pull request #2149Riccardo Spagni2017-08-075-0/+84
|\ | | | | | | | | | | | | | | 158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero) f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero) 90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero) 84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero) 5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
| * cryptonote_protocol_handler: sync speedupmoneromooo-monero2017-08-075-0/+84
| | | | | | | | | | | | | | | | A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand.