github nervosnetwork/ckb v0.41.0
ckb 0.41.0 (d3a609a 2021-04-22)

latest releases: v0.116.1, v0.116.0-rc2, v0.116.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.

  • The dev chain sets permanent_difficulty_in_dummy by default and will generate a random genesis hash by default. See #2503 for details.
  • Now the command ckb run will not run database migration automatically when it is time consuming, see #2571 for details.

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

Features

  • #2503: Customize chain spec for dev chains and update few preset params (@yangby-cryptape)

    • Set permanent_difficulty_in_dummy to true as default for dev chains.
    • Allow users to create different dev chains by customizing genesis message.
      And they could also create same chain in different directories or machines by setting a same genesis message.
    • Allow users to create different dev chains by customizing genesis timestamp.
      If no timestamp is provided, use current timestamp.
    • Display genesis hash after CKB direcotry created.
  • #2571: Request the approval for database migrations (@yangby-cryptape)

  • #2604: Allow miner http basic authorization (@driftluo)

  • #2569: Add rpc generate_block_with_template to IntegrationTest rpc module (@quake)

    This PR adds generate_block_with_template rpc, so that dApps can get block template from get_block_template rpc, and then add or remove tx / proposal / uncle data in block template, and finally submit it via this rpc to control the newly generated block data.

Bug Fixes

Improvements

  • #2525: Manually trigger compaction after freeze (@zhangsoledad)

    • Drawbacks: Even we use DeleteRange apply to delete the range of keys, seems Rocksdb still hasn't implemented the feature of using seek() to skip until the end of range delete end yet.
      Rocksdb iter seek slows down dramatically when there are many deletes.
    • Workaround: Manually call CompactRange() for the range to delete, this approach can solve the problem.
  • #2595: Set prepare_for_bulk_load option for migration (@zhangsoledad)

  • #2611: Smaller block status map during IBD (@yangby-cryptape)

Don't miss a new ckb release

NewReleases is sending notifications on new releases.