Mark claims as touched

This commit is contained in:
Brendon J. Brewer 2021-08-17 13:39:00 +12:00 committed by Jack Robison
parent 231eabb013
commit 388724fccb
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -313,7 +313,12 @@ class BlockProcessor:
start = time.perf_counter()
await self.run_in_thread(self.advance_block, block)
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)
if self.height == self.coin.nExtendedClaimExpirationForkHeight:
self.logger.warning(