EA HostExternalSetting fields
MERGE REQUEST
Overview
This MR extends the host's ExternalSettings object with 2 fields: EphemeralAccountExpiry
and MaxEphemeralAccountBalance
. Both fields are exposed through the external settings so the renter can use them for verification purposes. It uses the expiry to check whether or not it makes sense the account was expired and it uses the max EA balance to ensure the max balance set by the host is something he can live with.
Hosts can lie about these settings, but they can also get caught lying and get penalized. Both fields are relatively easy to verify on the host.
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
Edited by Peter-Jan Brone