Skip to content

@blockone-devops blockone-devops released this Apr 29, 2019 · 140 commits to master since this release

This release has been superseded by version 1.8.0-rc2. Please use the later version instead of v1.8.0-rc1.

This is a RELEASE CANDIDATE for version 1.8.0. The latest STABLE release is v1.7.3.

This release includes an EOSIO consensus upgrade which necessitates a replay from genesis. Please see the "Consensus Protocol Upgrades" section for details and a link to a guide with important upgrade instructions.

A blog post providing more information can be found here.

Deprecation and Removal Notices

Platforms dropped

Support for the following operating systems has been dropped:

  • Mint 18
  • Fedora 27
  • Amazon Linux 1
  • macOS versions earlier than 10.14 such as High Sierra

bnet plugin removed

The bnet_plugin was deprecated in the v1.7.1 release and has now been removed with this release. The net_plugin is the only supported plugin enabling nodeos instances to communicate with one another on the peer-to-peer network.

Users of the irreversible mode feature of the bnet_plugin should switch to the new irreversible read-mode support added to the core of nodeos.

For more information about the new irreversible read-mode, please see below.

Docker files removed

Several months ago we deprecated support for EOSIO Docker images. With this release, we have now removed the Docker folder and its associated files.

Mongo DB plugin deprecated

The Mongo DB plugin has been deprecated and will be removed from the EOSIO source in a future release. Users are recommended to switch to non-deprecated history solutions such as the ones built off of the state_history_plugin.


Consensus Protocol Upgrades

