dtr-org / unit-e

A digital currency for a new era of decentralized trust
https://unit-e.io
MIT License
45 stars 15 forks source link

Stake validation #935

Closed scravy closed 5 years ago

scravy commented 5 years ago

Activate Stake Validation, minimum required.

The check is essentially hooked into ConnectBlock which is also where it resides in particl: https://github.com/dtr-org/particl-core/blob/0.16/src/validation.cpp#L2335

https://youtu.be/FPQlXNH36mI

scravy commented 5 years ago

934 and #939 depend on this, it's been deployed in testnet (without the transaction picker fix) and the remaining comments can be resolved in follow-up pull-requests / refactorings as they are cosmetic in nature.

I compiled and ran both unit and functional tests on ubuntu and macos, both worked flawlessly.

Merging this.