resolve_price_scan_start_block

Documentation for eth_defi.tokenised_fund.securitize.backfill.resolve_price_scan_start_block function.

resolve_price_scan_start_block(deployment_blocks)

Choose the earliest history start block for selected products.

A targeted rewrite must begin at deployment, not at the ordinary scanner’s latest cursor. HyperSync fills missing block timestamps, so a partial local timestamp cache must never truncate the requested history.

Parameters

deployment_blocks (collections.abc.Iterable[int]) – Deployment blocks for products with a configured price source.

Returns

Explicit override or the earliest deployment block.

Return type

int