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
Branch
rem_dead_code
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 519
Build 519: arc lint + arc unit