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

Refactor ZC-specific staking functionality. #993

Merged
merged 1 commit into from
Jun 25, 2022

Conversation

Zannick
Copy link
Collaborator

@Zannick Zannick commented Apr 2, 2022

In preparation for defining a RingCTStakeInput type, move more zerocoin-specific stuff behind a CStakeInput interface.

Namely:

  • Getting the weight of the stake coin.
  • Finishing up the transaction creation (RingCT may have more to do than zerocoin here).

Also moved a variable nCredit that needs to be reset on each loop into the loop.

Not tested beyond compiling.

In preparation for defining a RingCTStakeInput type, move more
zerocoin-specific stuff behind a CStakeInput interface.
@Zannick Zannick added Component: Wallet Relating to keystore, tx creation, and balance tracking Coin Type: Zerocoin Specifically related to zerocoin Tag: PoS Related to Proof of Stake Tag: Waiting For Code Review Waiting for code review from a core developer labels Apr 2, 2022
@Zannick Zannick self-assigned this Apr 2, 2022
@WetOne
Copy link
Collaborator

WetOne commented Apr 3, 2022

utACK bfbef4f

@seanPhill seanPhill merged commit 4e1ebe8 into Veil-Project:master Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Coin Type: Zerocoin Specifically related to zerocoin Component: Wallet Relating to keystore, tx creation, and balance tracking Tag: PoS Related to Proof of Stake Tag: Waiting For Code Review Waiting for code review from a core developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants