Commit 7b4f9d6a authored by Christopher Schinnerl's avatar Christopher Schinnerl

bump version number

parent 66152735
Pipeline #30748399 passed with stages
in 39 minutes and 36 seconds
# [![Sia Logo](http://sia.tech/img/svg/sia-green-logo.svg)](http://sia.tech) v1.3.4 (Capricorn)
# [![Sia Logo](http://sia.tech/img/svg/sia-green-logo.svg)](http://sia.tech) v1.3.5 (Capricorn)
[![Build Status](https://gitlab.com/NebulousLabs/Sia/badges/master/build.svg)](https://gitlab.com/NebulousLabs/Sia/commits/master)
[![Coverage Report](https://gitlab.com/NebulousLabs/Sia/badges/master/coverage.svg)](https://gitlab.com/NebulousLabs/Sia/commits/master)
......
......@@ -14,7 +14,7 @@ const (
MaxEncodedVersionLength = 100
// Version is the current version of siad.
Version = "1.3.4"
Version = "1.3.5"
)
// IsVersion returns whether str is a valid version number.
......
......@@ -233,11 +233,15 @@ func versionAdjustments(entry modules.HostDBEntry) float64 {
if build.VersionCmp(entry.Version, "1.4.0") < 0 {
base = base * 0.99999 // Safety value to make sure we update the version penalties every time we update the host.
}
// minus 10% for being below the most recent version.
// -10% for being below 1.3.5.
if build.VersionCmp(entry.Version, "1.3.5") < 0 {
base = base * 0.9
}
// -10% for being below 1.3.4.
if build.VersionCmp(entry.Version, "1.3.4") < 0 {
base = base * 0.9
}
// minus another 10% for being below the previous version.
// -10% for being below 1.3.3.
if build.VersionCmp(entry.Version, "1.3.3") < 0 {
base = base * 0.9
}
......
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