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

[Consensus] Remove Old message format in CMasternodeBroadcast #1001

Merged

Conversation

random-zebra
Copy link

The new message format was introduced with protocol 70914 (v3.1.0) and the old message was retained in order to be able to still check against it during the update.
After 4 more protocol upgrades we can safely assume that no masternode has MNANNOUNCE message signed with the old format so we can remove it from the code.

The function GetOldStrMessage() is removed and GetNewStrMessage() is renamed to GetStrMessage().

Copy link

@Warrows Warrows left a comment

Choose a reason for hiding this comment

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

utACK

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 a1fcd2a

random-zebra added a commit that referenced this pull request Sep 16, 2019
…dcast

a1fcd2a [Consensus] Remove Old message format in CMasternodeBroadcast (random-zebra)

Pull request description:

  The new message format was introduced with protocol 70914 (v3.1.0) and the old message was retained in order to be able to still check against it during the update.
  After 4 more protocol upgrades we can safely assume that no masternode has MNANNOUNCE message signed with the old format so we can remove it from the code.

  The function `GetOldStrMessage()` is removed and `GetNewStrMessage()` is renamed to `GetStrMessage()`.

ACKs for top commit:
  furszy:
    utACK [a1fcd2a](a1fcd2a)

Tree-SHA512: 3e1ba50c30ec78d7692a02bf0d557f46cc687a444809703dbf55359470b603fa71d0efb7172dd574f9c231a0041c9fa1a3a1861e8e35f891c4496b90e7f3a21c
@random-zebra random-zebra merged commit a1fcd2a into PIVX-Project:master Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants