Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move
autopilots
intoautopilot_state
#1657base: dev
Are you sure you want to change the base?
Move
autopilots
intoautopilot_state
#1657Changes from 19 commits
09a54c3
7c3f167
3826cde
62e584b
fb00944
edaf2d7
1b86a31
56baf32
1fa83f5
884611b
4889e65
95b5651
0d75f55
668bae8
74f41be
c741532
8564b84
c16e960
75de934
ce2033f
750effb
eaea057
fb7ed16
296d400
da3580d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar conversation: since we now have initial contract funding instead of a global allowance and refreshing a contract in v2 will be less painful, are these even necessary? Attempting to calculate this ahead of time adds unnecessary setup complexity and overhead. It may end up in more contracts overall, but storage utilization could be more efficient if the scoring didn't need to check for storage space available based on
expected storage * redundancy / target contracts
.If a host runs out of storage space, but is otherwise in working condition, form a contract with a new host instead of churning it out of the set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could get rid of the remaining storage score and simplify the collateral score and instead just check whether a host is already full / out of collateral before forming a contract without giving them a score.