ckb

The Nervos CKB is a public permissionless blockchain, and the layer 1 of Nervos network.

MIT License

Downloads
8.2M
Stars
1.1K
Committers
49

Bot releases are hidden (Show)

ckb - ckb 0.100.0 (c978940 2021-09-13)

Published by doitian about 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 version v0.100.0 will bring incompatible changes for the next hard fork but it will not activate the hard fork for testnet and mainnet. So it is compatible with the current testnet and mainnet.

  • The block header as a new field extra_hash, which replaced uncles_hash.
  • The block has a new field extension but no blocks may set it before the hard fork activation.
  • The field hash_type has a new allowed value "data1" but it is invalid before the hard fork activation.
  • The default value of the parameter OutputsValidator in the JSON RPC send_transaction is well_known_scripts_only now. See #2821 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 binaries require following CPU instructions: call (MODE64), cmovbe (CMOV), xorps (SSE1), movq (SSE2)

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

This version contains the fork features in ckb2021 which are disabled in testnet and mainnet.

Features

  • #2715 hardfork: ckb2021 hardfork features (@yangby-cryptape)

    See https://github.com/nervosnetwork/rfcs/pull/242

  • #2756 hardfork: Ckb2021 hardfork features (vm related part) (@yangby-cryptape)

    See https://github.com/nervosnetwork/rfcs/pull/242

    • #2818 hardfork: Change field "hash_type" to an enumerated type (@yangby-cryptape)

      BREAKING CHANGES: Revert breaking changes which were introduced in #2756.

  • #2796 hardfork: Net hardfork (@driftluo)

    See https://github.com/nervosnetwork/rfcs/pull/234

  • #2797 hardfork: Reject vm1 lock script before hardfork started to keep compatible with old clients (@yangby-cryptape)

  • #2798 hardfork: Remove the header deps immature rule (@yangby-cryptape)

    See [CKB-RFCs PR 240: RFC: Remove header deps immature rule](https://github.com/nervosnetwork/rfcs/pull/240)
    
  • #2819: Only send notifications when service is stated (@zhangsoledad)

  • #2817: Prepend the binary version to BlockAssemblerConfig message (@quake)

  • #2821: Change default OutputsValidator to well_known_scripts_only (@quake)

  • #2792 hardfork: Verify the epoch in since more strictly (@yangby-cryptape)

    • A transaction with since absolute (or relative) epoch is valid only if epoch_index is less than epoch_length or both epoch_index and epoch_length are zero.
    • Using rational number operations for both since absolute epoch and since relative epoch.

    See more in https://github.com/nervosnetwork/rfcs/pull/223

  • #2776 hardfork: Rename JSON RPC field "uncles_hash" to "extra_hash" (@yangby-cryptape)

  • #2799: Resumeble verification, which removes the cycles limit to relay tx (@zhangsoledad)

  • #2846: Dial bootnode randomly (@driftluo)

  • #2854: Better tips for "migrate" subcomamnd (@yangby-cryptape)

  • #2849: Remove old version peer from peer store on fork (@driftluo)

  • #2641: Add network protocol config (@quake)

  • #2879 hardfork: Add a new field "hardfork_features" to the return of RPC method "get_consensus" (@yangby-cryptape)

  • #2913: Upgrade hyper, and ckb-vm (@driftluo)

  • #2656: Persistent tx-pool data into a file when it has been shutdown (@quake)

  • #2921: Reduce cellbase maturity on staging spec (@keroro520)

  • #2963: Update ckb-vm to 0.20.0-rc4 (@mohanson)

    ckb-vm 0.20.0-rc4 release note: https://github.com/nervosnetwork/ckb-vm/releases/tag/0.20.0-rc4

  • #3004: Update ckb-vm to 0.20.0-rc5 (@mohanson)

    Contains a bug fix, see release notes below:

    https://github.com/nervosnetwork/ckb-vm/releases/tag/0.20.0-rc5

Bug Fixes

  • #2785: Put migration version (@zhangsoledad)

    A bug introduced by https://github.com/nervosnetwork/ckb/commit/220464f, cause the migration version do not put in the new created DB.

  • #2827: Fix peer store evict (@driftluo)

    Originally, only the data in the largest group was considered, but now it is changed to traverse at least half of the groups

  • #3012: Fix dummy miner solve (@driftluo)

  • #3011: Shouldn't override the log.file after touch it (@yangby-cryptape)

  • #2787: Put migration version (@zhangsoledad)

  • #2829: Fix peer store evict (@driftluo)

  • #2833: Display full path for deprecated fields in warning messages (@yangby-cryptape)

  • #2856: Touch last_txs_updated_at in tx pool (@zhangsoledad)

  • #2857: Fix the status marking problem of header sync (@driftluo)

  • #2877: Don't panic when the database is created by a higher version executable binary (@yangby-cryptape)

  • #2894: There may be competition between header sync and eviction (@driftluo)

  • #2897 metrics: There is no reactor running (@yangby-cryptape)

  • #2906: Try traverse all unknown parent hash (@driftluo)

  • #2923: Callback potentially incorrect trigger on concurrent context (@zhangsoledad)

  • #2924 test: Make sure testnode graceful shutdown basic sync (@zhangsoledad)

  • #2934: Fix stream body read (@driftluo)

  • #2932: Persisted test wait tx-pool ready (@zhangsoledad)

  • #2950 reset-data: The argument --network-peer-store couldn't work (@yangby-cryptape)

  • #2971: Snapshot cycles calculation (@zhangsoledad)

Improvements

  • #2755: Avoid unnecessary db creation (@zhangsoledad)

  • #2685: Replace RwLock/Mutex<HashMap/HashSet> with DashMap (@quake)

  • #2736: Move state flag to HeadersSyncState enum (@quake)

    We are using 3 fields sync_started / sync_connected / not_sync_until in the headers sync process, this PR refactored them to a state machine enum HeadersSyncState

  • #2707: Use KeyedPriorityQueue to replace BTreeMap/HashSet (@quake)

  • #2791: Verify the epoch in block headers explicitly (@yangby-cryptape)

    The data of epoch in bytes is not same as the EpochNumberWithFraction, which causes a few unintended consequences.

  • #2822: Compatibility policy for configuration files (@yangby-cryptape)

    • Deny unknown configuration items.

      To avoid several kinds of mistakes, for example, typos.

    • Allow deprecated configuration items, but they will be ignored; and warning messages will be output.
      After several versions, if these deprecated items satisfied any of the following conditions, they will be fully removed (denied):

      • Not list in the default configuration files.
      • Be tagged as "Experimental".
    • The default configuration files will not include any deprecated configuration items.

    • The default configuration files will not enable any experimental configuration items.

  • #2770: Use community contributed site for script error codes (@doitian)

  • #2779: Give an unique id to each global runtime thread (@yangby-cryptape)

  • #3006 rpc: Change struct from "TxPoolVerbosity" to "TxPoolEntries… (@chanhsu001)

    Breaking change for using ckb crates.

  • #2841: Remove redudant as_ref (@doitian)

  • #2863: Avoid duplicate cell check (@zhangsoledad)

  • #2870: Replace metrics-rs with opentelemetry-rust (@yangby-cryptape)

  • #2925: Enum tuple struct (@zhangsoledad)

  • #2948: Remove dependency on tempfile in ckb-resource (@chanhsu001)

  • #2982: Regex new is expensive (@driftluo)

  • #2964: Refactor peer store (@driftluo)

ckb - ckb 0.42.0 (bb888fe 2021-05-26)

Published by nervos-bot-user over 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.

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 binaries require following CPU instructions: call (MODE64), cmovbe (CMOV), xorps (SSE1), movq (SSE2)

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

Features

  • #2633: Make reuse port configurable (@driftluo)

  • #2635: Remove deprecated rpc get_peers_state (@quake)

  • #2628: Fix download scheduler (@driftluo)

    1. disable penalty when download nodes are scarce
    2. allow the protection node to be disconnected due to sync judgment

Bug Fixes

  • #2620: The arc of timestamp in tx-pool controller become incorrect after clean (@yangby-cryptape)

  • #2629: Readonly for migrate check (@zhangsoledad)

    • Perform migration check with read-only mode to prevent automatically create columns breaking compatibility
    • Fix the error message is displayed incorrectly while performing the migration

Improvements

  • #2603: Split contextual block verification to a new crate (@quake)

    This PR split contextual block verification to a new crate, eliminates verification crate dependency on ckb_store, and simplifies code: BlockMedianTimeContext, HeaderResolverWrapper and VerifierResolver are removed.

  • #2613: Introduce launcher (@zhangsoledad)

    This PR mainly simplified the launch code.

  • #2634: Rewrite tx-pool (@zhangsoledad)

    The existing tx-pool code has many potential issues, the PR focus those issue fix.

  • #2640: Replace get_cellbase_output_capacity_details with get_block_economic_state in test (@keroro520)

ckb - v0.42.0-rc1

Published by nervos-bot-user over 3 years ago

ckb 0.42.0-pre (a741621 2021-04-26)

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

highlight

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 binaries require following CPU instructions: call (MODE64), cmovbe (CMOV), xorps (SSE1), movq (SSE2)

Features

  • #2633: Make reuse port configurable (@driftluo)

  • #2635: Remove deprecated rpc get_peers_state (@quake)

  • #2628: Fix download scheduler (@driftluo)

    1. disable penalty when download nodes are scarce
    2. allow the protection node to be disconnected due to sync judgment

Bug Fixes

  • #2620: The arc of timestamp in tx-pool controller become incorrect after clean (@yangby-cryptape)

  • #2629: Readonly for migrate check (@zhangsoledad)

    • Perform migration check with read-only mode to prevent automatically create columns breaking compatibility
    • Fix the error message is displayed incorrectly while performing the migration

Improvements

  • #2603: Split contextual block verification to a new crate (@quake)

    This PR split contextual block verification to a new crate, eliminates verification crate dependency on ckb_store, and simplifies code: BlockMedianTimeContext, HeaderResolverWrapper and VerifierResolver are removed.

  • #2613: Introduce launcher (@zhangsoledad)

    This PR mainly simplified the launch code.

  • #2634: Rewrite tx-pool (@zhangsoledad)

    The existing tx-pool code has many potential issues, the PR focus those issue fix.

  • #2640: Replace get_cellbase_output_capacity_details with get_block_economic_state in test (@keroro520)

ckb - ckb 0.41.0 (d3a609a 2021-04-22)

Published by nervos-bot-user over 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.

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

  • #2556: Resolve peer store dump issue (@quake)

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)

