Expose multi_get
from rocksdb, use it for fetching tx hashes #23
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ class BlockchainProcessorService(BlockchainService):
|
|||
self.pending_transaction_num_mapping: Dict[bytes, int] = {}
|
||||
self.pending_transactions: Dict[int, bytes] = {}
|
||||
|
||||
self.hashX_history_cache = LRUCache(100)
|
||||
self.hashX_full_cache = LRUCache(100)
|
||||
self.hashX_history_cache = LRUCache(1000)
|
||||
self.hashX_full_cache = LRUCache(1000)
|
||||
|
||||
async def run_in_thread_with_lock(self, func, *args):
|
||||
# Run in a thread to prevent blocking. Shielded so that
|
||||
|
|
Loading…
Reference in a new issue