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

[GUI] Deterministic Masternode #2804

Open
wants to merge 48 commits into
base: master
Choose a base branch
from

Conversation

Liquid369
Copy link
Member

Co-Authored with @panleone

This PR is superseding both PRs #2751 and #2791

It contains the following fixes/improvements we've found during testing:

  • ProTx with master node collateral included halting chain 4f3cee2
  • GUI can now do both situations of creating a master node with new ProTx commands ab5069b
  • Unbanning DMN from GUI b8b9593
  • Voting with DMN from GUI (only active regtest atm) af3cea2

Prior PR had remnants of #2755

furszy added 30 commits March 4, 2022 09:36
Decoupling the RPC server errors from the function.
And use the `PROTOCOL_VERSION` instead of the `CLIENT_VERSION`. Which should had never been used there as the serialization of inputs/spend_notes cannot be modified changing the `CLIENT_VERSION`, it's a hard-fork that needs a protocol bump.
Same validation is performed inside TryATMP.
…the network.

The transaction inputs are always from the wallet.
And remove duplicated available inputs validation. The code will perform the same check few lines after the signature inside ATMP.
Differentiating deterministic from legacy masternodes
…created locally).

Only useful when the owner generates the operator key, so the object can be securely stored inside the wallet.dat encrypted.

A future work could create an encryptable db for this specific object.
panleone
panleone previously approved these changes Feb 10, 2023
Copy link

@panleone panleone left a comment

Choose a reason for hiding this comment

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

tACK:
checked the git diff which is consistent with the old PR;
two tests did not pass but it must be a github bug since they passed locally on my pc;
tested GUI which is working fine for creation / killing / unbanning a DMN.
Let's get this merged to move on with v6.0

@Liquid369
Copy link
Member Author

Yesterday I pushed some fixes for the RPC naming as we discussed @Fuzzbawls but I decided to revert it because so many other PRs would need to fix the same we will push it in a subsequent PR after we start getting these merged.

Fix lint



Fix CMake

Remove GetMNCollateralCandidate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

4 participants