Skip to content

Unlock contracts

Matthew Sevey requested to merge unlock-contracts into master

MERGE REQUEST

Changes to Work Flow

Create method for unlocking contracts and updated the CancelContracts method to accept a slice of FileContractID instead of just one. These change help enable the host whitelist and blacklist functionality.

Testing Updates

Added a unit test to test the unlock method as there is not a need to export it through the API yet. The host whitelist and blacklist method will add a siatest that will test the functionality further by confirming that once canceled/locked contracts can become active again when unlocked.

Modules and Packages Impacted

Renter, Contractor, node, documentation

Merge request reports