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

light client softfork #3515

Conversation

zhangsoledad
Copy link
Member

@zhangsoledad zhangsoledad commented Jul 27, 2022

What is changed and how it works?

Implement versionbits softfork activation, active softfork through versionbits.

Simple refactoring of the chain module, and integration of the chain_root checks into the extension verifier.
https://github.com/nervosnetwork/ckb/blob/79276d1596144997268511e1c23ae0ec996a840b/chain/src/chain.rs
https://github.com/nervosnetwork/ckb/pull/3515/files#diff-a8674a1e55ab7cf3a12a62c1ab80fe90bacfaea59aeca6d0f3c839aa7a565410R516-R594

Some parameters are now hardcode, and can be adjusted later
https://github.com/nervosnetwork/ckb/pull/3515/files#diff-7aabb1d939a59b6c50c0eef8278852539bc3f54284e583aa784c8c3fc554b567R510-R537

Check List

Tests

  • Unit test
  • Integration test

Release note

Title Only: Include only the PR title in the release note.

@zhangsoledad zhangsoledad force-pushed the zhangsoledad/light-client-softfork branch from 9959e53 to 0ccd974 Compare July 28, 2022 13:48
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/light-client-softfork branch 7 times, most recently from 3a39cdf to 79276d1 Compare August 2, 2022 12:01
@zhangsoledad zhangsoledad marked this pull request as ready for review August 3, 2022 08:12
@zhangsoledad zhangsoledad requested a review from a team as a code owner August 3, 2022 08:12
@zhangsoledad zhangsoledad requested review from quake and yangby-cryptape and removed request for a team August 3, 2022 08:12
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/light-client-softfork branch from 456ff7c to 2127104 Compare August 3, 2022 08:48
spec/src/versionbits/mod.rs Outdated Show resolved Hide resolved
tx-pool/src/block_assembler/mod.rs Show resolved Hide resolved
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/light-client-softfork branch 2 times, most recently from 7cc35d2 to 080f2fb Compare August 8, 2022 10:35
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/light-client-softfork branch from 080f2fb to 57f4ac2 Compare August 8, 2022 10:36
@quake quake merged commit 1696bd9 into nervosnetwork:light-client-rebase Aug 9, 2022
@zhangsoledad zhangsoledad deleted the zhangsoledad/light-client-softfork branch August 9, 2022 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants