Releases: SiaFoundation/hostd
v2.0.0-beta.1
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
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
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
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
tosyncer
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
v1.1.2
Changed
- Migrated sectors are included in volume writes (#395)
- Timeout was increased when writing large merkle proofs for slow connections (#408)
- Max collateral no longer auto-calculates and is visible in "Basic" pricing mode (#421)
Fixed
- Fixed an error when renters attempted to trim a large number of sectors from a contract #410
- Fixed the calculation for unconfirmed transactions (#415)
- Fixed an issue where transaction information would not show when clicking a transaction in the wallet (#416)
hostd
will no longer crash on startup if the explorer is unavailable or misconfigured (#430)
v1.1.1
v1.1.1-beta.2
Changed
- Increased timeout when writing RHP2 write Merkle proofs (#408)
- Max collateral is now visible in basic configuration mode (#421)
- Basic configuration mode no longer sets certain fields in the background (#416)
- Clarified volume delete toast message (#416)
- Migrations will now count towards volume write metrics (#395)
Fixed
v1.1.1-beta.1
Changed
- Increased timeout when writing RHP2 write Merkle proofs (#408)
- Max collateral now has a field-specific option to auto-calculate its value (#416)
- Basic configuration mode no longer sets certain fields in the background (#416)
- Clarified volume delete toast message (#416)
- Migrations will now count towards volume write metrics (#395)
Fixed
v1.1.0
Added
- Users can now pin their prices to various currencies. When enabled, prices will be automatically updated to match the current exchange rate. (#316, #379)
- hostd now has an additional config section for explorer data (#316)
- Users can configure any explorer URL as long as it follows the hostd explorer spec or turn off explorer data entirely
- This is only used for price pinning currently but will be expanded in the future for supplemental data in other areas
- OpenBSD support to disk utils (#365) OpenBSD cannot be fully supported until we finish migrating to
core
consensus - Toast notifications can now be dismissed. (#354)
Changed
- New volumes will no longer be filled with random data (#369)
- The host will now include its release version in its settings (e.g.,
hostd v1.1.0-beta.2
) (#353)
Fixed
- Read/write errors are standardized to
ErrSectorNotFound
,ErrNotEnoughStorage
, orErrHostInteralError
instead of exposing the system error (#390) - The peer dialog now accepts IPv6 addresses (#394)
- The configuration panel is now centered on larger screens. (#354)
- Removed a race condition between the consensus and tpool (#387, #391)
v1.1.0-beta.2
Added
- Users can now pin their prices to various currencies (#316, #379)
- hostd now has an additional config section for explorer data (#316)
- Users can configure any explorer URL as long as it follows the hostd explorer spec or turn off explorer data entirely
- This is only used for price pinning currently but will be expanded in the future for supplemental data in other areas
Changed
- The host will now include its release version in its settings (e.g.,
hostd v1.1.0-beta.2
) (#353).- This will enable us to debug version-specific issues easier.
- Volumes will no longer fill with random data when initializing (#369)
Fixed
- Fixed a slight race between the transaction pool and wallet when releasing locked inputs (#387)