RPC: add caching to getLargestAccounts (#15154)

* introduce get largest accounts cache

* remove cache size and change hash key

* remove eq and hash derivation from commitment config

* add slot to the cache
This commit is contained in:
Josh
2021-02-11 11:32:46 -08:00
committed by GitHub
parent ab0f4c69aa
commit 4013f91dbe
5 changed files with 138 additions and 16 deletions

View File

@@ -8,6 +8,7 @@ pub mod mock_sender;
pub mod nonce_utils;
pub mod perf_utils;
pub mod pubsub_client;
pub mod rpc_cache;
pub mod rpc_client;
pub mod rpc_config;
pub mod rpc_custom_error;