Skip to content

OANr v1.1.0 Release

Compare
Choose a tag to compare
@lyj729047457 lyj729047457 released this 14 Jan 18:34
· 81 commits to master since this release
44aef6d

OANr v1.1.0 Release Note

This release is a highly recommended update.

This release includes log module upgrade, some enhancements and some bug fixes. This release requires configuration update, please read the Migration guide before upgrading.

Features

  • Upgrade log module
    • runtime-changeable log configuration
    • Logs compression

Enhancements

  • Enhanced launch script
  • Enhanced sync static printing
  • Enhanced p2p/sync performance
  • Reduced cpu usage of p2p threads
  • Reduced debug log printing
  • Add support for avm transactions in estimate_gas

Changes

  • Two release packages for Ubuntu 16.04 and 18.04

Bug fix:

  • Fixed a bug that the node may stuck due to special fvm txs.
  • Fixed a bug that the node may stop syncing due to block error.
  • Fixed a bug that cannot run binary file without specified config file or spec file.
  • Fixed hash rate calculation for Unity.

Migration guide:

The OANr v1.1.0 is compatible with the database of v1.0.3 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:

  • New log module brings a new configuration and a new config file.

    • log config in mainnet.toml:
    [log]
    config = "log_config.yaml"
    • log config file log_config.yaml
      Here is the example
  • Add back option sync_from_boot_nodes_only

[network]
sync_from_boot_nodes_only = false

To remove:

The following configurations are no longer supported:

  • config:
[account]
fast_signing

[log]
no_color
level
targets
log_file