Page MenuHomePhabricator

Remove obsolete dead code.
ClosedPublic

Authored by kyuupichan on Jul 15 2017, 09:17.

Details

Summary

Dead because:

$ git grep GETHEADERS_VERS
src/version.h:static const int GETHEADERS_VERSION = 31800;
src/version.h:static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;

and also because at this line we are guaranteed nVersion >= MIN_PEER_PROTO_VERSION

Test Plan

By observation as described above.

Diff Detail

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