Skip to content

fix duration adjustment

Christopher Schinnerl requested to merge chris/fix-renew-window into master

MERGE REQUEST

MR Guidelines

Overview

This MR does multiple things.

  1. it adds a regression test and a fix that prevents portals from forming contracts with dead score hosts
  2. 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.
  3. adds a test to make sure we don't renew contracts with dead scores
  4. 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

Merge request reports

Loading