Skip to content

Releases: SiaFoundation/hostd

v2.0.2-beta.1

15 Jan 23:54
v2.0.2-beta.1
deb74a2
Compare
Choose a tag to compare
v2.0.2-beta.1 Pre-release
Pre-release

Fixes

  • Add missing database index for migrated nodes
  • Fixed an issue with contracts sometimes being rejected if one of their parent transactions was confirmed in an earlier block

v2.0.1

13 Jan 18:51
v2.0.1
f0b7116
Compare
Choose a tag to compare

Breaking Changes

  • Remove RHP Session endpoints
  • Switched Docker base image from scratch to debian:bookworm-slim

Combined Mainnet and Testnet Binaries

This changes hostd to support multiple networks from a single binary. Instead of needing to download the Zen specific binary, users can switch networks through the YAML config or a CLI flag: --network=zen.

This does have some broader implications. The environment variables and default ports have also been combined. Users running both Mainnet and Zen nodes will need to manually change ports in their config files.

Removed Environment Variables
  • HOSTD_ZEN_SEED -> HOSTD_WALLET_SEED
  • HOSTD_ZEN_API_PASSWORD -> HOSTD_API_PASSWORD
  • HOSTD_ZEN_LOG_PATH -> HOSTD_LOG_FILE_PATH

Renamed Environment Variables

Some of the environment variable names have been renamed for better consistency between renterd, walletd, and hostd. If your install was using environment variables for configuration, they may need to be updated. The preferred way to configure hostd is a YAML config file.

  • HOSTD_SEED -> HOSTD_WALLET_SEED
  • HOSTD_LOG_FILE -> HOSTD_LOG_FILE_PATH

Support V2 Hardfork

The V2 hardfork is scheduled to modernize Sia's consensus protocol, which has been untouched since Sia's mainnet launch back in 2014, and improve accessibility of the storage network. To ensure a smooth transition from V1, it will be executed in two phases. Additional documentation on upgrading will be released in the near future.

V2 Highlights
  • Drastically reduces blockchain size on disk
  • Improves UTXO spend policies - including HTLC support for Atomic Swaps
  • More efficient contract renewals - reducing lock up requirements for hosts and renters
  • Improved transfer speeds - enables hot storage
Phase 1 - Allow Height
  • Activation Height: 513400 (March 10th, 2025)
  • New Features: V2 transactions, contracts, and RHP4
  • V1 Support: Both V1 and V2 will be supported during this phase
  • Purpose: This period gives time for integrators to transition from V1 to V2
  • Requirements: Users will need to update to support the hardfork before this block height
Phase 2 - Require Height
  • Activation Height: 526000 (June 6th, 2025)
  • New Features: The consensus database can be trimmed to only store the Merkle proofs
  • V1 Support: V1 will be disabled, including RHP2 and RHP3. Only V2 transactions will be accepted
  • Requirements: Developers will need to update their apps to support V2 transactions and RHP4 before this block height

Switch to core consensus

Removes the last legacy code from siad. Switching between Mainnet and Testnet can now be done with a CLI flag e.g. --network=zen. This will require hosts to resync the blockchain. Refrain from upgrading if contracts are about to expire.

Use standard locations for application data

Uses standard locations for application data instead of the current directory. This brings hostd in line with other system services and makes it easier to manage application data.

Linux, FreeBSD, OpenBSD
  • Configuration: /etc/hostd/hostd.yml
  • Data directory: /var/lib/hostd
macOS
  • Configuration: ~/Library/Application Support/hostd.yml
  • Data directory: ~/Library/Application Support/hostd
Windows
  • Configuration: %APPDATA%\SiaFoundation\hostd.yml
  • Data directory: %APPDATA%\SiaFoundation\hostd
Docker
  • Configuration: /data/hostd.yml
  • Data directory: /data

Features

  • Attempt to upgrade existing configs instead of exiting

Add RHP4 support

RHP4 is the next generation of renter-host protocol for the Sia storage network. It dramatically increases performance compared to RHP3, improves contract payouts, reduces collateral lockup, and enables features necessary for light clients. The new protocol will be available and activated starting at block height 513400 (March 10th, 2025).

