ckb 0.109.0 (bd8937b 2023-04-19)
Breaking Changes
- Remove ckb
db-repairsubcommand - Add soft-fork deployment info in RPC, changed response schema of
get_deployments_infoandget_consensus. - Fix RPC typo:
get_fee_rate_statics->get_fee_rate_statistics
Highlights
- An exact search mode was added in the indexer RPC.
- A new flatmemory feature was introduced. This will be useful for developing tools like the CKB debugger.
- The VM is now thread-safe, allowing for concurrent execution of scripts.
Compatibility Table
| Network | Consensus Version | Minimal CKB Version |
|---|---|---|
| dev | ckb2021 since epoch 0 | |
| testnet | ckb2021 since epoch 3113 | v0.101.0 |
| mainnet | ckb2021 since epoch 5414 | v0.103.0 |
See how to connect to various chains in Wiki.
Downloads
| OS | Arch | Runtime Dependencies | Package | Sign |
|---|---|---|---|---|
| macOS | x64 | macOS 10.15 or above | zip | PGP |
| macOS (Portable) | x64 | macOS 10.15 or above | zip | PGP |
| macOS | ARM64 | macOS 10.15 or above | zip | PGP |
| macOS (Portable) | ARM64 | macOS 10.15 or above | zip | PGP |
| Linux | x64 | glibc, libstdc++ | tarball | PGP |
| Linux (Portable) | x64 | glibc, libstdc++ | tarball | PGP |
| CentOS | x64 | glibc, libstdc++ | tarball | PGP |
| CentOS (Portable) | x64 | glibc, libstdc++ | tarball | PGP |
| Windows | x64 | VC++ Redistributable | zip | PGP |
| Linux | ARM64 | glibc, libstdc++ | tarball | PGP |
| Docker | dockerhub |
The .asc files are signatures. It is wise and more secure to check out for the files integrity.
Try the portable variants if the binaries complains about illegal instructions.
Changes since v0.108.1
Features
-
#3927 cli: (BREAKING) Remove ckb db-repair subcommand (@zhangsoledad)
-
#3772 rpc: (BREAKING) Add soft-fork deployment since info in RPC (@zhangsoledad)
The response schema has changed in the RPC
get_deployments_infoandget_consensus. -
#3859: Add flatmemory feature for FlatMemory based machine types (@xxuejie)
This change adds a new
flatmemoryfeature to ckb-script, which will useFlatMemoryas the memory type for
CoreMachine/CoreMachineType. While this is not gonna be used in CKB, a FlatMemory will be quite useful in the development of surrounding tools, including ckb-debugger. Note that one option is that a debugger could maintain its own ckb-script package, but considering the fact that the change here is rather small, I would suggest we include this here feature in CKB. -
#3752: Thread-safe vm (@zhangsoledad)
Bug Fixes
-
#3924 rpc: (BREAKING) Fix rpc typo: statics -> statistics (@zhangsoledad)
The RPC method
get_fee_rate_staticsis deprecated, please useget_fee_rate_statisticsinstead. -
#3840: Fix transaction rebroadcast by resubmitting (@zhangsoledad)
-
#3886: Potentially tx-pool panic after detached (@zhangsoledad)
-
#3894: Fix tx-pool remove expired (@zhangsoledad)
Improvements
- #3860: Improve
ScriptError::InvalidCodeHashwhen code_hash can't be resolved (@eval-exec) - #3869: Replace opentelemetry by tikv/rust-prometheus (@eval-exec)
- #3893: Fix CKB command line usage test case by bats-core/bats (@eval-exec)
- #3890 light-client: Let the function that builds filter data to be standalone (@yangby-cryptape)