The Avalanche Cortina Upgrade

Published on: 25.03.2023
The Avalanche Cortina Upgrade

The Avalanche Cortina Upgrade includes protocol optimizations that are not compatible with AvalancheGo versions < v1.10.0.

The pre-release code for the Avalanche Cortina Upgrade will be published on Monday, March 27th, 2023, and will activate at 11 A.M. ET (3 P.M. UTC) on Thursday, March 30th. It will only work on Fuji, and will exit on startup if run on Mainnet.

Cortina Upgrade protocol improvements are incompatible with AvalancheGo versions < 1.10.0. Fuji nodes must update to AvalancheGo >= v1.10.0 before activation. Mainnet nodes should wait for [email protected].

X-Chain Linearization

The X-Chain runs Avalanche Consensus, a leaderless, DAG-based protocol that allows for the concurrent processing of non-conflicting UTXOs at high throughput without establishing a total ordering of activity. The C-Chain, P-Chain, and all Avalanche Subnets, on the other hand, run Snowman++, a chain-based, totally-ordered protocol that sequences conflict-free block production without time-based slots over thousands of participants.

The existing semantics of the X-Chain prevent or significantly complicate the integration of Avalanche Warp Messaging (AWM), the addition of complex X-Chain transactions, the enablement of state syncing, and broad exchange support. AWM integration requires Snowman++ to verify the BLS Multi-Signature of incoming messages from other Avalanche Subnets. The X-Chain cannot interact with Subnets due to its DAG-based consensus.

X-Chain nodes process vertices in various orders due to partial ordering. This makes interacting with shared on-chain objects, such as exchanges, and state syncing to the tip of the network a non-trivial and error-prone problem. Legacy exchanges are unable to integrate with the current form due to the non-deterministic ordering of on-chain activity.

Cortina migrates the X-Chain to run Snowman++ consensus and operate as a totally-ordered blockchain in a process called “linearization”. When linearization begins, it will no longer be possible to add additional vertices to the DAG. Linearization is seamless and should not result in any downtime on the P-Chain, C-Chain, or any Subnets. The X-Chain will, however, be briefly inaccessible.

This migration enables Avalanche Warp Messaging integration, transaction types, state synchronization, and X-Chain trades for different Elastic Subnet coins. Migrating to a single consensus engine across the entire Avalanche Network, which reduces the size of the trusted computing base and increases the leverage of existing R&D efforts, will enable faster development and more broadly-applicable innovation.

Migration guide for integrators here that highlights all changes to the AvalancheGo APIs required to support Cortina.

Batched Delegator Rewards

Validators have the ability to charge a service fee to anyone that delegates to their node. If a validator is online for 80% of a delegation period, they receive a% of the reward. The P-Chain distributes this fee as a separate UTXO per delegation period.

Cortina has changed the way delegation fees are distributed for validators that begin staking after the Cortina Activation. Instead of sending a fee UTXO for each successful delegation period, fees are now batched during the node’s entire validation period and distributed when it is unstaked.

Cortina increases the C-Chain block gas limit to 15M gas. To avoid increasing the amount of resources required to validate the Primary Network, the gas target will remain unchanged at 15M gas per 10s.

About Avalanche

Website | Twitter

SOURCE: https://medium.com/avalancheavax/cortina-x-chain-linearization-a1d9305553f6

REQUEST AN ARTICLE

Market Stats:
BTC Dominance: 53.94%(-0.41%/24h)
ETH Dominance: 16.01%(+0.02%/24h)
Defi Market Cap: $84.22B(-5.81%/24h)
Total Market Cap: $2258.56B(-2.94%/24h)
Total Trading Volume 24h: $97.69B(-4.46%/24h)
ETH Market Cap: $361.66B
Defi to ETH Ratio: 23.29%
Defi Dominance: 3.56%
Altcoin Market Cap: $1040.27B
Altcoin Volume 24h: $55.62B
Total Cryptocurrencies: 29240
Active Cryptocurrencies: 9701
Active Market Pairs: 81438
Active Exchanges: 752
Total Exchanges: 8342
BTC: 61853.4$(0.4%/1H)
ETH: 3012.04$(0.15%/1H)
AVAX: 34.14$(0.85%/1H)
BNB: 539.03$(0.32%/1H)
MATIC: 0.67$(0.42%/1H)
FTM: 0.68$(-0.16%/1H)
ADA: 0.45$(0.53%/1H)
DOT: 6.66$(0.5%/1H)
UNI: 6.96$(0.23%/1H)
CAKE: 2.7$(0.52%/1H)
SUSHI: 0.96$(0.73%/1H)
ONE: 0.02$(0.44%/1H)