pub fn get_filter_block_range(
from_block: Option<u64>,
to_block: Option<u64>,
start_block: u64,
info: ChainInfo,
) -> Result<(u64, u64), FilterBlockRangeError>Expand description
Computes the block range based on the filter range and current block numbers.
Returns an error for invalid ranges rather than silently clamping values.