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 0.9.0 #207

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

chore: prepare release 0.9.0 #207

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 19, 2024

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

Breaking Changes

Add Merkle Proof Basis to UTXO API Responses

Changes the response to include the Merkle proof basis for the following endpoints:

  • [GET] /addresses/:address/outputs/siacoin
  • [GET] /addresses/:address/outputs/siafund
  • [GET] /wallets/:id/outputs/siacoin
  • [GET] /wallets/:id/outputs/siafund
{
    "basis": {
        "height": 1,
        "id": "f362385eea61f81627f283a31af9faf6417fbb88d53b794639a34e18515996e9"
    },
    "outputs": [
        {
            "id": "ed556177482e70822a5dcad9343efb51998425884788415349bef8eba7e063ae",
            "stateElement": {
            "leafIndex": 3,
            "merkleProof": [
                "01048fc792904f156844a5524671304d3a020861da144afa4acc6553db63c1fd",
                "33efdfaf9bb212842292ab6f298c454e1b3d412aa7beb7efdccdfccf09f5b4ee",
                "102345919e408540d240460b0d84aa2f6da9a3d8f74765fd7c6daae6e46dd7f3"
            ]
            },
            "siacoinOutput": {
                "value": "500000000000000000000000",
                "address": "fbfc3d034b1eb45f63e0087571ec1f3028a9a2f8c180381d47713e6112467d91f474059476f2"
            },
            "maturityHeight": 0
        }
    ]
}

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

Use standard locations for application data

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

Linux, FreeBSD, OpenBSD

  • Configuration: /etc/walletd/walletd.yml
  • Data directory: /var/lib/walletd

macOS

  • Configuration: ~/Library/Application Support/walletd.yml
  • Data directory: ~/Library/Application Support/walletd

Windows

  • Configuration: %APPDATA%\SiaFoundation\walletd.yml
  • Data directory: %APPDATA%\SiaFoundation\walletd

Docker

  • Configuration: /data/walletd.yml
  • Data directory: /data

Features

  • Log startup errors to stderr

Add transaction construction API

Adds two new endpoints to construct transactions. This combines and simplifies the existing fund flow for simple send transactions.

See API docs for request and response bodies

Fixes

  • Added a test for migrations to ensure consistency between database schemas

@github-actions github-actions bot changed the title chore: prepare release 0.8.1 chore: prepare release 0.9.0 Dec 21, 2024
@github-actions github-actions bot force-pushed the release branch 4 times, most recently from 0742c2f to f5d430d Compare January 9, 2025 16:58
@github-actions github-actions bot force-pushed the release branch 6 times, most recently from c83cb98 to c535ac7 Compare January 16, 2025 18:39
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