Releases: SiaFoundation/hostd
v2.3.0
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
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
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
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
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
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
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
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
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
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