Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cleanup] Remove redundant and unused code #1467

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

Fuzzbawls
Copy link
Collaborator

SPORK_10_MASTERNODE_PAY_UPDATED_NODES has remained active for the past
3+ years through multiple protocol updates and was largely already
deprecated at the time we code-forked from DASH.

Since the masternode broadcast message was introduced, the only remaining
practical use of SPORK_10 was a redundant if/else that this PR removes.

Additionally, since the masternode broadcast message was introduced,
we no longer need to continue supporting the already deprecated dsee
and dseep network messages, which were themselves only ever used when
SPORK_10 was inactive.

`SPORK_10_MASTERNODE_PAY_UPDATED_NODES` has remained active for the past
3+ years through multiple protocol updates and was largely already
deprecated at the time we code-forked from DASH.

Since the masternode broadcast message was introduced, the only remaining
practical use of SPORK_10 was a redundant if/else that this PR removes.

Additionally, since the masternode broadcast message was introduced,
we no longer need to continue supporting the already deprecated `dsee`
and `dseep` network messages, which were themselves only ever used when
SPORK_10 was inactive.
@Fuzzbawls Fuzzbawls self-assigned this Mar 28, 2020
Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a07dee4

Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK a07dee4

@furszy furszy merged commit aa50351 into PIVX-Project:master Mar 30, 2020
akshaynexus added a commit to ZENZO-Ecosystem/ZENZO-Core that referenced this pull request Mar 30, 2020
a07dee4 [Cleanup] Remove redundant and unused code (Fuzzbawls)

Pull request description:

  `SPORK_10_MASTERNODE_PAY_UPDATED_NODES` has remained active for the past
  3+ years through multiple protocol updates and was largely already
  deprecated at the time we code-forked from DASH.

  Since the masternode broadcast message was introduced, the only remaining
  practical use of SPORK_10 was a redundant if/else that this PR removes.

  Additionally, since the masternode broadcast message was introduced,
  we no longer need to continue supporting the already deprecated `dsee`
  and `dseep` network messages, which were themselves only ever used when
  SPORK_10 was inactive.

ACKs for top commit:
  random-zebra:
    ACK a07dee4
  furszy:
    utACK a07dee4

Tree-SHA512: 16e5b98a7dcaf747cb5d688aa389e604e5840e4af0bfb92a45ad87037ac108c844fe1360227c4ba87371eb629569bab144849b3bdcbc7b1b970c20460ae22b6d
@random-zebra random-zebra added this to the 4.1.0 milestone Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants