fix duration adjustment
MERGE REQUEST
Overview
This MR does multiple things.
- it adds a regression test and a fix that prevents portals from forming contracts with dead score hosts
- it changes the default max duration in the allowance to a 2 month period and 1 month renew window due to many hosts on the network using 3 months as their max duration.
- adds a test to make sure we don't renew contracts with dead scores
- adds a score adjustment for hosts not accepting contracts
Checklist
Review and complete the checklist to ensure that the MR is complete before assigned to an approver.
-
All new methods or updated methods have clear docstrings -
Testing added or updated for new methods -
Any new packages are added to Makefile and .gitlab-ci.yml -
API documentation updated for API updates -
Module README.md updated for changes to workflow -
Issue added to Sia-UI repo for new supporting features -
Changelog File Created
Edited by Christopher Schinnerl