Veil-Project / veil

Veil-Project
MIT License
118 stars 91 forks source link

Refactor ZC-specific staking functionality. #993

Closed Zannick closed 2 years ago

Zannick commented 2 years ago

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

Namely:

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

Not tested beyond compiling.

WetOne commented 2 years ago

utACK bfbef4f91e15888ccfd45bbe97454a044ef769da