wownero/src/blockchain_db
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
..
berkeleydb update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
lmdb Protect node privacy by proper filtering in restricted-mode RPC answers 2017-11-08 13:07:07 +01:00
blockchain_db.cpp move db specific options to BlockchainDB 2017-08-29 11:43:34 +01:00
blockchain_db.h Protect node privacy by proper filtering in restricted-mode RPC answers 2017-11-08 13:07:07 +01:00
CMakeLists.txt changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
db_types.h More DB support cleanup 2017-08-20 13:57:36 +01:00