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

Better pivx.conf Masternode data error notification #2170

Merged

Conversation

furszy
Copy link

@furszy furszy commented Jan 28, 2021

In case of pivxd, if there is for example an invalid masternode private key or an invalid masternode address we are only logging the error (In case of pivx-qt, a visual error popup notification is triggered).

This PR improves the Masternode data error detection exiting early at the node startup (same as we do on every other bad data provided by the user at startup).

… to initialize the masternode.

Example: if the masternode private key was badly written in the pivx.conf and cannot be parsed, return the error and don't start the node.
@furszy furszy self-assigned this Jan 28, 2021
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.

utACK 0389e86

@random-zebra random-zebra added Masternode Startup Wallet startup changes and/or improvements labels Jan 28, 2021
@random-zebra random-zebra added this to the 5.1.0 milestone Jan 28, 2021
Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

utACK 0389e86

@random-zebra random-zebra merged commit c41ba08 into PIVX-Project:master Jan 30, 2021
@furszy furszy deleted the 2020_init_notify_masternode_error branch November 29, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Masternode Startup Wallet startup changes and/or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants