Skip to content

feat: Add parallellized workers for block ranges

Introduces chainsyncer.driver.threadrange.ThreadPoolRangeHistorySyncer which splits a single sync range into multiple ranges and assigns them to workers in a multiprocessing.Pool.

The original backend class is preserved, which each worker uses to spawn a HistorySyncer.

The worker state is encapsulated by the ThreadPoolRangeTask class.

Edited by Louis Holbrook

Merge request reports

Loading