Sia Ant Farm uses the following versioning scheme, vX.X.X
- First Digit signifies a major (compatibility breaking) release
- Second Digit signifies a major (non compatibility breaking) release
- Third Digit signifies a minor or patch release
Latest:
Key Updates
- On Linux (incl. Gitlab CI) use
ss
command line utility to check for free ports to improve Ants and Antfarm stability.
Other
- Create a new make target
install-dev
, renameinstall-debug
toinstall-dev-debug
. Install dev version by Gitlab CI pipelines.
Key Updates
- Code for Antfarm option
WaitForSync
was updated to wait for ASIC hardfork height and then for ants to be in sync. This prevents 2 known issues happening around hardfork height and improves Antfarm stability.
Other
- Check if port is free before assigning a random port to antfarm or ants.
- Update waiting for renter workers with 2 separate timeouts: For price table updates and for cooldown.
- Use waiting for renter workers cooldown also with siad
v1.5.0
. - Use
dev
tag in allmake test-...
targets to load Siadev
constants.
Key Updates
- Update Sia Antfarm to use Sia
v1.5.5
. - Update Sia Antfarm to use Go
1.15
.
Other
- Update
README.md
dividing configuration options to template configs and configuration options descriptions. - Decrease required hosts from 5 to 4 and parity pieces from 4 to 2 to increase tests and Antfarm stability.
- Wait for renter workers pricetable update and cooldown in upgrade tests.
Key Updates
- Add Foundation hardfork tests.
- Add sleep to miner after mining a block to mimic real network and to fix hosts out of sync errors happening on Antfarm.
- Update Sia Antfarm to use Sia
v1.5.4
.
Bugs Fixed
- Fix binaries builder to build correct Sia versions (Sia working directory added).
- Checking the latest download status was fixed (it was checking incorrectly the download status of the first download instead).
Other
- Update downloads to wait for file to be completely saved to disk in cases when file is not immediately complete after async download is completed.
- Log closing ant and antfarm.
- Rearrange upgrade tests dividing them to 2 subgroups:
HostsUpgrades
andRenterUpgrades
. - Add
TestRenewContractBackupRestoreSnapshot
test to wait for contracts renewal, backup to Sia, restore from Sia on the latest Sia master branch. - Add wait for renters workers cooldown to hosts upgrade tests to fix download issues after hosts upgrades or just restarts.
- Add version test targets/jobs to be triggered by Sia master updates.
- Update version tests to log to test log file instead of to the console.
Key Updates
- Update Sia to the latest released version
v1.5.3
.
Key Updates
- Update Sia to the latest released version
v1.5.2
.
Key Updates
- Updated building siad binaries for version tests. When for a Sia release
(e.g.
v1.4.8
) a git tag with-antfarm
suffix exists (i.e.v1.4.8-antfarm
), version test doesn't build Sia release, but it's patched version. - Fix setting ant external IP addresses. This fixes version tests for testing
from Sia version
v1.4.10
on. - Write antfarm execution logs and tests logs to file instead of to console.
- Repost host announcement and host accepting contracts when the transactions were dropped and the renter doesn't see the host(s) as active.
- Do not overwrite
sia-output.log
on siad upgrades. - Enable upgrading/downgrading renter ant's siad binary. Renter if fully functional after upgrade/downgrade.
- Update Sia to the latest released version
v1.5.1
. - Update version tests to use the latest release as a base version (instead of using the latest master).
Bugs Fixed
- Fix closing ants' siad processes via API.
- Fix closing siad process in TestNewSiad.
- Fix stale upload at 0% occurring occasionally after renter's siad process restart or update.
Other
- Restructure Antfarm packages.
- Fix cloning Sia repository for building binaries when
vX.X.X-antfarm
tag was updated. - Fix closing ants when error during starting antfarm occurs.
- Speedup closing antfarm by closing ants concurrently.
- Disable UPnP router discovery and clearing ports via UPnP on Gitlab CI.
- Enable
errcheck
linter and fix allerrcheck
issues in the repository. - Add make option to install
sia-antfarm-debug
with debug messages printed to the log. - Simplify
WaitForRenterUploadReady
to be easily used by tests. - Define renter phases to be used in renter job to support alternative renter configs.
Key Updates
- Allow local IPs for hosts.
- Replace
UseExternalIPWithoutUPnP
withAllowHostLocalNetAddress
. - Set host's netAddress when using
AllowHostLocalNetAddress
- Allow renter to rent on hosts on the same IP subnets (add config option
RenterDisableIPViolationCheck
and setcheckforipviolation
tofalse
) - Fix renter job thread groups.
- Fix uploads.
- Split existing
renter
job between basicrenter
and continuousautorenter
. - Update Sia to
v1.5.0
. - Build and use
siad-dev
as default. - Add
WaitForSync
to config and enable waiting for ants to sync.
Bugs Fixed
- Fix various loops that had rapid cycling or early exits. Cleaned up constants associated with the loops.
Other
- Add error checking to jobrunners' thread group Add() for antfarm closing to be faster.
- Added script to generate
siad-dev
binaries. - Fix unique ant names check.
Key Updates
- Add changelog generator
- Update to Sia v1.4.11
- Create SiadConfig struct
- Add gitlab yml for CI/CD
- Add
UseExternalIPWithoutUPnP
AntConfig option