forked from LBRYCommunity/lbry-sdk
Mark claims as touched
This commit is contained in:
parent
dc4e362e10
commit
180f6c4519
1 changed files with 6 additions and 1 deletions
|
@ -313,7 +313,12 @@ class BlockProcessor:
|
||||||
start = time.perf_counter()
|
start = time.perf_counter()
|
||||||
await self.run_in_thread(self.advance_block, block)
|
await self.run_in_thread(self.advance_block, block)
|
||||||
await self.flush()
|
await self.flush()
|
||||||
self.trending_db.process_block(self.height, self.daemon.cached_height())
|
|
||||||
|
# trending
|
||||||
|
extra_claims = self.trending_db.process_block(self.height,
|
||||||
|
self.daemon.cached_height())
|
||||||
|
self.touched_claims_to_send_es.union(extra_claims)
|
||||||
|
|
||||||
self.logger.info("advanced to %i in %0.3fs", self.height, time.perf_counter() - start)
|
self.logger.info("advanced to %i in %0.3fs", self.height, time.perf_counter() - start)
|
||||||
if self.height == self.coin.nExtendedClaimExpirationForkHeight:
|
if self.height == self.coin.nExtendedClaimExpirationForkHeight:
|
||||||
self.logger.warning(
|
self.logger.warning(
|
||||||
|
|
Loading…
Reference in a new issue