Skip to content

AccountBalance Target

Peter-Jan Brone requested to merge pj/target-balance into master

MERGE REQUEST

MR Guidelines

Overview

This MR changes the way the account balance target is calculated. Instead of using the hardcoded value of 1SC, we now calculate it based on the host's prices. It's important to note that this happens by calculating a minExpectedDownlaod which is set at 256mb. @ChrisSchinnerl you suggested to lower it to 128mb but I kept it at 256 for now because at that value, and the default host prices, the target is 35mS.. which is a lot lower than we have now, I don't see why we would be extra tight here.

Example for Visual Changes

N/A

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

Issues Closed

N/A

Merge request reports