Refactor Sector Management

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Fixes

  • Automate changelog generation
  • Fixed a major speed regression when uploading data on larger nodes
  • Fixed a panic updating metrics when a contract formation is reverted
  • Fixed an issue with price pinning not updating prices
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4
  • The default number of registry entries is now 0. The registry is deprecated and will not be supported after the V2 hardfork.
  • Fixed an issue with alert content not showing in the UI

v2.0.0-beta.5

11 Jan 19:29
v2.0.0-beta.5
2a49c63
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release

Breaking Changes

  • Remove RHP Session endpoints
  • Switched Docker base image from scratch to debian:bookworm-slim

Support V2 Hardfork

The V2 hardfork is scheduled to modernize Sia's consensus protocol, which has been untouched since Sia's mainnet launch back in 2014, and improve accessibility of the storage network. To ensure a smooth transition from V1, it will be executed in two phases. Additional documentation on upgrading will be released in the near future.

V2 Highlights
  • Drastically reduces blockchain size on disk
  • Improves UTXO spend policies - including HTLC support for Atomic Swaps
  • More efficient contract renewals - reducing lock up requirements for hosts and renters
  • Improved transfer speeds - enables hot storage
Phase 1 - Allow Height
  • Activation Height: 513400 (March 10th, 2025)
  • New Features: V2 transactions, contracts, and RHP4
  • V1 Support: Both V1 and V2 will be supported during this phase
  • Purpose: This period gives time for integrators to transition from V1 to V2
  • Requirements: Users will need to update to support the hardfork before this block height
Phase 2 - Require Height
  • Activation Height: 526000 (June 6th, 2025)
  • New Features: The consensus database can be trimmed to only store the Merkle proofs
  • V1 Support: V1 will be disabled, including RHP2 and RHP3. Only V2 transactions will be accepted
  • Requirements: Developers will need to update their apps to support V2 transactions and RHP4 before this block height

Switch to core consensus

Removes the last legacy code from siad. Switching between Mainnet and Testnet can now be done with a CLI flag e.g. --network=zen. This will require hosts to resync the blockchain. Refrain from upgrading if contracts are about to expire.

Use standard locations for application data

Uses standard locations for application data instead of the current directory. This brings hostd in line with other system services and makes it easier to manage application data.

Linux, FreeBSD, OpenBSD
  • Configuration: /etc/hostd/hostd.yml
  • Data directory: /var/lib/hostd
macOS
  • Configuration: ~/Library/Application Support/hostd.yml
  • Data directory: ~/Library/Application Support/hostd
Windows
  • Configuration: %APPDATA%\SiaFoundation\hostd.yml
  • Data directory: %APPDATA%\SiaFoundation\hostd
Docker
  • Configuration: /data/hostd.yml
  • Data directory: /data

Features

  • Attempt to upgrade existing configs instead of exiting

Add RHP4 support

RHP4 is the next generation of renter-host protocol for the Sia storage network. It dramatically increases performance compared to RHP3, improves contract payouts, reduces collateral lockup, and enables features necessary for light clients. The new protocol will be available and activated starting at block height 513400 (March 10th, 2025).

Refactor Sector Management

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Fixes

  • Automate changelog generation
  • Fixed a panic updating metrics when a contract formation is reverted
  • Fixed an issue with price pinning not updating prices
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4
  • The default number of registry entries is now 0. The registry is deprecated and will not be supported after the V2 hardfork.

v2.0.0-beta.4

11 Jan 17:28
v2.0.0-beta.4
f368cce
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

Breaking Changes

  • Remove RHP Session endpoints
  • Switched Docker base image from scratch to debian:bookworm-slim

Support V2 Hardfork

The V2 hardfork is scheduled to modernize Sia's consensus protocol, which has been untouched since Sia's mainnet launch back in 2014, and improve accessibility of the storage network. To ensure a smooth transition from V1, it will be executed in two phases. Additional documentation on upgrading will be released in the near future.

