monero/src/rpc
binaryFate 10013e9434 Protect node privacy by proper filtering in restricted-mode RPC answers
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.
2017-11-08 13:07:07 +01:00
..
CMakeLists.txt build: auto update version info without manually deleting version.h 2017-09-21 07:47:37 +09:00
core_rpc_server_commands_defs.h lightwallet rpc server commands 2017-10-15 17:30:23 +02:00
core_rpc_server_error_codes.h Subaddresses 2017-10-07 13:06:21 +09:00
core_rpc_server.cpp Protect node privacy by proper filtering in restricted-mode RPC answers 2017-11-08 13:07:07 +01:00
core_rpc_server.h Protect node privacy by proper filtering in restricted-mode RPC answers 2017-11-08 13:07:07 +01:00
daemon_handler.cpp Subaddresses 2017-10-07 13:06:21 +09:00
daemon_handler.h Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00
daemon_messages.cpp Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00
daemon_messages.h Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00
daemon_rpc_version.h Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00
message_data_structs.h Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00
message.cpp Fix JSON-RPC response object over ZMQ 2017-10-26 17:25:14 -04:00
message.h json serialization for rpc-relevant monero types 2017-09-05 12:20:27 -04:00
rpc_args.cpp RPC Add cross origin resource sharing support 2017-10-30 13:55:56 -04:00
rpc_args.h RPC Add cross origin resource sharing support 2017-10-30 13:55:56 -04:00
rpc_handler.h json serialization for rpc-relevant monero types 2017-09-05 12:20:27 -04:00
zmq_server.cpp Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00
zmq_server.h Fix various oversights/bugs in ZMQ RPC server code 2017-09-05 12:20:40 -04:00