HomePhabricator

Remove obsolete dead code.
bfdc41751e50Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Remove obsolete dead code.

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.

Reviewers: deadalnix, #bitcoin_abc, dagurval, freetrader

Reviewed By: #bitcoin_abc, dagurval, freetrader

Differential Revision: https://reviews.bitcoinabc.org/D333

Details

Provenance
kyuupichanAuthored on Jul 15 2017, 09:10
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Reviewer
Restricted Project
Differential Revision
D333: Remove obsolete dead code.
Parents
rSTAGING148a0468c75d: Update block that's assumed to be valid.
Branches
Unknown
Tags
Unknown