This release adds the foundations needed to support consensus protocol upgrades (#6831, #7167). PR #6831 also introduced the consensus protocol upgrade feature (or just protocol feature for short) with the codename PREACTIVATE_FEATURE which, after activation, enables operators of an EOSIO blockchain to use an on-chain process to activate further protocol features. For example, after activation of PREACTIVATE_FEATURE, block producers of an EOSIO chain could deploy the new system contract from eosio.contracts v1.7.0-rc1 and then use a standard eosio.msig proposal to activate any of the other protocol features supported by this release.

This release introduces an initial set of protocol features that can be activated individually:

  2. REPLACE_DEFERRED (#6997, #7185)
  3. NO_DUPLICATE_DEFERRED_ID (#7072, #7173, activation depends on REPLACE_DEFERRED)
  8. FORWARD_SETCODE (#7109)
  9. GET_SENDER (#7111)
  10. RAM_RESTRICTIONS (#7131)

Support for consensus protocol upgrades required extensive changes to nodeos which force a replay from genesis. Please see this guide for how to upgrade from v1.7.x and earlier to v1.8.x as well as important notes to be aware of regarding the transition. In particular, the guide includes special instructions that block producers of EOSIO networks should be aware of before upgrading their nodes to carry out a smooth transition for the network when activating the first protocol feature.

Irreversible read mode

A new read-mode has been enabled in nodeos: irreversible (#6624, #6842, #6843). When nodeos is configured to be in irreversible read mode, it will still track the most up-to-date blocks in the fork database, but the state will lag behind the current best head block (referred to as the fork DB head in the output of cleos get info) to always reflect the state of the last irreversible block. The irreversible mode behaves in a similar manner to read-only mode in that the node will not accept transactions pushed to it through the chain API.

Support has been added to easily switch back and forth between irreversible mode and the other modes. When switching from speculative mode to irreversible mode, the state will be rolled back to that of the last irreversible block and the reversible blocks database will be deleted. When switching from irreversible mode to speculative mode, nodeos will attempt to recover the reversible blocks from the fork database and re-apply those blocks to get the state back to the one corresponding to the best available head block.

The create_snapshot RPC of the producer API has been modified to only return the path to the finalized snapshot when the block they represent becomes irreversible (#7119). These changes protect the user from generating an invalid snapshot. When a request for a snapshot is received through the API, nodeos will now write the snapshot data to a temporary file, create an internal tracking record, and then the RPC will just wait until the snapshot is finalized. As this block becomes irreversible OR the real last irreversible block passes it on a competing fork, nodeos will either rename the temporary file to the expected snapshot name and return the path to the caller OR delete the temporary file and return an error indicating that the snapshot was unusable. When in irreversible read mode, the create_snapshot RPC will immediately return the finalized path to the snapshot after the snapshot is written to disk (#7172).

Changes to transaction traces

The structure of transaction traces has significantly changed (#7044, #7108). All the action traces are now stored within the transaction trace in a flat format. The legacy tree structure can be recovered by using the new action_ordinal and closest_unnotified_ancestor_action_ordinal fields added to action traces. However, clients are encouraged to instead consider an alternative tree representation of the action traces: the creation tree. The creation tree solves an issue of ambiguities that may exist in the legacy tree structure (see issue #6897 for details). Clients can construct the creation tree from the flat set of action traces by using the new action_ordinal and creator_action_ordinal fields added to action traces. Additionally, the transaction trace may optionally contain an account_ram_delta field which can enable block explorers to properly track the RAM usage changes due to the scheduling and retirement of deferred transactions.

The existing push_transaction and push_transactions RPCs of the chain API have been modified to return a transaction trace JSON that is designed to remain backwards compatible with existing consumers of those APIs. The transaction trace will still include the newly added fields; however, it will be re-assembled into the legacy tree structure that the client may expect.

Clients are encouraged to switch over to the new send_transaction RPC of the chain API which does the same thing as push_transaction except that it returns the new flat structure rather than spending the time to convert the output back into the legacy format.

The changes to the transaction trace structure will likely affect any nodeos plugin that depends on them. In addition, PR #7150 has modified the interface of the applied_transaction signal, which means existing nodeos plugins that use this signal need to be updated to continue to compile and function correctly. The state_history_plugin, as well as the deprecated history_plugin and mongo_db_plugin, have already been updated to support these changes.

Updates to state history plugin

The state history plugin was introduced as an alpha product in EOSIO v1.5.0. As part of being alpha, the release notes mentioned how it was likely for the state history plugin to substantially change prior to its final release. This release makes breaking changes both to the structure of the files that the state history plugin stores on disk as well as the WebSocket API the clients use to retrieve traces and table deltas from the state history plugin (#7113, #7139, #7150, #7163).

With this release, the state history plugin has been promoted to a stable product that is ready for use in production environments. Future changes to the APIs and data structures will leverage the versioning system baked into the state history plugin to avoid the need to replay from genesis in order to maintain the existing history, assuming consumers can tolerate not having access to any newly tracked data for the part of the history preceding the nodeos upgrade. If consumers cannot tolerate discrepancies in the availability of data throughout the history of the blockchain, then the node operator would still need to replay from genesis for each substantial upgrade of the state history plugin.

Build script changes (#7107)

The build scripts now support an optional parameter (-P) which will try to pin the versions of the compiler, C++ standard library, Boost library, and a few other dependent libraries that could have an impact on the ability for nodeos to access the shared memory database created by prior versions. By pinning these critical dependencies, which requires building them from source, a user can ensure that a nodeos binary rebuilt after an operating system upgrade can still access existing shared memory databases. When switching from an unpinned build to a pinned build or vice versa, it is best to delete the build subdirectory in the EOSIO source root directory.

The build scripts will detect if prior built dependencies exist and try to use them rather than rebuild, but this can lead to compiling/linking problems if the dependencies were built with a different version of the compiler or standard library. If this problem is encountered, one solution is to clean up all the old dependencies that were built. But the simplest and safest solution is to pass the new -f parameter to the build script which will force the build of all the relevant dependencies (this can add significant time to the overall build process).

The build scripts will no longer build the deprecated Mongo DB plugin by default. The new -m parameter can be passed to the build script to build the Mongo DB plugin and install any of its needed dependencies.

Other changes

  • (#6815) Avoid duplicate connection error
  • (#6818) Unused comment removal
  • (#6814) appbase: Block (queue) exit signals during shutdown
  • (#6825) Docker: Add missed build deps and packages deps for libusb/libcurl/pk…
  • (#6819) Support --genesis-json argument with --snapshot argument
  • (#6840) quick pipeline fixes
  • (#6836) Remove *.cmake from .gitignore
  • (#6841) Support for amazonlinux2
  • (#6833) GCC defect fixes.
  • (#6846) Small console optimization
  • (#6852) Fix testee tester brew
  • (#6855) enable expiring data in mongodb for mongodb_plugin
  • (#6857) appbase: rework blocking (queuing) exit signals during shutdown
  • (#6854) database memory locking & hugepage support
  • (#6853) Stable application execution priority queue
  • (#6869) appbase sync
  • (#6872) Signature cpu usage - dev
  • (#6883) Consolidated Security Fixes for 1.7.0-rc2
  • (#6888) Two small compiler warning fixes
  • (#6825) Docker: Add missed build deps and packages deps for libusb/libcurl/pk…
  • (#6899) Add example logging.json
  • (#6902) Add back integration_test contract; fixes nodeos_under_min_avail_ram_lr_test
  • (#6904) Fix bug in get_block of chain_plugin that would lead to unnecessary failures for some block numbers
  • (#6829) cleos get transaction_id enhancements
  • (#6893) Move json::to_string response processing to http thread pool
  • (#6911) Fix db_modes_test to not use http
  • (#6914) Fix empty strings in again
  • (#6919) Pipeline upgrades for 2-1
  • (#6920) pipeline changes
  • (#6925) Added EOS Rio's Hyperion History API to
  • (#6936) Add Chronicle to and update disclaimer
  • (#6934) Remove unused variable
  • (#6942) support heterogeneous version tests
  • (#6962) Update appbase to shutdown fix
  • (#6968) remove eosio-wat2wasm and other WAVM tools from being built
  • (#6963) Created test scripts with xUnit, auto-scaling parallelism, and empty test detection; and added them to pipeline
  • (#6975) Fix txn_test_gen_plugin crash on multiple create_test_accounts calls - develop
  • (#6976) Add strand to protect internals of asio - develop
  • (#6978) Issue 6940 Build script uninstallation instructions added
  • (#6985) Remove setting CMAKE_OSX_SYSROOT
  • (#6990) Optimize mongodb plugin
  • (#6993) readme, license, contrib
  • (#6989) Add Integration Catchup Test
  • (#7017) [XC 10.2] Remove boost::thread usage from mongo plugin
  • (#7019) [XC 10.2] disable asio's experimental string_view usage on macos
  • (#7022) [XC 10.2] fc sync - Remove fc::shared_ptr & refactor logging code to not use it
  • (#7024) [XC 10.2] chainbase sync - Remove boost thread include and unused typedef
  • (#7035) Fix Catchup Test
  • (#7036) [XC 10.2] Remove final boost thread references in cmake & change macos boost build
  • (#6915) Turning off bnet long running tests
  • (#7041) Fix for close() called while async_read in-flight - develop
  • (#7043) Use shared_future - develop
  • (#7056) Add git submodule regression check
  • (#7059) Add back in Docker Hub deprecation that was accidentally removed - develop
  • (#6992) Name application threads
  • (#7068) Make the submodule regression check more robust
  • (#7063) Removed Deprecated Operating Systems from Buildkite Pipelines
  • (#7076) Fix for Catchup long running test exhausting memory
  • (#7079) Increase timeout for nodeos_startup_catchup_lr_test
  • (#7078) Removed Remaining bnet Tests
  • (#7083) Prevent core dump by catching exception
  • (#7075) Remove unused skip_flag in base_tester::produce_block
  • (#7064) fix rpm command for uninstalling eosio
  • (#7086) Fix crash #7084 - develop
  • (#6878) update the bios boot tutorial python script to create the eosio.rex account as well update the bios boot tutorial python script to create the eosio.rex account as well
  • (#7115) #6980: fix memory leak when --trace-history not used
  • (#7125) Revert EXCLUDE_FROM_ALL
  • (#7126) add libicu as dependency for .deb packages
  • (#7047) Remove unwinding frames from WAVM code generation
  • (#7128) sync fc: remove last remnants of boost mutex usage
  • (#7135) remove bnet_plugin
  • (#7137) Fix Catchup Test Validation
  • (#7135) remove bnet_plugin
  • (#7127) bump libyubihsm library to 2.0.1
  • (#7133) Limit ubuntu versions runs on to 16.04 & 18.04
  • (#7132) configurable curve for https ECDH to improve interoperability
  • (#7141) Added lib64 to CMAKE_MODULE_PATH
  • (#7118) Make executable names configurable
  • (#7095) Build script: support new options
  • (#7160) remove "eosio root" print on nodeos startup
  • (#7164) Fix EosioTester to only generate one CTest "target"
  • (#7149) Buildkite Docker Plugin propagate-environment AND ctest Error Handling
  • (#7168) Reduce logging of complete object when unable to serialize
  • (#6588) Refactor block_header_state
  • (#6856) fix bug in apply_block that constructed and committed blocks with missing signatures in the protocol-feature-foundations branch
  • (#6864) Add unit test to ensure that broadcasted block by producer node and receiving node is identical
  • (#7134) store all wasm code in a separate index
  • (#7156) fix RAM billing consensus bug in eosio::setcode native handler
  • (#7123) wabt optimization
  • (#7143) fix tests in forced-replay branch; use updated bios contract
  • (#7179) evict wasm_cache entries once the last block they are used in becomes irreversible
  • (#7188) Fix bugs in block_log
  • (#7171) reduction of wavm memory usage
  • (#7176) Destroy wavm module instances when deleting the wavm_instantiated_module
  • (#7177) Avoid possibly lengthy destruction of wasm instances on shutdown
  • (#7194) update fc submodule
  • (#7184) Keep block log open to minimize open/close of file
  • (#7211) commit db during replays when replay optimizations are disabled
  • (#7215) Proper replay shutdown from database_guard_exception
  • (#7204) Remove dockerfiles
  • (#7208) Gives a timeout for bios node check pulse and also minor cleanup on
  • (#7206) Remove stale license template
  • (#7197) remove unsupported platforms from README and build scripts
  • (#7205) remove old file that isn't relevant
  • (#7104) Remove dead code
  • (#7221) try to fix relaunch error in nodeos_irreversible_mode_lr_test
  • (#7224) Remove -Werror from wabt
  • (#7218) reenable building of mongo c/cxx drivers
  • (#7223) Update to fc with gcc fix
  • (#7228) build clang8 only when $BUILD_CLANG8 is "true"
  • (#7227) link to icu or sasl2 when appropriate for mongo
  • (#7229) link to snappy when appropriate for mongo
  • (#7230) disable snappy support for mongo-c-driver
  • (#7233) startup catchup test not killing node


Special thanks to the community contributors that submitted patches for this release:

Disclaimer: makes its contribution on a voluntary basis as a member of the EOSIO community and is not responsible for ensuring the overall performance of the software or any related applications. We make no representation, warranty, guarantee or undertaking in respect of the releases described here, the related GitHub release, the EOSIO software or any related documentation, whether expressed or implied, including but not limited to the warranties or merchantability, fitness for a particular purpose and noninfringement. In no event shall we be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or documentation or the use or other dealings in the software or documentation. Any test results or performance figures are indicative and will not reflect performance under all conditions. Any reference to any third party or third-party product, resource or service is not an endorsement or recommendation by We are not responsible, and disclaim any and all responsibility and liability, for your use of or reliance on any of these resources. Third-party resources may be updated, changed or terminated at any time, so the information here may be out of date or inaccurate. Any person using or offering this software in connection with providing software, goods or services to third parties shall advise such third parties of these license terms, disclaimers and exclusions of liability.

Assets 6
You can’t perform that action at this time.