Skip to content

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 141fb7892cad3760fa10cb5d45306f075052b0e3

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