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

[Wallet] Locked sapling notes #2861

Merged
merged 5 commits into from
May 28, 2023
Merged

Conversation

panleone
Copy link

This PR implements the possibility to lock a sapling note, so the system will not try to spend it once a shield transaction is made. As for normal utxo locks are not saved on disk.

In particular I have updated two RPCs:

  • listlockunspent will now also print sapling locked notes;
  • lockunspent now requires a third boolean parameter "transparent" (true if you want to lock a normal utxo false if you want to lock a sapling note)

I have also updated the coin control interface so users will be able to lock a note from the GUI.

@panleone panleone self-assigned this May 10, 2023
@panleone panleone added this to the 6.0.0 milestone May 10, 2023
@panleone panleone force-pushed the locked_notes branch 4 times, most recently from 50826ca to 141fb78 Compare May 16, 2023 17:17
@panleone
Copy link
Author

rebased on master to resolve conflict

@Fuzzbawls Fuzzbawls changed the title [Wallet] Locked notes [Wallet] Locked sapling notes May 17, 2023
Liquid369
Liquid369 previously approved these changes May 17, 2023
Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

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

tACK 141fb78

Working pretty well, RPCs work nicely, and a nice quality of life improvement for shield users.

@panleone
Copy link
Author

had to rebase again due to new conflicts

Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

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

tACK 2d5d42b
Still working after rebasing, gg

@Fuzzbawls Fuzzbawls added the Needs Release Notes Placeholder tag for anything needing mention in the "Notable Changes" section of release notes label May 28, 2023
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.

ACK 2d5d42b

@Fuzzbawls Fuzzbawls merged commit 326321d into PIVX-Project:master May 28, 2023
@Fuzzbawls Fuzzbawls modified the milestones: 6.0.0, 5.6.0 Feb 6, 2024
@Fuzzbawls Fuzzbawls removed the Needs Release Notes Placeholder tag for anything needing mention in the "Notable Changes" section of release notes label Feb 15, 2024
@panleone panleone deleted the locked_notes branch March 23, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants