What's new

Archived LRP: SHIELD & DMNs

PIVX Labs

Administrator
Staff member
Code:
Name: LRP - SHIELD & DMNs
Term: 1 Cycle
Cycle Amnt: 25,000
Total Amnt: 25,000
Author: Alessandro Rezzi, Sandude, JSKitty
Receiver: Alessandro Rezzi
Address: D7ySMkdHbgoUPVx921knSpfjapn6XL8sYW
Created: 30-01-2023
Status: Active
Vote Hash: 4552acf8079ca59ab0a8ed9fcf5aec7c6ca356cc8ac05b60f498684ee8052ca8


Project updated:

This proposal will apply only to the first month of development. After this period, a new proposal will be published with any necessary adjustments (such as amounts) and progress updates.

Shielding will be an update for My PIVX Wallet (MPW), while development of deterministic masternodes (DMNs) will have an influence on all PIVX wallets (Both MPW and Core)

Development of both the implementation of Shielding for MPW and DMNs would take place simultaneously, and the same developer (Rezzi) would take over both tasks, in collaboration with additional independent developers. This is why we have included both Shielding and DMNs in a single proposal.

What issues does this proposal address?

Shielding

MPW users have at the moment no ability to shield their transactions. That is, they can only make transparent, publicly visible transactions.

DMNs

With non-deterministic masternodes it is impossible to check or calculate exactly when a masternode will earn a reward. Situations may then arise where luck influences how many rewards a masternode earns, at least in the short term.

What features or improvements will be added?

Shielding

The Shield implementation for MPW will be the first in any wallet outside of the standard Core Wallet. The full implementation will require two main features that will be developed in succession:

  1. Generation of shielded addresses while showing their correct balance on MPW.
  2. Possibility for MPW users to send shielded transactions.
DMNs

PIVX masternodes will now be deterministic. That is, rewards will not be assigned to a masternode probabilistically with every block. Instead, masternodes will be drawn one by one from a sorted list and paid a reward, making it possible to know exactly when a specific masternode will earn its next reward.

How does this benefit users?

Shielding

Shield makes it possible to hide all transaction details from the sender to the receiver. Up until now, it was a feature exclusive to the PIVX Core Wallet. Users sending transactions from MPW will now be able to preserve their privacy by using Shield.

DMNs

Masternode owners will now be able to check a masternode list in order to see exactly when their masternode will receive a reward.

Deterministic masternodes also bring additional possibilities such as splitting rewards and sending them to different addresses, or delegating voting permissions to other addresses. They are also simpler and require less maintenance, providing a higher uptime.
 
Last edited:
Nice proposal, Seems Dash already implemented DMNs, would you be using their code? if not what changes will you be making to their implementation?

Is there an estimate on how long this will take and what testing or contingencies will be in place for this upgrade?

Thankyou :)

Also did you run this past Borris, he likes to be woken up from his sleep anytime someone tries to build something on PIVX ;)
 
Nice proposal, Seems Dash already implemented DMNs, would you be using their code? if not what changes will you be making to their implementation?

Is there an estimate on how long this will take and what testing or contingencies will be in place for this upgrade?

Thankyou :)

Also did you run this past Borris, he likes to be woken up from his sleep anytime someone tries to build something on PIVX ;)
Hi, our DMNs implementation will follow indeed the DASH protocol (i.e DASH dip3 dip6 dip7 and dip8), however there will be differences the main one is that we will support ipv4 ipv6 and TOR masternodes, while DASH only supports ipv4. Said that the implementation is not simply "using their code" because DASH and PIVX are very different and naively copying and pasting their code leads to tons of errors.

I don't know how much time it will take, we won't rush and be very careful on testing because any error on DMNs is basically lethal.
At the moment we have dip3 and dip6 implemented (this is mostly work of old devs) and we are working on dip7 + ipv6 and tor addresses + chain locks, latest PRs can be found on github https://github.com/PIVX-Project/PIVX
 
Re: "Deterministic masternodes also bring additional possibilities such as splitting rewards and sending them to different addresses, or delegating voting permissions to other addresses. They are also simpler and require less maintenance, providing a higher uptime."

This is extremely valuable. Sounds like a MNO can lock up his collateral, and even take it offline, making it incredibly secure. In fact, it can be logistically hard to get access too for safety, or simply because the MNO is travelling etc. but that won't be an issue. Rewards will still go to a different address, such as their mobile wallet, or a remote Core Wallet. They can vote or restart MNs remotely too. MN hosts need to stay online and be updated from time to time, but a service provider can handle that.

This makes it very easy for Whales to come to PIVX, lock their funds in a MN, and just stop by a few times a month to check proposals and vote. Just by doing that, they can ensure a steady income, steer the success of the project, and limit the supply of coins on the market, because they are locked up not just with the 10K PIV set aside, but with the effort to go access the collateral they have secured so well with whatever OpSec they designed.
 
Nice proposal, Seems Dash already implemented DMNs, would you be using their code? if not what changes will you be making to their implementation?

Is there an estimate on how long this will take and what testing or contingencies will be in place for this upgrade?

Thankyou :)

Also did you run this past Borris, he likes to be woken up from his sleep anytime someone tries to build something on PIV
 
Hi, friends. I tend to be focused on the Dash ecosphere but seek to be non-dogmatic and am a fan of technological options that empower individuals. It's very exciting to see this interest in bringing privacy to mobile users. I hope this project is successful.

Note, I was brought here via Ep. #9 of DAOWatch by @Cryptosi
 
Top