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

RC v0.4.0 #167

Merged
merged 81 commits into from
Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
abf6b5b
refactor: Remove obsolete secp256k1 script in CKB
xxuejie Dec 21, 2018
be683a8
fix: rustfmt
xxuejie Dec 21, 2018
7af8639
refactor: Use fmt::LowerHex to simplify code
xxuejie Dec 21, 2018
4ecf813
feat: add rpc max_request_body_size config
quake Dec 25, 2018
0f8f08e
Merge pull request #122 from nervosnetwork/quake/rpc_max_body
quake Dec 25, 2018
11e3986
doc: add missing blank space in comment (#124)
u2 Dec 25, 2018
a777ba1
Merge pull request #117 from nervosnetwork/xxuejie/remove-obsolete-se…
xxuejie Dec 25, 2018
18d1d8e
refactor: use derive clone
u2 Dec 25, 2018
a7cadea
doc: add mailing list address to CONTRIBUTING
doitian Dec 26, 2018
8206b98
refactor: use derive clone and some tiny improvements
u2 Dec 26, 2018
2769180
Merge pull request #126 from u2/refactor_clone
zhangsoledad Dec 26, 2018
806d1f0
Merge pull request #128 from u2/refactor_clone2
zhangsoledad Dec 26, 2018
f348821
refactor: rename OutofBound -> OutOfBound
zhangsoledad Dec 24, 2018
6e128c1
refactor: rename CellOutput#contract to CellOutput#_type
zhangsoledad Dec 24, 2018
ede5108
refactor: rename CellStatus old -> dead, current -> live
zhangsoledad Dec 24, 2018
58cb857
refactor: rename ambiguous tx error
zhangsoledad Dec 26, 2018
71dec8b
refactor: unify Cellbase style
zhangsoledad Dec 26, 2018
5634397
chore: Upgrade ckb-vm
xxuejie Dec 27, 2018
3389d7e
Merge pull request #121 from zhangsoledad/zhangsoledad/rename
zhangsoledad Dec 27, 2018
36f1ec0
Merge pull request #129 from nervosnetwork/xxuejie/upgrade-ckb-vm-ver…
xxuejie Dec 27, 2018
6717b1f
feat: add transaction filter
quake Dec 24, 2018
2107d3b
fix: remove unused file
quake Dec 25, 2018
ec8f3b7
fix: error arg
quake Dec 28, 2018
41eadc5
Merge pull request #119 from nervosnetwork/quake/tx_filter
jjyr Dec 28, 2018
62f57c0
refactor: unify h256 and ProposalShortId serialization (#125)
quake Dec 29, 2018
c63d64b
feat: past blocks median time based header timestamp verification
jjyr Dec 29, 2018
c02202f
feat: Add BlockMedianTimeContext trait allow to calculate block media…
jjyr Dec 30, 2018
e807036
chore(deps): bump failure from 0.1.3 to 0.1.4 (#135)
dependabot[bot] Dec 31, 2018
941f87c
chore(deps): bump serde_derive from 1.0.82 to 1.0.83 (#136)
dependabot[bot] Dec 31, 2018
f91c61d
chore(deps): bump crossbeam-channel from 0.3.4 to 0.3.6 (#138)
dependabot[bot] Dec 31, 2018
150e061
chore(deps): bump serde from 1.0.82 to 1.0.83 (#139)
dependabot[bot] Dec 31, 2018
146925a
chore(deps): bump criterion from 0.2.5 to 0.2.7 (#137)
dependabot[bot] Dec 31, 2018
3701ab3
Merge pull request #134 from nervosnetwork/jjyr/block-median-time-bas…
jjyr Jan 2, 2019
4bf9555
fix: shared data clone
TheWaWaR Jan 2, 2019
38c44bc
Merge pull request #140 from nervosnetwork/thewawar/fix-shared-clone
quake Jan 3, 2019
c496e4f
docs: add how to contribute title to README
Mine77 Jan 3, 2019
a30646d
Merge branch 'master' into develop
doitian Jan 3, 2019
3dd541c
chore: bump to v0.4.0-pre
doitian Jan 3, 2019
5300b1f
Merge pull request #149 from Mine77/update/add-how-to-contribute-title
quake Jan 3, 2019
dd1ed0b
feat: jsonrpc types
zhangsoledad Dec 28, 2018
2dabe21
[skip ci]docs: update jsonapi example
zhangsoledad Dec 28, 2018
405d01b
test: jsonrpc types convert
zhangsoledad Dec 29, 2018
7965805
Merge pull request #130 from zhangsoledad/zhangsoledad/rpc_hex
zhangsoledad Jan 3, 2019
bf95126
refactor: Add SqlitePeerStore
jjyr Dec 21, 2018
bd747d8
refactor: test SqlitePeerStore
jjyr Dec 25, 2018
f2d86ba
refactor: remove broken kad discovery protocol
jjyr Dec 25, 2018
5afccd6
fix: add index on peer_store tables
jjyr Dec 25, 2018
c7e13fb
refacor: use connection pool to allow concurrency query from SqlitePe…
jjyr Dec 26, 2018
0a72e79
bench: benchmark SQLite peer_store performance
jjyr Dec 27, 2018
8763d34
refactor: reduce 'expect' in SQLite db queries
jjyr Jan 2, 2019
a1bdf98
Merge pull request #127 from nervosnetwork/jjyr/sqlite-impl-peerstore
jjyr Jan 3, 2019
6a4137f
fix: docker deps sqlite
zhangsoledad Jan 3, 2019
373a662
Merge pull request #152 from zhangsoledad/zhangsoledad/docker_sqlite3
zhangsoledad Jan 4, 2019
22adb37
feat: Add block level script cycle limit
xxuejie Jan 4, 2019
6e10311
feat: Add cycle costs to CKB syscalls
xxuejie Jan 4, 2019
ce812f3
fix: use a bundled version of sqlite3
jjyr Jan 3, 2019
aebeb7f
feat: enum der config (#156)
zhangsoledad Jan 4, 2019
7645f79
fix: Fix clippy
xxuejie Jan 4, 2019
ca02b60
Merge pull request #153 from nervosnetwork/jjyr/bundled-sqlite
jjyr Jan 4, 2019
46181cd
fix: Improve code using rayon per code review
xxuejie Jan 4, 2019
f2e04c6
chore(deps): bump serde_json from 1.0.33 to 1.0.34
dependabot-support Jan 6, 2019
f18eed2
chore(deps): bump parking_lot from 0.7.0 to 0.7.1
dependabot-support Jan 6, 2019
88d15bb
chore(deps): bump failure from 0.1.4 to 0.1.5
dependabot-support Jan 6, 2019
e035a5c
Merge pull request #159 from nervosnetwork/dependabot/cargo/serde_jso…
zhangsoledad Jan 7, 2019
cfc6008
Merge pull request #163 from nervosnetwork/dependabot/cargo/failure-0…
zhangsoledad Jan 7, 2019
16e6517
Merge pull request #162 from nervosnetwork/dependabot/cargo/parking_l…
zhangsoledad Jan 7, 2019
fcc01da
Merge pull request #157 from nervosnetwork/xxuejie/add-block-cycle-limit
zhangsoledad Jan 7, 2019
c46cdb0
chore(deps): bump serde_derive from 1.0.83 to 1.0.84
dependabot-support Jan 7, 2019
1498ce5
Merge pull request #164 from nervosnetwork/dependabot/cargo/serde_der…
zhangsoledad Jan 7, 2019
e9b37ba
chore(deps): bump serde from 1.0.83 to 1.0.84
dependabot-support Jan 7, 2019
3fb5e56
Merge pull request #161 from nervosnetwork/dependabot/cargo/serde-1.0.84
zhangsoledad Jan 7, 2019
8c15aa6
chore(deps): bump rand from 0.6.1 to 0.6.3
dependabot-support Jan 7, 2019
eae6f67
Merge pull request #160 from nervosnetwork/dependabot/cargo/rand-0.6.3
zhangsoledad Jan 7, 2019
f53b69a
doc: change known issues link to project board
doitian Jan 7, 2019
a3a8e27
doc: known issues are in board, but not wiki
doitian Jan 7, 2019
bb83898
feat: add merkle-tree (#143)
quake Jan 7, 2019
a50a334
chore: bump ring from 0.12 to 0.13
zhangsoledad Jan 14, 2019
ca73216
chore: update Cargo.lock
doitian Jan 14, 2019
cda49a3
feat: upgrade to rust 1.31.1
zhangsoledad Jan 10, 2019
bfdc401
chore: draft CHANGELOG for v0.4.0
doitian Jan 7, 2019
54365e3
chore: bump to v0.4.0
doitian Jan 14, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ env:
matrix:
include:
- os: osx
rust: 1.31.0
rust: 1.31.1
install:
- cargo fmt --version || rustup component add rustfmt
- cargo clippy --version || rustup component add clippy
env: SUITE=ci
- rust: 1.31.0
- rust: 1.31.1
addons:
apt:
packages:
Expand Down
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,51 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.


# [v0.4.0](https://github.com/nervosnetwork/ckb/compare/v0.3.0...v0.4.0) (2019-01-14)


### Bug Fixes

* unnecessary shared data clone ([4bf9555](https://github.com/nervosnetwork/ckb/commit/4bf9555))

### Features

* upgrade to Rust 1.31.1
* **cell model**: rename CellBase to Cellbase ([71dec8b](https://github.com/nervosnetwork/ckb/commit/71dec8b))
* **cell model**: rename CellStatus old -> dead, current -> live ([ede5108](https://github.com/nervosnetwork/ckb/commit/ede5108))
* **cell model**: rename OutofBound -> OutOfBound ([f348821](https://github.com/nervosnetwork/ckb/commit/f348821))
* **cell model**: rename `CellOutput#contract` to `CellOutput#_type` ([6e128c1](https://github.com/nervosnetwork/ckb/commit/6e128c1))
* **consensus**: add block level script cycle limit ([22adb37](https://github.com/nervosnetwork/ckb/commit/22adb37))
* **consensus**: past blocks median time based header timestamp verification ([c63d64b](https://github.com/nervosnetwork/ckb/commit/c63d64b))
* **infrastructure**: new merkle tree implementation ([#143](https://github.com/nervosnetwork/ckb/issues/143)) ([bb83898](https://github.com/nervosnetwork/ckb/commit/bb83898))
* **infrastructure**: upgrade `config-rs` and use enum in config parsing ([#156](https://github.com/nervosnetwork/ckb/issues/156)) ([aebeb7f](https://github.com/nervosnetwork/ckb/commit/aebeb7f))
* **p2p framework**: remove broken kad discovery protocol ([f2d86ba](https://github.com/nervosnetwork/ckb/commit/f2d86ba))
* **p2p framework**: use SQLite implement PeerStore to replace current MemoryPeerStore ([#127](https://github.com/nervosnetwork/ckb/pull/127))
* **p2p protocol**: add transaction filter ([6717b1f](https://github.com/nervosnetwork/ckb/commit/6717b1f))
* **p2p protocol**: unify h256 and ProposalShortId serialization (#125) ([62f57c0](https://github.com/nervosnetwork/ckb/commit/62f57c0)), closes [#125](https://github.com/nervosnetwork/ckb/issues/125)
* **peripheral**: add RPC `max_request_body_size` config ([4ecf813](https://github.com/nervosnetwork/ckb/commit/4ecf813))
* **peripheral**: add cycle costs to CKB syscalls ([6e10311](https://github.com/nervosnetwork/ckb/commit/6e10311))
* **peripheral**: jsonrpc types wrappers: use hex in JSON for binary fields ([dd1ed0b](https://github.com/nervosnetwork/ckb/commit/dd1ed0b))
* **scripting**: remove obsolete secp256k1 script in CKB ([abf6b5b](https://github.com/nervosnetwork/ckb/commit/abf6b5b))
* refactor: rename ambiguous tx error ([58cb857](https://github.com/nervosnetwork/ckb/commit/58cb857))


### BREAKING CHANGES

* JSONRPC changes, see the diff of [rpc/doc.md](https://github.com/nervosnetwork/ckb/pull/167/files#diff-4f42fac509e2d1b81953e419e628555c)
* Binary fields encoded as integer array are now all in 0x-prefix hex string.
* Rename transaction output `contract` to `type`
* Rename CellStatus old -> dead, current -> live
* P2P message schema changes, see the diff of
[protocol/src/protocol.fbs](https://github.com/nervosnetwork/ckb/pull/167/files#diff-bc09df1e2436ea8b2e4fa1e9b2086977)
* Add struct `H256` for all H256 fields.
* Add struct `ProposalShortId`
* Config changes, see the diff of
[nodes\_template/default.json](https://github.com/nervosnetwork/ckb/pull/167/files#diff-315cb39dece2d25661200bb13db8458c)
* Add a new option `max_request_body_size` in section `rpc`.
* Changed the default miner `type_hash`


# [v0.3.0](https://github.com/nervosnetwork/ckb/compare/v0.2.0...v0.3.0) (2019-01-02)


Expand Down
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Contributing

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the community before making a change.
email, or any other method with the community before making a change. The developer mailing list
([English] | [Chinese]) should be used to discuss complicated or controversial changes before working
on a patch set.

[english]: https://groups.google.com/a/nervos.org/d/forum/ckb-dev
[chinese]: https://groups.google.com/a/nervos.org/d/forum/ckb-dev-zh

Please note we have a code of conduct, please follow it in all your interactions with the project.

Expand Down
Loading