V2 Highlights
  • Drastically reduces blockchain size on disk
  • Improves UTXO spend policies - including HTLC support for Atomic Swaps
  • More efficient contract renewals - reducing lock up requirements for hosts and renters
  • Improved transfer speeds - enables hot storage
Phase 1 - Allow Height
  • Activation Height: 513400 (March 10th, 2025)
  • New Features: V2 transactions, contracts, and RHP4
  • V1 Support: Both V1 and V2 will be supported during this phase
  • Purpose: This period gives time for integrators to transition from V1 to V2
  • Requirements: Users will need to update to support the hardfork before this block height
Phase 2 - Require Height
  • Activation Height: 526000 (June 6th, 2025)
  • New Features: The consensus database can be trimmed to only store the Merkle proofs
  • V1 Support: V1 will be disabled, including RHP2 and RHP3. Only V2 transactions will be accepted
  • Requirements: Developers will need to update their apps to support V2 transactions and RHP4 before this block height

Switch to core consensus

Removes the last legacy code from siad. Switching between Mainnet and Testnet can now be done with a CLI flag e.g. --network=zen. This will require hosts to resync the blockchain. Refrain from upgrading if contracts are about to expire.

Use standard locations for application data

Uses standard locations for application data instead of the current directory. This brings hostd in line with other system services and makes it easier to manage application data.

Linux, FreeBSD, OpenBSD
  • Configuration: /etc/hostd/hostd.yml
  • Data directory: /var/lib/hostd
macOS
  • Configuration: ~/Library/Application Support/hostd.yml
  • Data directory: ~/Library/Application Support/hostd
Windows
  • Configuration: %APPDATA%\SiaFoundation\hostd.yml
  • Data directory: %APPDATA%\SiaFoundation\hostd
Docker
  • Configuration: /data/hostd.yml
  • Data directory: /data

Features

  • Attempt to upgrade existing configs instead of exiting

Add RHP4 support

RHP4 is the next generation of renter-host protocol for the Sia storage network. It dramatically increases performance compared to RHP3, improves contract payouts, reduces collateral lockup, and enables features necessary for light clients. The new protocol will be available and activated starting at block height 513400 (March 10th, 2025).

Refactor Sector Management

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Fixes

  • Automate changelog generation
  • Fixed a panic updating metrics when a contract formation is reverted
  • Fixed an issue with price pinning not updating prices
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4
  • The default number of registry entries is now 0. The registry is deprecated and will not be supported after the V2 hardfork.

v2.0.0-beta.3

08 Jan 21:59
v2.0.0-beta.3
d804105
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

Breaking Changes

  • Remove RHP Session endpoints

Support V2 Hardfork

The V2 hardfork is scheduled to modernize Sia's consensus protocol, which has been untouched since Sia's mainnet launch back in 2014, and improve accessibility of the storage network. To ensure a smooth transition from V1, it will be executed in two phases. Additional documentation on upgrading will be released in the near future.

V2 Highlights
  • Drastically reduces blockchain size on disk
  • Improves UTXO spend policies - including HTLC support for Atomic Swaps
  • More efficient contract renewals - reducing lock up requirements for hosts and renters
  • Improved transfer speeds - enables hot storage
Phase 1 - Allow Height
  • Activation Height: 513400 (March 10th, 2025)
  • New Features: V2 transactions, contracts, and RHP4
  • V1 Support: Both V1 and V2 will be supported during this phase
  • Purpose: This period gives time for integrators to transition from V1 to V2
  • Requirements: Users will need to update to support the hardfork before this block height
Phase 2 - Require Height
  • Activation Height: 526000 (June 6th, 2025)
  • New Features: The consensus database can be trimmed to only store the Merkle proofs
  • V1 Support: V1 will be disabled, including RHP2 and RHP3. Only V2 transactions will be accepted
  • Requirements: Developers will need to update their apps to support V2 transactions and RHP4 before this block height

Switch to core consensus

Removes the last legacy code from siad. Switching between Mainnet and Testnet can now be done with a CLI flag e.g. --network=zen. This will require hosts to resync the blockchain. Refrain from upgrading if contracts are about to expire.

Use standard locations for application data

Uses standard locations for application data instead of the current directory. This brings hostd in line with other system services and makes it easier to manage application data.

Linux, FreeBSD, OpenBSD
  • Configuration: /etc/hostd/hostd.yml
  • Data directory: /var/lib/hostd
macOS
  • Configuration: ~/Library/Application Support/hostd.yml
  • Data directory: ~/Library/Application Support/hostd
Windows
  • Configuration: %APPDATA%\SiaFoundation\hostd.yml
  • Data directory: %APPDATA%\SiaFoundation\hostd
Docker
  • Configuration: /data/hostd.yml
  • Data directory: /data

Features

  • Attempt to upgrade existing configs instead of exiting

Add RHP4 support

RHP4 is the next generation of renter-host protocol for the Sia storage network. It dramatically increases performance compared to RHP3, improves contract payouts, reduces collateral lockup, and enables features necessary for light clients. The new protocol will be available and activated starting at block height 513400 (March 10th, 2025).

Refactor Sector Management

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Fixes

  • Automate changelog generation
  • Fixed a panic updating metrics when a contract formation is reverted
  • Fixed an issue with price pinning not updating prices
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4
  • The default number of registry entries is now 0. The registry is deprecated and will not be supported after the V2 hardfork.

v2.0.0-beta.2

07 Jan 22:44
v2.0.0-beta.2
dc284a3
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

Breaking Changes

  • Remove RHP Session endpoints

Support V2 Hardfork

The V2 hardfork is scheduled to modernize Sia's consensus protocol, which has been untouched since Sia's mainnet launch back in 2014, and improve accessibility of the storage network. To ensure a smooth transition from V1, it will be executed in two phases. Additional documentation on upgrading will be released in the near future.

V2 Highlights
  • Drastically reduces blockchain size on disk
  • Improves UTXO spend policies - including HTLC support for Atomic Swaps
  • More efficient contract renewals - reducing lock up requirements for hosts and renters
  • Improved transfer speeds - enables hot storage
Phase 1 - Allow Height
  • Activation Height: 513400 (March 10th, 2025)
  • New Features: V2 transactions, contracts, and RHP4
  • V1 Support: Both V1 and V2 will be supported during this phase
  • Purpose: This period gives time for integrators to transition from V1 to V2
  • Requirements: Users will need to update to support the hardfork before this block height
Phase 2 - Require Height
  • Activation Height: 526000 (June 6th, 2025)
  • New Features: The consensus database can be trimmed to only store the Merkle proofs
  • V1 Support: V1 will be disabled, including RHP2 and RHP3. Only V2 transactions will be accepted
  • Requirements: Developers will need to update their apps to support V2 transactions and RHP4 before this block height

Switch to core consensus

Removes the last legacy code from siad. Switching between Mainnet and Testnet can now be done with a CLI flag e.g. --network=zen. This will require hosts to resync the blockchain. Refrain from upgrading if contracts are about to expire.

Use standard locations for application data

Uses standard locations for application data instead of the current directory. This brings hostd in line with other system services and makes it easier to manage application data.

Linux, FreeBSD, OpenBSD
  • Configuration: /etc/hostd/hostd.yml
  • Data directory: /var/lib/hostd
macOS
  • Configuration: ~/Library/Application Support/hostd.yml
  • Data directory: ~/Library/Application Support/hostd
Windows
  • Configuration: %APPDATA%\SiaFoundation\hostd.yml
  • Data directory: %APPDATA%\SiaFoundation\hostd
Docker
  • Configuration: /data/hostd.yml
  • Data directory: /data

Features

  • Attempt to upgrade existing configs instead of exiting

Add RHP4 support

RHP4 is the next generation of renter-host protocol for the Sia storage network. It dramatically increases performance compared to RHP3, improves contract payouts, reduces collateral lockup, and enables features necessary for light clients. The new protocol will be available and activated starting at block height 513400 (March 10th, 2025).

