Using the `rpc-bitcoin` library use the `batch` functionality to fast sync when the head is not close to the highest block.