ckb 0.118.0 (b0bde9f 2024-09-14) #4653
doitian
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Highlights
The featured changes in the new release are:
Asynchronous Block Download and Verification: This enhancement improves the efficiency of block requests and verification during the initial block download (IBD) phase. It introduces asynchronous operations, changes to the sync_state RPC, and updates to the log format.
New spawn with scheduler: This change is only available in the next version of CKB consensus rules. It refactors the implementation of spawn and introduces a new syscall API.
New script verify with ckb-vm pause: This change introduces several improvements to the script verification process. It uses a job queue for pending transactions, multiple workers for verification, and changes the verification style to async. It also includes changes related to resuming/suspending the VM, removing snapshots from VM machines, and removing the "Suspend" state from cache. All transactions from remote peers will be added to the queue for verification.
Compatibility Table
See how to connect to various chains in Wiki.
Default assume valid target
Downloads
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.117.0
Features
Asynchronous Block Download and Verification #4365: Asynchronous Block Download and Verification (@eval-exec)
This PR introduces several enhancements to the CKB Synchronizer to reduce synchronization time
during the initial block download (IBD) phase. Key changes include:
tip_hash
andtip_number
to represent the current chain tip.unverified_tip_hash
andunverified_tip_number
to track the latest received but not yet verified blocks.orphan_blocks_size
field.These updates lead to a more efficient synchronization process, reducing the overall time
required for IBD. Note that removing the
orphan_blocks_size
field constitutes a BREAKING CHANGEin the
sync_state
RPC.New spawn with scheduler #4380: New spawn with scheduler (@mohanson)
This change is only available in the next version of CKB consensus rules.
In this PR, we refactored the implementation of spawn. The refactored syscall API is defined as follows: https://github.com/XuJiandong/ckb-c-stdlib/blob/syscall-spawn/ckb_syscall_apis.h#L54-L68.
Review Introduction: New spawn with scheduler #4380 (comment)
Documentation: Update spawn syscalls rfcs#436
New script verify with ckb-vm pause #4291: New script verify with ckb-vm pause (@chenyukang)
async
styleSuspend
state from cacheBug Fixes
fix: fix sync relayer collaboration #4562: Fix sync relayer collaboration (@driftluo)
fix: add limit to get cells #4576: Add limit to get cells (@driftluo)
This is a breaking change to RPC. The RPC to get cells may fail when exceeding the limit.
Fix: verify worker exit when signal_exit is_cancelled #4612: Verify worker exit when
signal_exit
is cancelled (@chenyukang)Improvements
Add jsonrpc batch request limit #4529: Add jsonrpc batch request limit (@chenyukang)
Add
tx_index
toTxStatus
forget_transaction
RPC #4583: Addtx_index
toTxStatus
forget_transaction
RPC (@eval-exec)This is a breaking change to the RPC.
VerifyQueue
: re_notify other Worker whenOnlySmallCycleTx
received a large cycle tx #4591:VerifyQueue
: re_notify other Worker whenOnlySmallCycleTx
received a large cycle tx (@eval-exec)Compare changes in GitHub
This discussion was created from the release ckb 0.118.0 (b0bde9f 2024-09-14).
Beta Was this translation helpful? Give feedback.
All reactions