ckb - v0.41.0-rc1

Published by nervos-bot-user over 3 years ago

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

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.

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

  • #2556: Resolve peer store dump issue (@quake)

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)

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

Published by nervos-bot-user over 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.

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

  • #2455: Relay and sync should be order independent (@yangby-cryptape)

    Fix #2450.

  • #2484: Don't do sync before sync connected (@yangby-cryptape)

    This issue was introduced since #2455.

  • #2458: Fix potential failure in integration test TransactionRelayLowFeeRate (@yangby-cryptape)

  • #2454: Fix the log output of integration tests and output more logs (@yangby-cryptape)

  • #2502: Skip RUSTSEC-2020-0095 temporarily (@yangby-cryptape)

  • #2521: Fix wasm build by locking tempfile (@doitian)

  • #2523: Network should work without enabling the module in RPC (@yangby-cryptape)

  • #2537: Allow dail self (@driftluo)

Improvements

  • #2542: Resolve rocksdb cache size issue when using default.db-options (@quake)
  • #2519: Make median_time clear in RPC doc (@doitian)
ckb - v0.37.1 (91e8186 2021-02-22)

Published by nervos-bot-user over 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.

Backport #2382: permit load cell data from memory (@zhangsoledad).

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.

ckb - v0.36.1 (8c63374 2021-02-22)

Published by nervos-bot-user over 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.

Backport #2382: permit load cell data from memory (@zhangsoledad).

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.

ckb - v0.35.2 (07b7edc 2021-02-22)

Published by nervos-bot-user over 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.

Backport #2382: permit load cell data from memory (@zhangsoledad).

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.

ckb - v0.38.2 (5ede6c3 2021-02-22)

Published by nervos-bot-user over 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.

Backport #2382: permit load cell data from memory (@zhangsoledad).

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.

ckb - ckb 0.40.0-rc2 (a0c9661 2021-02-01)

Published by nervos-bot-user over 3 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.

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

  • #2455: Relay and sync should be order independent (@yangby-cryptape)

    Fix #2450.

  • #2484: Don't do sync before sync connected (@yangby-cryptape)

    This issue was introduced since #2455.

  • #2458: Fix potential failure in integration test TransactionRelayLowFeeRate (@yangby-cryptape)

  • #2454: Fix the log output of integration tests and output more logs (@yangby-cryptape)

  • #2502: Skip RUSTSEC-2020-0095 temporarily (@yangby-cryptape)

  • #2521: Fix wasm build by locking tempfile (@doitian)

  • #2523: Network should work without enabling the module in RPC (@yangby-cryptape)

  • #2537: Allow dail self (@driftluo)

Improvements

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

Published by nervos-bot-user over 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.

This version has fixed several bugs, including the one that ckb complains that pool is full when sending conflicting transactions.

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.

Improvements

  • Upgrade tentacle to 0.3.7 (@driftluo).

Bug Fixes

  • #2532: Update statics for removing tx (@zhangsoledad)
  • #2546: Resolve rocksdb cache size issue when using default.db-options (@quake)
ckb - v0.40.0-rc1

Published by nervos-bot-user almost 4 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.

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

  • #2455: Relay and sync should be order independent (@yangby-cryptape)

    Fix #2450.

  • #2484: Don't do sync before sync connected (@yangby-cryptape)

    This issue was introduced since #2455.

  • #2458: Fix potential failure in integration test TransactionRelayLowFeeRate (@yangby-cryptape)

  • #2454: Fix the log output of integration tests and output more logs (@yangby-cryptape)

  • #2502: Skip RUSTSEC-2020-0095 temporarily (@yangby-cryptape)

ckb - ckb 0.39.1 (7f5d486 2021-01-06)

Published by nervos-bot-user almost 4 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.

  • Upgrade tentacle to 0.3.4 (@driftluo).

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.

ckb - ckb 0.39.0 (709862f 2020-12-24)

Published by nervos-bot-user almost 4 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.

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.

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.

Features

  • #2382: Permit load cell data from memory (@zhangsoledad)

  • #2343: Add RPC get_raw_tx_pool (@zhangsoledad)

  • #2347: Add RPC to get consensus parameters (@zhangsoledad)

  • #2280: Add assume valid target config (@driftluo)

    Added option to skip verification for faster synchronization of trusted node data to a specified height

    Please know exactly what you are doing before you use it!

  • #2351: Add with_sentry feature (@quake)

    Move sentry to optional dependency, reduce dependency libs on other target (wasm32, etc)

  • #2334: Migrate check (@zhangsoledad)

    Add command ckb migrate --check. If migration is in need 0 will be return,otherwise 64.

  • #2379: Let the consensus params orphan_rate_target to be configurable (@yangby-cryptape)

Bug Fixes

  • #2394: Some crates invalidly assumes the memory layout of std::net::SocketAddr (@yangby-cryptape)

  • #2389: Upgrade CKB VM to fix memmap security warning (@xxuejie)

  • #2387: Skip RUSTSEC-2020-0077 temporarily (@yangby-cryptape)

  • #2392: Skip RUSTSEC-2020-0082 temporarily since not affected (@yangby-cryptape)

  • #2350: The description for the low fee rate error (@yangby-cryptape)

    The first parameter is the minimum transaction fee, not the fee rate.

  • #2357: Conflict transaction stuck in tx-pool (@zhangsoledad)

  • #2390: Don't open db when disable indexer module, fix deprecated method response (@driftluo)

