Skip to content

Commit

Permalink
Merge pull request #1489 from nervosnetwork/rc/v0.29.0
Browse files Browse the repository at this point in the history
[ᚬmaster] Rc/v0.29.0
  • Loading branch information
ashchan committed Mar 31, 2020
2 parents e4810ce + f169977 commit 7d2acbc
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 6 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# 0.29.0 (2020-03-31)

### Bundled CKB node

CKB v0.29.0 was released on Feb 26th, 2020. This version of CKB node is now bundled and preconfigured in Neuron.

### New features

We added several new features with this version:

* Sign/Verify message: Sign a message with an address and its private key, or verify a signed message with an address and its public key.
* Customized assets: List customized assets that have non-standard cells, e.g. cells with locktime. Holders with locked assets from the genesis block would be able to view them now.
* Transaction with locktime: Send a transaction that could only be released after the locktime.
* Synced block number: Hover over the sync status area on the left bottom and check the CKB tip block number and Neuron synced block number, to see the process of the syncing.

### Performance tweak

Thanks to the community we have found and fixed a serious performance issue. Miner wallets usually receive transactions with huge amount of inputs. When syncing this kind of wallets Neuron became very slow and unresponsive, and couldn't calculate the balance correctly. With this release we've tweaked the sync process, making it run faster and handle transactions with many inputs/outputs properly.

### Electron

We updated Electron to 7.1.14.

### Bug fixes

* Fixed serveral syncing issues causing incorrect balance.
* Fixed a bug that when clearing cache transaction description would be lost.


# 0.29.0-rc3 (2020-03-24)

This is an RC version to preview the changes in the next release.
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.29.0-rc3",
"version": "0.29.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.29.0-rc3",
"version": "0.29.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.29.0-rc3",
"version": "0.29.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.29.0-rc3",
"version": "0.29.0",
"private": true,
"author": {
"name": "Nervos Core Dev",
Expand Down Expand Up @@ -71,7 +71,7 @@
"electron-devtools-installer": "2.2.4",
"electron-notarize": "0.2.1",
"lint-staged": "9.2.5",
"neuron-ui": "0.29.0-rc3",
"neuron-ui": "0.29.0",
"rimraf": "3.0.0",
"spectron": "9.0.0",
"ts-transformer-imports": "0.4.3",
Expand Down
7 changes: 6 additions & 1 deletion packages/neuron-wallet/src/controllers/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ export default class TransactionsController {

const addresses = AddressesService.allAddressesByWalletId(walletID).map(addr => addr.address)

const transactions = await TransactionsService.getAllByAddresses({ pageNo, pageSize, addresses }, keywords.trim())
const transactions = await TransactionsService
.getAllByAddresses({ pageNo, pageSize, addresses }, keywords.trim())
.catch(() => ({
totalCount: 0,
items: [] as Transaction[]
}))
transactions.items = await Promise.all(transactions.items.map(async tx => {
const description = await getDescription(walletID, tx.hash!)
if (description !== '') {
Expand Down

0 comments on commit 7d2acbc

Please sign in to comment.