1
0

interface: small clean-up. intro ChainResolutionMode.

- type hints
- minor API changes
- no functional changes
This commit is contained in:
SomberNight
2025-06-06 16:42:15 +00:00
parent 2b5147eb4d
commit 27599ac537
5 changed files with 127 additions and 71 deletions

View File

@@ -88,7 +88,7 @@ class SPV(NetworkJobOnDefaultServer):
if header is None:
if tx_height < constants.net.max_checkpoint():
# FIXME these requests are not counted (self._requests_sent += 1)
await self.taskgroup.spawn(self.interface.request_chunk(tx_height, None, can_return_early=True))
await self.taskgroup.spawn(self.interface.request_chunk(tx_height, can_return_early=True))
continue
# request now
self.logger.info(f'requested merkle {tx_hash}')