mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
10013e9434
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
core_rpc_server_commands_defs.h | ||
core_rpc_server_error_codes.h | ||
core_rpc_server.cpp | ||
core_rpc_server.h | ||
daemon_handler.cpp | ||
daemon_handler.h | ||
daemon_messages.cpp | ||
daemon_messages.h | ||
daemon_rpc_version.h | ||
message_data_structs.h | ||
message.cpp | ||
message.h | ||
rpc_args.cpp | ||
rpc_args.h | ||
rpc_handler.h | ||
zmq_server.cpp | ||
zmq_server.h |