Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was created automatically. Merging it will finalize the changelog for 2.0.0
Breaking Changes
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
Phase 1 - Allow Height
513400
(March 10th, 2025)Phase 2 - Require Height
526000
(June 6th, 2025)Switch to
core
consensusRemoves 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.Features
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