forked from LBRYCommunity/lbry-sdk
remove unused attributes
This commit is contained in:
parent
83c8576b3f
commit
28f25538a3
1 changed files with 0 additions and 9 deletions
|
@ -121,12 +121,6 @@ class BlockProcessor:
|
||||||
# Claimtrie cache
|
# Claimtrie cache
|
||||||
self.db_op_stack: Optional['RevertableOpStack'] = None
|
self.db_op_stack: Optional['RevertableOpStack'] = None
|
||||||
|
|
||||||
# self.search_cache = {}
|
|
||||||
self.resolve_cache = LRUCache(2**16)
|
|
||||||
self.resolve_outputs_cache = LRUCache(2 ** 16)
|
|
||||||
|
|
||||||
self.history_cache = {}
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# attributes used for calculating stake activations and takeovers per block
|
# attributes used for calculating stake activations and takeovers per block
|
||||||
#################################
|
#################################
|
||||||
|
@ -1458,7 +1452,6 @@ class BlockProcessor:
|
||||||
self.claim_channels.clear()
|
self.claim_channels.clear()
|
||||||
self.utxo_cache.clear()
|
self.utxo_cache.clear()
|
||||||
self.hashXs_by_tx.clear()
|
self.hashXs_by_tx.clear()
|
||||||
self.history_cache.clear()
|
|
||||||
self.removed_claim_hashes.clear()
|
self.removed_claim_hashes.clear()
|
||||||
self.touched_claim_hashes.clear()
|
self.touched_claim_hashes.clear()
|
||||||
self.pending_reposted.clear()
|
self.pending_reposted.clear()
|
||||||
|
@ -1468,8 +1461,6 @@ class BlockProcessor:
|
||||||
self.pending_transaction_num_mapping.clear()
|
self.pending_transaction_num_mapping.clear()
|
||||||
self.pending_transactions.clear()
|
self.pending_transactions.clear()
|
||||||
self.pending_support_amount_change.clear()
|
self.pending_support_amount_change.clear()
|
||||||
self.resolve_cache.clear()
|
|
||||||
self.resolve_outputs_cache.clear()
|
|
||||||
self.touched_hashXs.clear()
|
self.touched_hashXs.clear()
|
||||||
|
|
||||||
async def backup_block(self):
|
async def backup_block(self):
|
||||||
|
|
Loading…
Reference in a new issue