monero/src/daemon
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
command_line_args.h Merge pull request #2456 2017-09-25 16:54:08 +02:00
command_parser_executor.cpp Merge pull request #2591 2017-11-06 01:54:48 +02:00
command_parser_executor.h daemon: make this build with boost 1.61 2017-09-18 11:24:49 +01:00
command_server.cpp Fix #2559: more flexible print_tx daemon command 2017-10-08 22:35:35 +02:00
command_server.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
core.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
daemon.cpp json serialization for rpc-relevant monero types 2017-09-05 12:20:27 -04:00
daemon.h json serialization for rpc-relevant monero types 2017-09-05 12:20:27 -04:00
executor.cpp Merge pull request #1897 2017-03-21 14:10:36 +02:00
executor.h Merge pull request #1897 2017-03-21 14:10:36 +02:00
main.cpp Merge pull request #2589 2017-10-15 18:38:46 +02:00
p2p.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
protocol.h Revert attempt to write to console on daemon shutdown 2017-02-26 21:49:50 +00:00
rpc.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
rpc_command_executor.cpp Protect node privacy by proper filtering in restricted-mode RPC answers 2017-11-08 13:07:07 +01:00
rpc_command_executor.h Merge pull request #2591 2017-11-06 01:54:48 +02:00