Commit 0d58e861 authored by David Vorick's avatar David Vorick

add new field to the api documentation

parent af42f8e8
......@@ -1348,6 +1348,7 @@ Example Pubkey: ed25519:1234567890abcdef1234567890abcdef1234567890abcdef12345678
"ageadjustment": 0.1234, // float64
"burnadjustment": 0.1234, // float64
"collateraladjustment": 23.456, // float64
"durationadjustment": 1, // float64
"interactionadjustment": 0.1234, // float64
"priceadjustment": 0.1234, // float64
"storageremainingadjustment": 0.1234, // float64
......@@ -1376,6 +1377,9 @@ The multiplier that gets applied to the host based on how much proof-of-burn the
**collateraladjustment** | float64
The multiplier that gets applied to a host based on how much collateral the host is offering. More collateral is typically better, though above a point it can be detrimental.
**durationadjustment** | float64
The multiplier that gets applied to a host based on the max duration it accepts for file contracts. Typically '1' for hosts with an acceptable max duration, and '0' for hosts that have a max duration which is not long enough.
**interactionadjustment** | float64
The multipler that gets applied to a host based on previous interactions with the host. A high ratio of successful interactions will improve this hosts score, and a high ratio of failed interactions will hurt this hosts score. This adjustment helps account for hosts that are on unstable connections, don't keep their wallets unlocked, ran out of funds, etc.
......@@ -3413,4 +3417,4 @@ curl -A "Sia-Agent" -u "":<apipassword> --data "<requestbody>" "localhost:9980/w
standard success or error response. See [standard responses](#standard-responses).
# Version
<a href='https://sia.tech/docs/v140'>**v140**
\ No newline at end of file
<a href='https://sia.tech/docs/v140'>**v140**
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment