CKB Node & Light Client
- CKB@v0.110.0 was released on May. 17th, 2023. This version of CKB node is now bundled and preconfigured in Neuron.
- CKB Light Client@v0.2.4 was released on May. 28th, 2023. This version of CKB Light Client is now bundled and preconfigured in Neuron
Caveat
◆ CKB Light Client is only activated on testnet, thus only light testnet
is 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
On the other hand, we strongly recommend you to back up the old data before migrating, the ckb node data path can be found by clicking preference -> Data -> CKB Node Config & Storage. Because once the migration starts, the data will be no longer compatible with all older versions of CKB.
Assumed valid target
Block before 0xc0c532e10c708852d9586be46a5ed8317b2aa0835c721aa691abffb9bf4a26cd
(at height 10,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
- Higher synchronization speed: Light Client Mode enables faster synchronization of blockchain data, saving users' time and network bandwidth.
- Less disk usage: Light Client Mode requires only a fraction of the blockchain data to be stored, resulting in less storage space requirement compared to a full node.
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):
- Light Client Mode: The synchronization process consumed about 5.5 hours and approximately 45MB of disk space during running. (The disk usage is related to the transaction count, and this test included 782 transactions.)
- Full Node Mode: It took about 36 hours to synchronize 107.8GB of data. (Excluding the time to find an assumed valid target block.)
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
- #2615: Adapt ckb light node.(@yanguoyu)
- #2599: Implement dynamic fee rate based on fee rate statistics.(@jeffreyma597)
- #2689: Upgrade ckb node to v0.110.0.(@Keith-CY)
- #2627: Download ckb_aarch64 for neuron-arm64.(@Keith-CY)
- #2651: Add dialog warn for migrate date to 0.108.(@yanguoyu)
- #2567,#2568: Set allowToChangeInstallationDirectory for windows.(@yanguoyu)
- #2674: Improve the interaction design of the DatetimePicker component.(@WhiteMinds)
Bug fixes
- #2530: Batch request to improve performance of nervos dao records.(@yanguoyu)
- #2574: Improve heart beating check of built-in ckb node.(@yanguoyu)
- #2565: Remove obsolete indexer data.(@yanguoyu)
- #2581: Skip password requirement when interact with a hardware wallet.(@yanguoyu)
- #2609: Upgrade leveldown to fix SQLITE_MISUSE.(@devchenyan)
- #2595: Fix latency of switching networks.(@yanguoyu)
- #2629: Fix crash when enter over 8 decimal.(@yanguoyu)
New Contributors
- @Kuzirashi made their first contribution in https://github.com/nervosnetwork/neuron/pull/2559
- @mortoys made their first contribution in https://github.com/nervosnetwork/neuron/pull/2592
- @devchenyan made their first contribution in https://github.com/nervosnetwork/neuron/pull/2609
- @WhiteMinds made their first contribution in https://github.com/nervosnetwork/neuron/pull/2652
- @homura made their first contribution in https://github.com/nervosnetwork/neuron/pull/2657
Full Changelog: https://github.com/nervosnetwork/neuron/compare/v0.106.0...v0.110.0
Downloads
CKB
CKB v0.106.0 was released on Dec. 23rd, 2022. This version of CKB node is now bundled and preconfigured in Neuron.
Assumed valid target
Block before 0x076ffa81f8c6f2e1f22a778a1aa5d48531cc33bfd9b302e0d73fb2ce6fa4de3b
will be skipped in validation.
New features
- #2442: Make multisig import and export config compatible with ckb-cli.(@yanguoyu)
- #2454: Add 'contact us' in the menu -> help submenu.(@Keith-CY)
- #2461: Remove 4 epochs maturity requirement of header deps.(@yanguoyu)
- #2465: Adapt new UAN.(@yanguoyu)
- #2508: Use undici, an official http client, to replace axios.(@yanguoyu)
- #2515, #2542: Support Apple silicon chip.(@JeffreyMa597, @yanguoyu)
- #2518: Bump node.js from 16 to 18.(@JeffreyMa597)
- #2519: Bump react.js from 16 to 18.(@JeffreyMa597)
- #2555: Upgrade ckb node to v0.106.0.(@Keith-CY)
Bug fixes
- #2447: Prevent from importing the same multisig configuration repeatedly.(@yanguoyu)
- #2451: Refine the input field component.(@yanguoyu)
- #2464, #2478: Optimize setting data path.(@yanguoyu)
- #2467: Fix ckb process killed unexpectedly.(@yanguoyu)
- #2483: Fix ckb node not working with Apple silicon chip.(@yanguoyu)
- #2488: Create a new instance for every test case to avoid side effect.(@yanguoyu)
- #2531: Handle uncaughtException and output it in the log.(@yanguoyu)
- #2541: Remove CKB Indexer module and set a specified version of usb module.(@yanguoyu)
New contributors
- @JeffreyMa597 made their first contribution in #2515
Full Changelog: https://github.com/nervosnetwork/neuron/compare/v0.103.3...v0.106.0
Upgrade caveats
Downloads
OS | Arch | Package | SHA256 Checksum |
---|---|---|---|
Windows | x64 | exe | ad25084bfef9a533efe873d529968bad2d7b8f516da43c2b0d515fb12e4bf6f2 |
macOS | x64 | zip | 97ee83b8330515b77c53ac970181b942aea09b6664e913c02cd452cab0ec4635 |
macOS | arm64 | zip | 5080518acdb733fbc0466cb8b7dba2d97d5d1fd1ab0022014c5d5b65de8279ec |
macOS | x64 | DMG | a27cb4546c57859c7e650b693920cda04cd64b274fd2d6419f1e535c7f864023 |
macOS | arm64 | DMG | 25aac7745a49545593c7aa89ea0eecc82e8a132d7566baceac5031224ff35173 |
Linux | x64 | AppImage | 4c06f3242fda370c9420192fffc1b8b0cd3b79e7bb8dc1778df0b8cf47943ef0 |