Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

EOSIO v1.8.13 Release Notes

Compare
Choose a tag to compare
@blockone-devops blockone-devops released this 12 Mar 23:34
· 8223 commits to master since this release
eb4456f

This release contains miscellaneous fixes.

Deprecation Notices

The read-only option for the read-mode parameter in nodeos has been deprecated. It is possible to achieve the same behavior with read-mode = head, p2p-accept-transactions = false, and api-accept-transactions = false. See the sub-section "Accept transactions options" below for more details.

Please refer to the Consolidated EOSIO Deprecations List for the currently active set of deprecation notices.

Changes

Exit transaction early when there is insufficient account CPU (#8678)

nodeos no longer considers a transaction for inclusion in a block in the process of being produced if the billed account(s) do not have sufficient CPU available to cover the previously estimated CPU usage of the transaction (only if a previous estimate for CPU usage is available).

Produce block immediately if resource limits are exhausted (#8680, #8682)

nodeos now immediately produces a block if either the CPU or NET usage thresholds are exceeded. This change includes a fix for dropping late blocks starting 50ms earlier than the block production window.

New options:

  • max-block-cpu-usage-threshold-us:
    Threshold (in microseconds) of CPU block production to consider block full; when accumulated CPU usage within a block is less than max-block-cpu-usage-threshold-us away from max-block-cpu-usage, the block can be produced immediately. Default value is 5000.
  • max-block-net-usage-threshold-bytes:
    Threshold (in bytes) of NET block production to consider block full; when accumulated NET usage within a block is less than max-block-net-usage-threshold-us away from max-block-net-usage, the block can be produced immediately. Default value is 1024.

Accept transactions options (#8742)

New options:

  • p2p-accept-transactions: Allow transactions received over p2p
    network to be evaluated and relayed if valid. Default is true.
  • api-accept-transactions: Allow API transactions to be evaluated
    and relayed if valid. Default is true.

Provides ability to have a read-mode = head with p2p-accept-transactions = false and api-accept-transactions = true. This combination creates an efficient API node that is not burdened with processing P2P transactions.

The same behavior of the now deprecated read-mode = read-only can be achieved with read-mode = head by setting p2p-accept-transactions = false and api-accept-transactions = false.

WARNING: Use of read-mode = irreversible now requires setting p2p-accept-transactions = false and api-accept-transactions = false to avoid assertion at startup.

Relay block early (#8705)

Improve block relaying performance when a block is from a trusted producer or if nodeos is running in light validation mode. This is achieved by relaying the block as soon as block header validation is complete (but before full block application/validation).

Other Changes

  • (#8653) Fix format message. - 1.8
  • (#8690) incoming-defer-ratio description - 1.8
  • (#8696) [1.8.x] Community PR tweaks.
  • (#8715) [1.8.x] Actions rerun fixes.
  • (#8722) Fix multiple version protocol test intermittent failure - 1.8

Disclaimer: All repositories and other materials are provided subject to this IMPORTANT notice and you must familiarize yourself with its terms. The notice contains important information, limitations and restrictions relating to our software, publications, trademarks, third-party resources, and forward-looking statements. By accessing any of our repositories and other materials, you accept and agree to the terms of the notice.