Page MenuHomePhabricator

Do not send (potentially) invalid headers in response to getheaders
ClosedPublic

Authored by Fabien on Dec 27 2018, 22:27.

Details

Summary

Nowhere else in the protocol do we send headers which are for
blocks we have not fully validated except in response to getheaders
messages with a null locator.

Backport of core PR11580

Depends on D2226

Test Plan
./test/functional/test_runner.py sendheaders

Diff Detail

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