HorizenOfficial / zen

Horizen
https://www.horizen.io
Other
264 stars 120 forks source link

Gp/unshielding to script fork #624

Closed JackPiri closed 11 months ago

JackPiri commented 11 months ago

This PR introduces a new hard fork related to unshielding transactions; after testnet block 1396500 (to be later defined for mainnet) every unshielding transaction (moving funds from the private pool back to the public pool) must provide transparent output with locking script of type P2SH. A minor reorganization and refactoring test suite related to fork-manager and shielded-pool-deprecation fork is included in this PR.