Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare release 2.0.0 #506

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

chore: prepare release 2.0.0 #506

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Nov 18, 2024

This PR was created automatically. Merging it will finalize the changelog for 2.0.0

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.

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
  • Move RHP2 and RHP3 settings into the config manager to be consistent with RHP4

@github-actions github-actions bot force-pushed the release branch 2 times, most recently from 6af9fc8 to 5c2ac59 Compare November 19, 2024 12:11
@github-actions github-actions bot changed the title chore: prepare release 1.1.3 chore: prepare release 2.0.0 Nov 20, 2024
@github-actions github-actions bot force-pushed the release branch 7 times, most recently from d3110dc to 9767541 Compare November 26, 2024 15:36
@github-actions github-actions bot force-pushed the release branch 6 times, most recently from aaed7d7 to 2202fb9 Compare December 10, 2024 15:45
@github-actions github-actions bot force-pushed the release branch 11 times, most recently from 0df286c to 146eadf Compare December 18, 2024 08:33
@github-actions github-actions bot force-pushed the release branch 3 times, most recently from 885ba05 to 65c010f Compare December 20, 2024 16:54
@github-actions github-actions bot force-pushed the release branch 3 times, most recently from 83b554d to 27c4db6 Compare December 21, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants