Skip to content

Releases: SiaFoundation/hostd

v2.3.0

07 Jun 19:31
v2.3.0
8e48cb6
Compare
Choose a tag to compare

Features

Add nomad Certificates

Adds nomad as an experimental zero-config TLS Certificate provider for Sia hosts. nomad is run by the Sia Foundation to reduce friction of setting up a storage provider that supports WebTransport in browsers.

Add nomad automatic certificate generation

Optionally uses the Sia Foundation's nomad service to generate a *.sia.host TLS certificate to support the WebTransport protocol in browsers.

Fixes

  • Added fallback support for wildcard certificates.
  • Fixed a panic when updating contract formation proofs.
  • Fixed an issue with concurrent map access with webhook broadcasts.
  • Updated coreutils to v0.16.1

v2.2.3

29 May 23:14
v2.2.3
f5c2062
Compare
Choose a tag to compare

Fixes

  • Include QUIC in host announcement if configured.
  • Update core to v0.13.1 and coreutils to v0.15.2
  • Use WindowEnd instead of WindowStart when checking if the renter attempts to form a contract too close to the v2 require height (RHP2).
  • Use WindowEnd instead of WindowStart when checking if the renter attempts to form a contract too close to the v2 require height.
  • Fixed version update spam.

v2.2.0

26 May 21:08
v2.2.0
b9c77e1
Compare
Choose a tag to compare

Features

  • Added [PUT] /api/system/connect/test to trigger a test of the host's connectivity.
  • Added periodic version checks.

Added periodic connection tests

Periodically tests the hosts connection using the SiaScan troubleshooting API. This provides alerts to hosts if for some reason their node is not connectable. This system relies on a central server for the test and may return occasional false positives. The server can be overridden by setting Config.Explorer.URL

Simplified V1 contract sectors management

Changes sector updates for V1 contracts to match the behavior from V2. The new behavior diffs the old and new sector roots and updates the changed indices in the database rather than relying on replaying the sector changes. This is slightly slower on large contracts due to needing to calculate the diff of each index, but it is significantly simpler and less prone to edge cases.

Fixes

  • Added volume and contract metrics to recalc command
  • Fixed a panic in RHP2 sector roots RPC.
  • Fixed consensus v2 commitment.
  • Fixed a panic when encoding the alerts array during high frequency updates
  • Locked wallet UTXOs will now be stored in the database.
  • Updated core to v0.13.0 and coreutils to v0.15.0

v2.2.0-beta.1

19 May 23:39
v2.2.0-beta.1
2ee3add
Compare
Choose a tag to compare
v2.2.0-beta.1 Pre-release
Pre-release

Features

Added periodic connection tests

Periodically tests the hosts connection using the SiaScan troubleshooting API. This provides alerts to hosts if for some reason their node is not connectable. This system relies on a central server for the test and may return occasional false positives. The server can be overridden by setting Config.Explorer.URL

Fixes

  • Added volume and contract metrics to recalc command
  • Fixed a panic when encoding the alerts array during high frequency updates

v2.1.0

06 May 16:20
v2.1.0
732161e
Compare
Choose a tag to compare

This update requires rescanning the blockchain. This can take between 2-10 hours depending on hardware. We recommend upgrading when no contracts are about to expire.

Features

  • The RHP4 port can now be set using the -rhp4 flag.
  • Added Prometheus support to [GET] /syncer/peers

Add endpoints for querying V2 contracts

Adds two new endpoints for querying V2 contracts

[GET] /v2/contracts/:id

Returns a single V2 contract by its ID

[POST] /v2/contracts

Queries a list of contracts with optional filtering

Example request body

{
  "statuses": [],
  "contractIDs": [],
  "renewedFrom": [],
  "renewedTo": [],
  "renterKey": [],
  "minNegotiationHeight": 0,
  "maxNegotiationHeight": 0,
  "minExpirationHeight": 0,
  "maxExpirationHeight": 0,
  "limit": 0,
  "offset": 0,
  "sortField": "",
  "sortDesc": false
}

Add QUIC support

Adds QUIC transport support in RHP4, enabling Sia network access through web browsers. This update also simplifies cross-language development by using a standard protocol.

Add support for RPCReplenish

Adds support RPCReplenish, simplifying management for renters with a large number of accounts.

Fixes

  • Combine update and select query when pruning sectors to force usage of exclusive database transaction
  • Fixed broken API client consensus methods
  • Fix JSON field names for V2Contract type
  • Fixed an issue with v2 contract sector roots not being reloaded
  • Limit the number of parallel SQLite connections to 1 to prevent "database is locked" errors.
  • Reduced migration time for large mostly empty volumes
  • Update jape dependency to v0.13.0.
  • Update module path to go.sia.tech/hostd/v2

v2.1.0-beta.4

24 Apr 19:01
v2.1.0-beta.4
2a79b9b
Compare
Choose a tag to compare
v2.1.0-beta.4 Pre-release
Pre-release

Features

  • The RHP4 port can now be set using the -rhp4 flag.
  • Added Prometheus support to [GET] /syncer/peers

Add endpoints for querying V2 contracts

Adds two new endpoints for querying V2 contracts

[GET] /v2/contracts/:id

Returns a single V2 contract by its ID

[POST] /v2/contracts

Queries a list of contracts with optional filtering

Example request body

