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
-
#2299: Add a default RocksDB options file (@yangby-cryptape)
The default options file limits the maximum memory usage.
-
#2276: Improve migration progress display (@zhangsoledad)
-
#2260 rpc: Add
get_transaction_proof
andverify_transaction_proof
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
- #2285: Fix the problem of disconnection caused by uncertainty (@driftluo)
- #2283: Resolve network background service cleanup issue when rpc tcp server is on (@quake)
- #2298: Skip RUSTSEC-2020-0043 temporarily (@yangby-cryptape)
Improvements
- #2236: Rewrite discovery (@driftluo)
- #2303: Replace legacy crate
lru-cache
(@zhangsoledad) - #2282 test: Create log monitor for integration test check status between nodes (@chuijiaolianying)
- #2286 test: Redesign the testing framework (@keroro520)
- #2294 test: Redesign the way of Net communicate with peers (@keroro520)
- #2268 test: Add some transaction checking utils (@keroro520)