github nervosnetwork/ckb v0.40.0
v0.40.0 (1b3b97b 2021-02-23)

latest releases: v0.119.0, v0.119.0-rc2, v0.119.0-rc1...
3 years ago

This version is compatible with v0.25.0 and above. However, it is recommended to upgrade the node, since we will only release security patches based on the latest release.

See how to connect to various chains in Wiki.

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.

Downloads

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.

The .asc files are signatures. It is wise and more secure to check out for the files integrity.

Changes since v0.39.2

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)

  • #2505: Provide --overwrite-spec to override the chain spec in storage (@keroro520)

  • #2526: Multi thread number_hash_mapping migration (@zhangsoledad)

  • #2520: Add RPC get_block_median_time (@keroro520)

Bug Fixes

Improvements

  • #2542: Resolve rocksdb cache size issue when using default.db-options (@quake)
  • #2519: Make median_time clear in RPC doc (@doitian)

Don't miss a new ckb release

NewReleases is sending notifications on new releases.