{
  "statuses": [],
  "contractIDs": [],
  "renewedFrom": [],
  "renewedTo": [],
  "renterKey": [],
  "minNegotiationHeight": 0,
  "maxNegotiationHeight": 0,
  "minExpirationHeight": 0,
  "maxExpirationHeight": 0,
  "limit": 0,
  "offset": 0,
  "sortField": "",
  "sortDesc": false
}

Add QUIC support

Adds QUIC transport support in RHP4, enabling Sia network access through web browsers. This update also simplifies cross-language development by using a standard protocol.

Add support for RPCReplenish

Adds support RPCReplenish, simplifying management for renters with a large number of accounts.

Fixes

  • Combine update and select query when pruning sectors to force usage of exclusive database transaction
  • Fixed broken API client consensus methods
  • Fix JSON field names for V2Contract type
  • Fixed an issue with v2 contract sector roots not being reloaded
  • Limit the number of parallel SQLite connections to 1 to prevent "database is locked" errors.
  • Reduced migration time for large mostly empty volumes
  • Update module path to go.sia.tech/hostd/v2

v2.1.0-beta.3

27 Mar 05:13
v2.1.0-beta.3
6dad961
Compare
Choose a tag to compare
v2.1.0-beta.3 Pre-release
Pre-release

Features

  • The RHP4 port can now be set using the -rhp4 flag.
  • Added Prometheus support to [GET] /syncer/peers

Add endpoints for querying V2 contracts

Adds two new endpoints for querying V2 contracts

[GET] /v2/contracts/:id

Returns a single V2 contract by its ID

[POST] /v2/contracts

Queries a list of contracts with optional filtering

Example request body

{
  "statuses": [],
  "contractIDs": [],
  "renewedFrom": [],
  "renewedTo": [],
  "renterKey": [],
  "minNegotiationHeight": 0,
  "maxNegotiationHeight": 0,
  "minExpirationHeight": 0,
  "maxExpirationHeight": 0,
  "limit": 0,
  "offset": 0,
  "sortField": "",
  "sortDesc": false
}

Add QUIC support

Adds QUIC transport support in RHP4, enabling Sia network access through web browsers. This update also simplifies cross-language development by using a standard protocol.

Add support for RPCReplenish

Adds support RPCReplenish, simplifying management for renters with a large number of accounts.

Fixes

  • Combine update and select query when pruning sectors to force usage of exclusive database transaction
  • Fixed broken API client consensus methods
  • Fix JSON field names for V2Contract type
  • Fixed an issue with v2 contract sector roots not being reloaded
  • Update module path to go.sia.tech/hostd/v2

v2.1.0-beta.2

11 Mar 18:41
v2.1.0-beta.2
921421f
Compare
Choose a tag to compare
v2.1.0-beta.2 Pre-release
Pre-release

Features

  • Added Prometheus support to [GET] /syncer/peers

Add endpoints for querying V2 contracts

Adds two new endpoints for querying V2 contracts

[GET] /v2/contracts/:id

Returns a single V2 contract by its ID

[POST] /v2/contracts

Queries a list of contracts with optional filtering

Example request body

{
  "statuses": [],
  "contractIDs": [],
  "renewedFrom": [],
  "renewedTo": [],
  "renterKey": [],
  "minNegotiationHeight": 0,
  "maxNegotiationHeight": 0,
  "minExpirationHeight": 0,
  "maxExpirationHeight": 0,
  "limit": 0,
  "offset": 0,
  "sortField": "",
  "sortDesc": false
}

Add QUIC support

Adds QUIC transport support in RHP4, enabling Sia network access through web browsers. This update also simplifies cross-language development by using a standard protocol.

Add support for RPCReplenish

Adds support RPCReplenish, simplifying management for renters with a large number of accounts.

Fixes

  • Fixed broken API client consensus methods
  • Fixed an issue with v2 contract sector roots not being reloaded
  • Update module path to go.sia.tech/hostd/v2

v2.1.0-beta.1

01 Mar 00:25
v2.1.0-beta.1
d3dea27
Compare
Choose a tag to compare
v2.1.0-beta.1 Pre-release
Pre-release

Features

  • Add support for RPCReplenish, simplifying management for renters with a large number of accounts.

Add endpoints for querying V2 contracts

Adds two new endpoints for querying V2 contracts

[GET] /v2/contracts/:id

Returns a single V2 contract by its ID

[POST] /v2/contracts

Queries a list of contracts with optional filtering

Example request body

{
  "statuses": [],
  "contractIDs": [],
  "renewedFrom": [],
  "renewedTo": [],
  "renterKey": [],
  "minNegotiationHeight": 0,
  "maxNegotiationHeight": 0,
  "minExpirationHeight": 0,
  "maxExpirationHeight": 0,
  "limit": 0,
  "offset": 0,
  "sortField": "",
  "sortDesc": false
}

Add QUIC support

Adds QUIC transport support in RHP4, enabling Sia network access through web browsers. Simplifies cross-language development by using a standard protocol.

Fixes

  • Fixed broken API client consensus methods
  • Fixed an issue with v2 contract sector roots not being reloaded

v2.0.4

24 Feb 23:10
v2.0.4
4094916
Compare
Choose a tag to compare

Fixes

  • Fixed decoding error on RHP3 account id type
  • Update core and coreutils dependencies to v0.10.1 and v0.11.1 respectively
  • Fixed an issue where the syncer would stop until restart