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 moduleChain
. - 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 moduleChain
. - The method
get_peers_state
in the moduleStats
. - The methods
_compute_transaction_hash
,_compute_script_hash
andestimate_fee_rate
in the moduleExperiment
.
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.
Changes since v0.39.1
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)
-
#2523: Network should work without enabling the module in RPC (@yangby-cryptape)