Refactor Sector Management

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Fixes

  • Automate changelog generation
  • Fixed an issue with price pinning not updating prices
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4
  • The default number of registry entries is now 0. The registry is deprecated and will not be supported after the V2 hardfork.

v2.0.0-beta.1

20 Dec 17:04
1e7c7de
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Breaking Changes

  • Remove RHP Session endpoints

Switch to core consensus

Removes the last legacy code from siad. Switching between Mainnet and Testnet can now be done with a CLI flag e.g. --network=zen. This will require hosts to resync the blockchain. Refrain from upgrading if contracts are about to expire.

Support V2 Hardfork

The V2 hardfork is scheduled to modernize Sia's consensus protocol, which has been untouched since Sia's mainnet launch back in 2014, and improve accessibility of the storage network. To ensure a smooth transition from V1, it will be executed in two phases. Additional documentation on upgrading will be released in the near future.

V2 Highlights

  • Drastically reduces blockchain size on disk
  • Improves UTXO spend policies - including HTLC support for Atomic Swaps
  • More efficient contract renewals - reducing lock up requirements for hosts and renters
  • Improved transfer speeds - enables hot storage

Phase 1 - Allow Height

  • Activation Height: 513400 (March 10th, 2025)
  • New Features: V2 transactions, contracts, and RHP4
  • V1 Support: Both V1 and V2 will be supported during this phase
  • Purpose: This period gives time for integrators to transition from V1 to V2
  • Requirements: Users will need to update to support the hardfork before this block height

Phase 2 - Require Height

  • Activation Height: 526000 (June 6th, 2025)
  • New Features: The consensus database can be trimmed to only store the Merkle proofs
  • V1 Support: V1 will be disabled, including RHP2 and RHP3. Only V2 transactions will be accepted
  • Requirements: Developers will need to update their apps to support V2 transactions and RHP4 before this block height

Features

  • Add support for RHP4
  • Attempt to upgrade existing configs instead of exiting

Refactor Sector Management

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Fixes

  • Add missing netaddress port in RHP2 settings
  • Fix contract account usage calculation
  • Fix contract metric calculation during rescan
  • Fix DDNS using invalid net address
  • Automate changelog generation

v2.0.0-alpha.4

20 Nov 19:02
v2.0.0-alpha.4
d0a0432
Compare
Choose a tag to compare
v2.0.0-alpha.4 Pre-release
Pre-release

Breaking Changes

  • Remove RHP Session endpoints

Fixes

  • Automate changelog generation
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4

v2.0.0-alpha.3

04 Sep 19:02
v2.0.0-alpha.3
dc762b8
Compare
Choose a tag to compare
v2.0.0-alpha.3 Pre-release
Pre-release

This is the third release candidate for v2 compatible hostd.

Changed

  • Mainnet and Zen binaries are now the same. You can switch between networks using the -network cli flag or in the yml config file.
  • Mainnet and Zen now share the same default ports
  • Mainnet and Zen now share the same environment variables
  • The config fields for the p2p gateway have been moved from consensus to syncer in the yml file
  • The last of the siad legacy code has been removed
  • Pending contracts are no longer included in the metrics.

Added

  • Suport for v2 transactions and file contracts
  • Pending file contract payouts are now shown in the transaction list
  • Added "Immature" balance to the wallet detail popup

Fixed

  • Fixed an edge-case causing a panic when updating contract state while migrating from v1 to v2

v2.0.0-alpha.1

01 Sep 16:47
v2.0.0-alpha.1
3a44e13
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

This is the first release candidate for the v2 compatible hostd release.

Changed

  • Mainnet and Zen binaries are now the same. You can switch between networks using the -network cli flag or in the yml config file.
  • Mainnet and Zen now share the same default ports
  • Mainnet and Zen now share the same environment variables
  • The config fields for the p2p gateway have been moved from consensus to syncer in the yml file
  • The last of the siad legacy code has been removed
  • Pending contracts are no longer included in the metrics.

Added

  • Suport for v2 transactions and file contracts
  • Pending file contract payouts are now shown in the transaction list
  • Added "Immature" balance to the wallet detail popup