Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release CKB v0.118.0 #4598

Closed
2 of 3 tasks
doitian opened this issue Aug 19, 2024 · 3 comments
Closed
2 of 3 tasks

Release CKB v0.118.0 #4598

doitian opened this issue Aug 19, 2024 · 3 comments
Assignees

Comments

@doitian
Copy link
Member

doitian commented Aug 19, 2024

Assume Valid Target

MainNet:
the 60 days ago block is: 13266076 0xd07c7f0fcea6e2a20a51dabbf0caae7ebff49723bcd8bac81a8b8c021a546a32 in Wed Jun 19 02:31:36 AM UTC 2024
you can view this block in https://explorer.nervos.org/block/0xd07c7f0fcea6e2a20a51dabbf0caae7ebff49723bcd8bac81a8b8c021a546a32

TestNet:
the 60 days ago block is: 13632642 0xab6f81474ccbc1cdd5f42cda7029a6f6e52fc242c3487861e8abb62b6a6ea8a9 in Wed Jun 19 02:32:01 AM UTC 2024
you can view this block in https://pudge.explorer.nervos.org/block/0xab6f81474ccbc1cdd5f42cda7029a6f6e52fc242c3487861e8abb62b6a6ea8a9

@doitian
Copy link
Member Author

doitian commented Aug 19, 2024

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:

    1. Asynchronous Operations: The Synchronizer sliding window movement is now decoupled from the block verification process in the ChainService, allowing asynchronous handling. This improves the efficiency of block requests and verification.
    2. Changes to sync_state RPC:
      • Added tip_hash and tip_number to represent the current chain tip.
      • Added unverified_tip_hash and unverified_tip_number to track the latest received but not yet verified blocks.
      • Removed the orphan_blocks_size field.
    3. Log Format Update: The format of CKB logs has been updated, specifically changing the prefix and content of log entries to provide clearer and more structured information.

    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 CHANGE
    in 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)

    1. Use a job queue for pending transactions waiting for verifying
    2. Multiple workers trigger the verification process by picking task from queue
    3. Verification is changed to async style
    4. Use channel to resume/suspend vm
    5. No snapshot from VM machines
    6. No Suspend state from cache
    7. All transactions from remote peer will be added into queue

Bug Fixes

Improvements

@doitian
Copy link
Member Author

doitian commented Aug 20, 2024

@doitian doitian self-assigned this Aug 20, 2024
@doitian doitian moved this to 🏗 In progress in CKB Kanban Aug 20, 2024
@doitian doitian changed the title Release v0.118.0 Release CKB v0.118.0 Aug 20, 2024
@doitian
Copy link
Member Author

doitian commented Sep 4, 2024

Bug Fixes

@doitian doitian closed this as completed Sep 20, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in CKB Kanban Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant