redo how db and header sync works, somewhat simpler but a little recursve-ish. There is still an off by 1 error somewhere with headers.
redo how db and header sync works, somewhat simpler but a little recursve-ish. There is still an off by 1 error somewhere with headers.