feat: update ckb node version and assume valid target (#2689)#2697
Merged
Conversation
yanguoyu
approved these changes
May 31, 2023
yanguoyu
approved these changes
May 31, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.110.1 (2023-05-31)
CKB Node & Light Client
Caveat
◆ CKB Light Client is only activated on testnet, thus only
light testnetis enabled in Neuron. CKB Light Client on Mainnet requires a hardfork on the mainnet in the future.◆ CKB@v0.110 requires data migration, which is irreversible. Be cautious to start the migration without a backup. How to back up data of ckb node
Assumed valid target
Block before
0xc0c532e10c708852d9586be46a5ed8317b2aa0835c721aa691abffb9bf4a26cd(at height10,004,892) will be skipped in validation.(#2689)Light Client Mode
YouTube: https://youtu.be/tQm9YvgG7iE
We are thrilled to introduce our new feature: Light Client Mode. This feature makes Neuron more practical and convenient, allowing you to manage your digital assets more easily. Please note that it is currently only available on the testnet, as activation on the mainnet will require a hardfork.
What is the light client model?
Light Client Mode is a connection mode of Neuron that connects to a built-in CKB Light Client. Compared to a full node, it downloads a portion of the blockchain data to obtain necessary information. This allows Neuron to access the CKB blockchain faster.
Light Client Mode Advantages
Using a MacBook Pro (13-inch, M1, 2020) device as an example, we conducted a realistic test of synchronization from block 0 to the latest block 9,380,828 (2023/05/22 Pudge network data):
In the above test scenario, using a light node compared to a full node reduced synchronization time by 84.7% and disk usage by 99.9%. (Please note that these numbers are for reference only and may vary depending on different equipment, network conditions, and account data.)
Light Client Mode Usage Scenarios
Compared to full nodes, light nodes require less disk space and network bandwidth, making them suitable for users who want to quickly access blockchain information without needing the full blockchain data. However, please note that for transactions containing time locks, Cheque contracts, or other operations that require full node data verification, you will need to switch to full nodes.
New features
Bug fixes
New Contributors
Full Changelog: v0.106.0...v0.110.1