Improvements

  • #2386: Replace failure by thiserror and anyhow (@yangby-cryptape)

    RUSTSEC-2020-0036: failure: failure is officially deprecated/unmaintained

  • #2373: Single instance async runtime (@zhangsoledad)

    This PR brings several refactorings. All async processes now use one single instance runtime. It makes ckb-network work as a usually library and decoupled from the runtime.

  • #2271: Add some mining utils (@keroro520)

  • #2277: Add some utils to generate spendable cells (@keroro520)

  • #2342 doc: Add some missing docs (@zhangsoledad)

  • #2369 doc: Network doc (@driftluo)

ckb - [YANKED] v0.39.0-rc2

Published by nervos-bot-user almost 4 years ago

⚠️Yanked because of the bug #2448⚠️

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

Features

  • #2382: Permit load cell data from memory (@zhangsoledad)

Bug Fixes

  • #2394: Some crates invalidly assumes the memory layout of std::net::SocketAddr (@yangby-cryptape)

Improvements

ckb - v0.39.0-rc1

Published by nervos-bot-user almost 4 years ago

⚠️Yanked because of the bug #2448⚠️

ckb v0.39.0-rc1 (6752ba1 2020-12-07)

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

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.

Features

  • #2343: Add RPC get_raw_tx_pool (@zhangsoledad)

  • #2255: Detect spec compatibility when booting (@zhangsoledad)

  • #2347: Add RPC to get consensus parameters (@zhangsoledad)

  • #2280: Add assume valid target config (@driftluo)

    Added option to skip verification for faster synchronization of trusted node data to a specified height

    Please know exactly what you are doing before you use it!

  • #2351: Add with_sentry feature (@quake)

    Move sentry to optional dependency, reduce dependency libs on other target (wasm32, etc)

  • #2334: Migrate check (@zhangsoledad)

    Add command ckb migrate --check. If migration is in need 0 will be return,otherwise 64.

  • #2379: Let the consensus params orphan_rate_target to be configurable (@yangby-cryptape)

Bug Fixes

  • #2389: Upgrade CKB VM to fix memmap security warning (@xxuejie)

  • #2387: Skip RUSTSEC-2020-0077 temporarily (@yangby-cryptape)

  • #2392: Skip RUSTSEC-2020-0082 temporarily since not affected (@yangby-cryptape)

  • #2350: The description for the low fee rate error (@yangby-cryptape)

    The first parameter is the minimum transaction fee, not the fee rate.

  • #2357: Conflict transaction stuck in tx-pool (@zhangsoledad)

  • #2390: Don't open db when disable indexer module, fix deprecated method response (@driftluo)

Improvements

  • #2373: Single instance async runtime (@zhangsoledad)

    This PR brings several refactorings. All async processes now use one single instance runtime. It makes ckb-network work as a usually library and decoupled from the runtime.

  • #2271: Add some mining utils (@keroro520)

  • #2277: Add some utils to generate spendable cells (@keroro520)

  • #2342 doc: Add some missing docs (@zhangsoledad)

  • #2369 doc: Network doc (@driftluo)

ckb - ckb 0.38.1 (e1fd4b0 2020-12-02)

Published by nervos-bot-user almost 4 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.

This version backported a bug fixing:

  • #2357: Conflict transaction stuck in the tx pool (@zhangsoledad)

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.

ckb - ckb 0.38.0 (8f05eb7 2020-11-17)

Published by nervos-bot-user almost 4 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.

⚠️ Because of v0.37.0, upgrading from versions prior to v0.37.0 requires the migration which takes about half an hour.

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.

Features

  • #2329: Configurable block proposals limit (@zhangsoledad)
  • #2330: Migrate subcommand (@zhangsoledad)

Bug Fixes

  • #2328: Fix u256 rpc doc (@doitian)

Improvements

  • #2312: Use cargo-deny to replace cargo-audit (@yangby-cryptape)
ckb - v0.38.0-rc1

Published by nervos-bot-user almost 4 years ago

ckb v0.38.0-pre (2fc9055 2020-11-02)

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

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.

Features

  • #2329: Configurable block proposals limit (@zhangsoledad)
  • #2330: Migrate subcommand (@zhangsoledad)

Bug Fixes

  • #2328: Fix u256 rpc doc (@doitian)

Improvements

  • #2312: Use cargo-deny to replace cargo-audit (@yangby-cryptape)