github nervosnetwork/ckb v0.40.0-rc1

latest releases: v0.118.0-rc2, v0.118.0-rc1, v0.117.0...
pre-release3 years ago

This is an RC version to preview the changes in the next release.

RPC Deprecation

Pay attention that following RPC methods will be removed from v0.40.0:

  • The method get_cells_by_lock_hash in the module Chain.
  • The whole module Indexer.

The following methods will be disabled by default from v0.40.0 and will be removed from v0.41.0:

  • The method get_cellbase_output_capacity_details in the module Chain.
  • The method get_peers_state in the module Stats.
  • The methods _compute_transaction_hash, _compute_script_hash and estimate_fee_rate in the module Experiment.

Config Changes

Because of deleted RPC methods, following keys must be deleted from the existing config file ckb.toml:

  • Indexer is no longer a valid RPC module in [rpc] modules.
  • The whole section [indexer] is removed.
OS Arch Runtime Dependencies Package Sign
macOS x64 macOS 10.12 or above zip PGP
Linux x64 glibc, libstdc++ tarball PGP
CentOS x64 glibc, libstdc++, openssl tarball PGP
Windows* x64 VC++ Redistributable zip PGP
Docker dockerhub

* Windows support is experimental.

Changes since v0.39.1

Features

  • #2501: chore: remove deprecated RPC and add deprecated to some RPC.

    Resolve #2487

  • #2297: Chain freezer (@zhangsoledad)

    Introduce chain freezer, Inspired by [Splitting the data directory] and [geth-v1-9-0]

    Now, separated database into two parts, recent block and ancient history. If your data directory is located on a magnetic disk, you can link db to an SSD drive to improve performance. If your data directory is on an SSD: you can link ancient to an HDD drive to save space.

    Freezer is disabled by default. It has some performance bottlenecks that we are fixing.

  • #2365: Tx pool callback (@zhangsoledad)

Bug Fixes

Don't miss a new ckb release

NewReleases is sending notifications on new releases.