The light node opportunistically skips as many blocks as it safely can when syncing to minimize the amount of data used when verifying the chain. But consumers sometimes need to check specific heights for state verification, which could possibly be skipped.
To fix this, we could stop skipping blocks once we are synced to the present block, so consumers are guaranteed to receive all headers after that point.
The light node opportunistically skips as many blocks as it safely can when syncing to minimize the amount of data used when verifying the chain. But consumers sometimes need to check specific heights for state verification, which could possibly be skipped.
To fix this, we could stop skipping blocks once we are synced to the present block, so consumers are guaranteed to receive all headers after that point.