wownero/src/cryptonote_core
j-berman f137a35984 Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18]
- `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when
returning pool txs via a restricted RPC daemon.
- A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs
in the `added_pool_txs` field, and returns any remaining pool hashes
in the `remaining_added_pool_txids` field. The client then requests
the remaining txs via `/gettransactions` in chunks.
- `/gettransactions` no longer does expensive no-ops for ALL pool txs
if the client requests a subset of pool txs. Instead it searches for
the txs the client explicitly requests.
- Reset `m_pool_info_query_time` when a user:
  (1) rescans the chain (so the wallet re-requests the whole pool)
  (2) changes the daemon their wallets points to (a new daemon would
      have a different view of the pool)
- `/getblocks.bin` respects the `req.prune` field when returning
pool txs.
- Pool extension fields in response to `/getblocks.bin` are optional
with default 0'd values.
2023-07-09 08:38:18 +02:00
..
blockchain_storage_boost_serialization.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
blockchain.cpp Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
blockchain.h verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00
CMakeLists.txt verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00
cryptonote_core.cpp Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
cryptonote_core.h Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
cryptonote_tx_utils.cpp Add a size limit for tx_extra in tx pool 2023-03-18 20:01:58 +01:00
cryptonote_tx_utils.h Refactored rx-slow-hash.c 2022-12-14 07:21:00 +01:00
i_core_events.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
tx_pool.cpp Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
tx_pool.h Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] 2023-07-09 08:38:18 +02:00
tx_sanity_check.cpp Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
tx_sanity_check.h Copyright: Update to 2022 2022-03-04 06:59:20 +01:00
tx_verification_utils.cpp verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00
tx_verification_utils.h verRctNonSemanticsSimpleCached: fix fragility 2023-03-17 18:46:34 -05:00