github nervosnetwork/ckb v0.37.0-rc1

latest releases: v0.116.1, v0.116.0-rc2, v0.116.0-rc1...
pre-release3 years ago

ckb 0.37.0-pre (9ae4b75 2020-10-12)

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

This version introduces the new RPC doc which contains detailed information about the types and errors.

Breaking Changes

Database

⚠️ This new version will migrate the database on first launch. Please backup the data dir if you want to use old versions later.

⚠️ The migration takes about half an hour. The node denies all RPC requests during the migration.

Config file

There is a new config option db.options_file introduced in #2299. This option provides an options file to tune RocksDB for your workload and your system configuration. More details can be found in the official tuning guide. Remove or comment this option to use the default options file, which is the behavior in previous versions.

RPC

The RPC get_cells_by_lock_hash is deprecated and now it only returns errors (#2269).

There are 4 new RPC methods: ping_peers, get_transaction_proof, verify_transaction_proof, and clear_banned_addresses.

The subscribe RPC added a new topic new_transaction.

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.36.0

Features

  • #2270 rpc: Rework rpc doc (@doitian)

  • #2299: Add a default RocksDB options file (@yangby-cryptape)

    The default options file limits the maximum memory usage.

  • #2276: Improve migration progress display (@zhangsoledad)

  • #2257 rpc: Add ping_peers rpc (@quake)

  • #2260 rpc: Add get_transaction_proof and verify_transaction_proof rpc (@quake)

  • #2259 rpc: Add clear_banned_addresses rpc (@quake)

  • #2265 rpc: Add nMinimumChainWork config (@driftluo)

    The mainnet has been online for a long time, and it is time to add a minimum workload proof to prevent possible node attacks during the initial synchronization.

  • #2269: Redesign cell store (@zhangsoledad)

    Previous cell storage is inefficient. This PR proposal a new live cell storage schema, which optimized the resolve transaction bottleneck.

    Breaking Changes:

    • This PR will migrate the database.
    • The RPC get_cells_by_lock_hash is deprecated and now it only returns errors.
  • #2281 rpc: Add tx subscription RPC (@quake)

    This PR added a new_transaction topic to subscription rpc, user will get notified when new transaction is submitted to pool.

Bug Fixes

Improvements

Don't miss a new ckb release

NewReleases is sending notifications on new releases.