Page MenuHomePhabricator

[net processing] Handle IsContinuationOfLowWorkHeadersSync return value correctly when new headers sync is started
ClosedPublic

Authored by PiRK on Sep 19 2024, 09:02.

Details

Summary

This makes TryLowWorkHeadersSync always return true for low work chains, no matter what IsContinuationOfLowWorkHeadersSync returns, preventing potentially commiting low-work headers to disk before the chain of headers has sufficient work.

This is a backport of core#26355 and core#26387

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable