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

[zPIV][Cleanup] Zerocoin Cleanup 4: further wallet cleaning #1314

Merged
merged 6 commits into from
Feb 7, 2020

Conversation

random-zebra
Copy link

@random-zebra random-zebra commented Jan 30, 2020

Builds on top of #1293 .
This removes zerocoin backups and locks minting only for tests. Mints and v2 spends are rejected from mempool. Removes fMintChange/fMinimizeChange options from RPC functions. Cleans up unused variables and functions. Zerocoin specific implementations have been moved from wallet.cpp to a new file wallet_zerocoin.cpp in the wallet directory.

@random-zebra random-zebra self-assigned this Jan 30, 2020
@random-zebra random-zebra added this to the 4.1.0 milestone Jan 31, 2020
@Fuzzbawls
Copy link
Collaborator

needs rebase

@random-zebra random-zebra force-pushed the 2020_Remove_Zerocoin_4 branch 2 times, most recently from d0216c2 to 5a6bbcb Compare February 6, 2020 15:35
@random-zebra
Copy link
Author

random-zebra commented Feb 6, 2020

Rebased, and reduced to the first 4 commits only, to keep the PR more atomic.
Further changes will be included in successive pull requests.

@random-zebra random-zebra changed the title [zPIV][Cleanup] Zerocoin Cleanup 4: further main/wallet cleaning [zPIV][Cleanup] Zerocoin Cleanup 4: further wallet cleaning Feb 6, 2020
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

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

cool refactor, utACK 79dccae.

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 79dccae

@furszy
Copy link

furszy commented Feb 7, 2020

And merging..

furszy added a commit that referenced this pull request Feb 7, 2020
79dccae [Trivial][RPC] Fix spendzerocoin num of arguments (random-zebra)
c9aefbf [Doc] Update rel notes: remove zPIV backup - mintchange/minimizechange (random-zebra)
35dae21 [Cleanup][Trivial] Remove unused variable nStakeSetUpdateTime in wallet (random-zebra)
f95af41 [Wallet][Cleanup] Refactor zPIV legacy functions at the end of wallet.* (random-zebra)
565b963 [Wallet][RPC] Remove fMintChange / fMinimizeChange from zc spends/mints (random-zebra)
76b7386 [Wallet][zPIV] Remove auto-backups. Lock minting only for tests. (random-zebra)

Pull request description:

  Builds on top of #1293 .
  This removes zerocoin backups and locks minting only for tests. Mints and v2 spends are rejected from mempool. Removes `fMintChange/fMinimizeChange` options from RPC functions. Cleans up unused variables and functions. Zerocoin specific implementations have been moved from wallet.cpp to a new file wallet_zerocoin.cpp in the wallet directory.

ACKs for top commit:
  furszy:
    cool refactor, utACK 79dccae.
  Fuzzbawls:
    ACK 79dccae

Tree-SHA512: bb69e9e79e2a5664d351fdce1a35a16642576290ead7198e74b04213b478a5e1e9a96ff9aa800ca714c5c6f2045e780a533921681d2ab79af6761a8acebec7c8
@furszy furszy merged commit 79dccae into PIVX-Project:master Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants