Skip to content

AionR 1.0.0 Denali Release Note Draft

Yunfei ZHA edited this page Nov 5, 2019 · 5 revisions

AionR 1.0.0 Denali Release Note

This release is a mandatory update.

This release is a milestone release and the network consensus is changing from a pure PoW consensus to Unity, a hybrid (PoW + PoS) consensus. New features such as AVM upgrade to v2.0, meta-transaction, beacon hash, and runtime multi-AVM version support are also part of the release. This release requires configuration update, please read the Migration guide before upgrading.

Features

  • Unity consensus protocol hard-fork at block 4721900

    • Interleaving PoW and PoS blocks
    • Accumulated total difficulty from both PoW and PoS blocks
    • Staking contracts support
    • PoS block signing API
  • AVM 2.0 integration with runtime multi AVM versions support

  • Others

    • Transactions with beacon hash
    • Meta-transaction

Enhancements

  • Improved kernel modularity for better performance in high concurrency
  • Enhanced p2p connection and better syncing strategy
  • Enhanced transaction storage and block production

Bug fix:

A few security risks are fixed

Changes:

  • Rebrand from Aion to OAN
  • Aion Desktop wallet is no longer supported. Instead, we recommend users to use the new Aion staking tool for account management.
  • Mining with stratum protocol (through TCP long connection) is no longer supported. Instead, we recommend users to mine with Aion mining pool tools.

Migration guide:

The AionR 1.0.0 is compatible with the database of 0.2.6-1 or earlier versions. You can run this new version with existing data. A few changes to note if you wish to migrate your previous configuration settings (taking the main-net for example):

To add:

The Unity consensus protocol brings two new configurations.

  • stake_contract in mainnet.toml:
[account]
stake_contract = "0xa056337bb14e818f3f53e13ab0d93b6539aa570cba91ce65c716058241989be9"
  • UnityUpdate in mainnet.json:
{ ... "params": { ... "unityUpdate": "4721900" }, ... }

To change:

  • In mainnet.json, switch from POWEquihashEngine to UnityEngine:
{ ... "engine": { "UnityEngine": { "params": { ... } } }, ... }
  • In mainnet.toml, change the name of the option fast_unlock to fast_signing (if applicable)

To remove:

The following configurations are no longer supported:

  • cmd:
    • daemon
  • config:
    • no_seal_check
    • reseal_max_period
    • reseal_on_txs
    • no_persistent_txqueue
    • options related to [stratum]
    • options related to [wallet]
    • sync_boot_nodes_only (temporarily disabled. Will add back soon)
    • black_ip_list (temporarily disabled. Will add back soon)
Clone this wiki locally