Skip to content

Commit

Permalink
chore: update update neuron version and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed May 29, 2023
1 parent 9da3ccd commit 46c2973
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 5 deletions.
83 changes: 83 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,86 @@
# 0.110.0 (2023-05-31)

### CKB Node & Light Client

- [[email protected]](https://github.com/nervosnetwork/ckb/releases/tag/v0.110.0) was released on May. 17th, 2023. This version of CKB node is now bundled and preconfigured in Neuron.
- [CKB Light [email protected]](https://github.com/nervosnetwork/ckb-light-client/releases/tag/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.
**[email protected]** requires data migration, which is irreversible. Be cautious to start the migration without a backup. [How to back up data of ckb node](https://github.com/nervosnetwork/neuron/issues/2557#issue-1512510978)

> 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
[![Light client guide](https://github.com/Magickbase/neuron-public-issues/assets/7271329/eeed68ac-5f1b-457f-8203-c5d7b341b6b0)](https://youtu.be/tQm9YvgG7iE)

YouTube: https://youtu.be/tQm9YvgG7iE

---

We are pleased to introduce you our new feature: Light Client Mode. This feature will make our blockchain wallet application more practical and convenient, allowing you to manage your digital assets more easily.(Only support test network, main network version need to wait for hard fork activation)

#### What is the light client model?

Light client mode is a node mode that is lighter than a full node, it only needs to download a portion of the blockchain data to get the required information, users can access the blockchain information faster and do not need to wait for the full node to synchronize.

#### Light Client Mode Advantages

1. **Higher synchronization speed**: Using Light Client mode allows faster synchronization of blockchain data, saving users' time and network bandwidth.
2. **Less disk usage**: Light client mode requires only a fraction of the blockchain data to be stored, requiring less storage space compared to full nodes.

Using a **MacBook Pro (13-inch, M1, 2020)** device as an example, we realistically tested the synchronization from **0 to the latest block 9,380,828** (2023/05/22 Pudge network data):

Light node: **synchronization time about 5 hours and 30 minutes**, **data during runtime about 45M**; (light client mode disk consumption is related to the number of account transactions, the test account a total of **782 transaction records**)
Full node: **about 36 hours for synchronization**, **about 107.8G of data**;(excluding the time to find a trusted height)

The above test data in the case of the same equipment and network, light node compared to full node **synchronization time reduced 84.7%**, **disk use reduced 99.9%** (data for reference only, due to different equipment, network and account data, may be different from the experimental data)

#### Light Client Mode Usage Scenarios

Compared with full nodes, light nodes require less disk space and network bandwidth, and are suitable for those who want to access blockchain information quickly and do not need the full blockchain data. Therefore, it should be noted that for transactions containing time locks, Cheque contracts, etc. that require full node data verification, you 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



# 0.106.0 (2022-12-28)

### CKB
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "0.106.0",
"version": "0.110.0",
"npmClient": "yarn",
"useWorkspaces": true
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "neuron",
"productName": "Neuron",
"description": "CKB Neuron Wallet",
"version": "0.101.3",
"version": "0.110.0",
"private": true,
"author": {
"name": "Nervos Core Dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/neuron-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neuron-ui",
"version": "0.106.0",
"version": "0.110.0",
"private": true,
"author": {
"name": "Nervos Core Dev",
Expand Down
4 changes: 2 additions & 2 deletions packages/neuron-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"productName": "Neuron",
"description": "CKB Neuron Wallet",
"homepage": "https://www.nervos.org/",
"version": "0.106.0",
"version": "0.110.0",
"private": true,
"author": {
"name": "Nervos Core Dev",
Expand Down Expand Up @@ -87,7 +87,7 @@
"electron-builder": "23.6.0",
"electron-devtools-installer": "3.2.0",
"jest-when": "2.8.1",
"neuron-ui": "0.106.0",
"neuron-ui": "0.110.0",
"typescript": "5.0.4"
}
}

1 comment on commit 46c2973

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 5110549687

Please sign in to comment.