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

🎉[ᚬmaster] Rc/v0.10.0 #525

Merged
merged 180 commits into from
May 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
053c58b
feat: Update embedded script
xxuejie Apr 8, 2019
3da3e83
fix: clear tx verfy cache when chain reorg
zhangsoledad Apr 8, 2019
196e8e2
chore: add make task to run integration test
doitian Apr 8, 2019
2a1b8ef
chore: ensure cfbc version
doitian Apr 8, 2019
2f3914e
Merge #412
bors[bot] Apr 9, 2019
32be9aa
Merge #414 #416
bors[bot] Apr 9, 2019
ba0f88f
fix: Fix test
xxuejie Apr 9, 2019
5cb72d8
chore: use new constructors to make fixed structs more readable
yangby-cryptape Apr 9, 2019
7797cb3
Merge #419
bors[bot] Apr 9, 2019
24831f1
fix: try to repair a corrupted rocksdb automatically
yangby-cryptape Apr 9, 2019
c581ea3
feat: Remove version from Script
xxuejie Apr 9, 2019
de3d185
Merge #418
bors[bot] Apr 9, 2019
fc7defe
refactor: avoid recursive lock
zhangsoledad Apr 4, 2019
0974742
Merge #422
bors[bot] Apr 9, 2019
0590131
Merge #404
bors[bot] Apr 9, 2019
f0f11e4
chore(deps): bump criterion from 0.2.10 to 0.2.11 (#427)
dependabot[bot] Apr 10, 2019
6de07fd
chore(deps): bump flatbuffers-verifier from 0.1.8 to 0.1.9 (#428)
dependabot[bot] Apr 10, 2019
244c22b
chore(deps): bump hyper from 0.12.25 to 0.12.26 (#429)
dependabot[bot] Apr 10, 2019
78a3add
chore(deps): bump regex from 1.1.4 to 1.1.5 (#431)
dependabot[bot] Apr 10, 2019
378e223
chore(deps): bump bincode from 1.1.2 to 1.1.3 (#430)
dependabot[bot] Apr 10, 2019
98f97e2
chore(deps): bump serde_bytes from 0.10.5 to 0.11.1 (#433)
dependabot[bot] Apr 10, 2019
f5a17c1
chore(deps): bump serde from 1.0.89 to 1.0.90 (#432)
dependabot[bot] Apr 10, 2019
4c8166c
refactor: Use TryFrom when parsing RPC request data
xxuejie Apr 10, 2019
9925d4e
feat: Change capacity field to String type in RPC
xxuejie Apr 10, 2019
f37cf2c
fix: Add proper returns when parsing fails in miner
xxuejie Apr 10, 2019
6fb5964
refactor: Change the code to properly process errors
xxuejie Apr 10, 2019
2338d48
feat: Change all u64 fields in RPC to String
xxuejie Apr 10, 2019
f5b8a01
chore: private field
quake Apr 8, 2019
7901f50
chore: remove unused COLUMN_BLOCK_TRANSACTION_IDS column
quake Apr 8, 2019
d7d658e
feat: add DBIterator
quake Apr 8, 2019
8d6b5f6
refactor: change DbBatch to assoicated type (WIP)
quake Apr 9, 2019
f745bad
refactor: change DbBatch to assoicated type
quake Apr 10, 2019
06b4fc9
refactor: rename diskdb to rocksdb
quake Apr 10, 2019
5ca1dbe
refactor: batch function
quake Apr 10, 2019
f37264b
refactor: add helper methods to batch
quake Apr 10, 2019
89bfb95
refactor: remove static bound for ChainIndex
quake Apr 10, 2019
6bd4075
chore: rebase develop
quake Apr 10, 2019
bee5bb9
chore: rebase develop
quake Apr 10, 2019
ecb4ec0
refactor: change Col from Option to u32
quake Apr 10, 2019
d600e92
fix: accept_connection protocol registry
zhangsoledad Apr 10, 2019
641f146
refactor: get rid of `let _ =` pattern
zhangsoledad Apr 10, 2019
4c06dca
refactor: move cachedb to db module
quake Apr 10, 2019
0e65c5b
fix: return duplicated addr
Apr 10, 2019
29c0a4d
Merge #392
bors[bot] Apr 10, 2019
b580f33
Merge #434
bors[bot] Apr 10, 2019
4902e15
Merge #437
bors[bot] Apr 10, 2019
c812c16
fix: mining bug caused by type changes in RPC
xxuejie Apr 10, 2019
017568b
Merge #439
bors[bot] Apr 10, 2019
a2e8b45
chore: resolve some error handle issue
quake Apr 11, 2019
991e864
Merge branch 'rc/v0.9.0' into develop
doitian Apr 11, 2019
04f090e
docs: build ckb from master
doitian Apr 11, 2019
b42f9d4
feat: use hex string represent lock args in config
zhangsoledad Apr 11, 2019
76cc48d
Merge #441
bors[bot] Apr 11, 2019
0661659
Merge branch 'rc/v0.9.0' into develop
doitian Apr 11, 2019
7ee9967
chore: do not cache release build [skip ci]
doitian Apr 11, 2019
1a759e2
chore: unshallow repo before building package [skip ci]
doitian Apr 11, 2019
60b8c1a
Merge #435
doitian Apr 11, 2019
076c768
feat: tx valid since
jjyr Mar 29, 2019
2925b97
fix: update test always_success_type_hash for tx valid_since
jjyr Mar 29, 2019
04d7dde
fix: RPC add valid_since field
jjyr Apr 1, 2019
644f7aa
feat: move valid_since field from tx to CellInput
jjyr Apr 6, 2019
fd2ee8c
refactor: move ChainState initialize into new
jjyr Apr 6, 2019
9abfd68
doc: fix send_transaction RPC doc
jjyr Apr 6, 2019
44f2a22
fix: from parent block to calculate median_block_timestamp
jjyr Apr 6, 2019
5a944a8
refactor: remove unused clippy annotation
jjyr Apr 7, 2019
d1973bb
refactor: ChainState use tx_pool_config.txs_verify_cache_size
jjyr Apr 7, 2019
620d1ab
fix: ignore immature tx error in relay
jjyr Apr 8, 2019
d78b171
fix: regenerate protocol
jjyr Apr 8, 2019
e920572
fix: update valid_since timestamp represent accoding to RFC0017
jjyr Apr 9, 2019
9b21859
fix: cellbase input valid_since should be 0
jjyr Apr 9, 2019
cba3e03
fix: rebase witness
jjyr Apr 9, 2019
c7f1f3f
fix: verify tx valid_since remain flags must be empty
jjyr Apr 10, 2019
527edad
fix: tx valid_since rebase
jjyr Apr 10, 2019
d5fd988
fix: update cfb verifier
jjyr Apr 11, 2019
69d06e1
Merge branch 'rc/v0.9.0' into develop
doitian Apr 11, 2019
ef16437
fix: tx-valid-since rebase
jjyr Apr 11, 2019
b58721d
Merge #372
bors[bot] Apr 12, 2019
f4c7b1b
chore: fix quick start docs
doitian Apr 12, 2019
cfaf75b
docs: update nighly builds link
doitian Apr 12, 2019
9b05508
docs: update quick start [skip ci]
doitian Apr 12, 2019
4f5aadf
chore: bump rust toolchain to 1.34.0
zhangsoledad Apr 12, 2019
9485f1a
Merge #451
bors[bot] Apr 12, 2019
db84513
chore: upgrade p2p dependence
driftluo Apr 12, 2019
32b79b5
feat: relay known filter
zhangsoledad Apr 11, 2019
3cf197c
refactor: remove unused bloom_filter protocol
zhangsoledad Apr 11, 2019
bdc8ace
Merge #452
bors[bot] Apr 12, 2019
a12a5fd
fix: Sqlite can not start
TheWaWaR Apr 12, 2019
1b69bb6
refactor: merge ChainIndex and ChainStore trait, remove unused `Clone…
quake Apr 12, 2019
586b89c
chore: remove some unused `Send` and `static` trait bounds
quake Apr 12, 2019
d6ca06e
chore: remove unused ChainIndex file
quake Apr 12, 2019
884bfa1
chore: rebase develop
quake Apr 12, 2019
7662ee0
chore: re-enable some clippy hint
quake Apr 12, 2019
ac1fb97
chore: drop bors
doitian Apr 12, 2019
9de1418
Merge branch 'rc/v0.9.0' into develop
doitian Apr 12, 2019
f986b24
Merge pull request #455 from nervosnetwork/thewawar/fix-sqlite-start
doitian Apr 12, 2019
14d8ffc
Merge pull request #448 from zhangsoledad/zhangsoledad/relay_filter
doitian Apr 12, 2019
63a1bb6
Merge pull request #460 from doitian/drop-bors
doitian Apr 12, 2019
0800b17
chore: setup integration test in ci
doitian Apr 12, 2019
1afbd86
Merge branch 'rc/v0.9.0' into develop
doitian Apr 12, 2019
4c3d283
docs: fix docker image name
doitian Apr 12, 2019
75d0bc7
refactor: don't have to build rocksdb when use all jsonrpc types
yangby-cryptape Apr 13, 2019
d3acea8
Merge pull request #464 from yangby-cryptape/mv-txtrace-to-jsonrpc-types
quake Apr 13, 2019
e70407c
Merge pull request #463 from doitian/fix-docker-image-name
doitian Apr 13, 2019
d6fa197
docs: fix wrong option name
doitian Apr 13, 2019
b0003b6
feat: ckb must loads config files from file system.
doitian Apr 13, 2019
febcae0
fix: PeerStore unique constraint failed
jjyr Apr 13, 2019
ac79f50
Merge pull request #469 from jjyr/fix-peer-store-unique
doitian Apr 14, 2019
0db3859
Merge pull request #450 from nervosnetwork/quake/index_store_trait_merge
quake Apr 14, 2019
3b5ceed
Merge pull request #468 from doitian/require-config-file-to-start
quake Apr 14, 2019
554ba4e
Merge pull request #467 from doitian/wrong-option-name
quake Apr 14, 2019
e452c64
chore: add sentry tags
doitian Apr 14, 2019
dfd5c8a
chore: add more sentry tags
doitian Apr 14, 2019
ec6336f
fix: CuckooEngine verify invalid length proof should not panic
quake Apr 14, 2019
8d69722
Merge pull request #471 from nervosnetwork/quake/cuckoo_verify_panic
doitian Apr 14, 2019
6250bd8
Merge pull request #470 from doitian/configure-sentry
doitian Apr 15, 2019
2cdbe4a
fix: valid_since use String instead u64 in RPC
jjyr Apr 15, 2019
dbfb81c
Merge pull request #474 from jjyr/fix-valid-since-rpc
quake Apr 15, 2019
da88ddb
feature: cellbase maturity verify
u2 Apr 15, 2019
aa53bdd
Merge pull request #473 from u2/cellbase_maturity
jjyr Apr 16, 2019
1ac717c
feat: configurable cellbase maturity
zhangsoledad Apr 16, 2019
d374b05
Merge pull request #481 from zhangsoledad/zhangsoledad/configurable_c…
quake Apr 16, 2019
661412f
fix: mine depend txs in one block
jjyr Apr 16, 2019
c0729a9
Merge pull request #477 from jjyr/fix-depent-tx-in-same-block
jjyr Apr 16, 2019
97d6c53
fix: remove debug code from miner
jjyr Apr 16, 2019
bf0fb59
Merge pull request #484 from jjyr/remove-debug-code
jjyr Apr 16, 2019
c250039
chore(deps): bump hyper from 0.12.26 to 0.12.27
dependabot-support Apr 16, 2019
509aa19
chore(deps): bump regex from 1.1.5 to 1.1.6
dependabot-support Apr 16, 2019
c1f2d27
chore: let all jsonrpc types be public
yangby-cryptape Apr 15, 2019
bddb95d
feat: change all u64 fields in RPC to String and hide internal `Scrip…
yangby-cryptape Apr 15, 2019
57855f5
chore: replace unnecessary `TryFrom` by `From`
yangby-cryptape Apr 17, 2019
1e5ed4b
fix: several patches from testnet
zhangsoledad Apr 17, 2019
5e8e465
Merge pull request #489 from nervosnetwork/dependabot/cargo/regex-1.1.6
doitian Apr 17, 2019
1854285
Merge pull request #488 from nervosnetwork/dependabot/cargo/hyper-0.1…
doitian Apr 17, 2019
e30e859
docs: fix README.md for JSON-RPC protocols
yangby-cryptape Apr 17, 2019
06695be
Merge pull request #476 from yangby-cryptape/modify-jsonrpc-types
quake Apr 17, 2019
fa5c08a
fix: correct send_transaction rpc error message for unknown input or dep
quake Apr 18, 2019
805e294
Merge branch 'rc/v0.9.0' into develop
doitian Apr 18, 2019
9fba8d4
Merge pull request #497 from nervosnetwork/quake/fix_send_transaction…
quake Apr 18, 2019
bf9af93
fix: Transaction interface behavior inconsistency
driftluo Apr 16, 2019
96afd1e
chore: The same modification on TraceRPC
driftluo Apr 18, 2019
b50ae28
chore: rebase develop
driftluo Apr 18, 2019
8831db5
Merge pull request #480 from driftluo/fix-rpc-tx-interface-behavior
quake Apr 18, 2019
a839874
feat: rpc resolve tx from pending and staging
driftluo Apr 18, 2019
bce2c7f
feat: remove useless error
driftluo Apr 18, 2019
cbb6e68
refactor: check peers is_banned without query db
jjyr Apr 18, 2019
f3c580c
Merge pull request #503 from driftluo/TxRpc-resolve-from-pending-and-…
jjyr Apr 18, 2019
8a9d969
Merge branch 'develop' into zhangsoledad/hotfix
zhangsoledad Apr 18, 2019
fea2f0c
feat: add parameters to control the block generation rate in dummy mode
yangby-cryptape Apr 18, 2019
bf89260
fix: merge error
zhangsoledad Apr 18, 2019
acfa705
fix: incorrect occupied capacity computation for `Script`
yangby-cryptape Apr 18, 2019
7e68193
Merge pull request #509 from yangby-cryptape/fix-incorrect-occupied-c…
quake Apr 18, 2019
3efdef9
Merge pull request #504 from jjyr/peer-store-ban-ip-without-db
quake Apr 18, 2019
9d3d770
hotfix: fix VM hang bug for certain invalid programs
xxuejie Apr 19, 2019
fb67ccd
Merge pull request #510 from xxuejie/hotfix-vm-hang-issue
xxuejie Apr 19, 2019
ef1e7ff
Merge pull request #492 from zhangsoledad/zhangsoledad/hotfix
doitian Apr 19, 2019
e33d7e3
Merge pull request #501 from yangby-cryptape/feat-dummy-mode
doitian Apr 19, 2019
00ebcbb
test: sync call rpc
quake Apr 19, 2019
406b86f
Merge pull request #512 from nervosnetwork/quake/integration_test_fix
doitian Apr 19, 2019
f26ddc0
chore: enable overflow-checks build flag on release mode
jjyr Apr 22, 2019
342a614
Merge pull request #524 from jjyr/enable-integer-overflow-check-on-re…
jjyr Apr 22, 2019
a42d843
Merge branch 'master' into develop
doitian Apr 22, 2019
887ddc1
refactor: Make network more reliable
TheWaWaR Apr 15, 2019
5a5a50e
test: Fix peer registry tests
TheWaWaR Apr 15, 2019
3b7daae
test: Fix network related tests
TheWaWaR Apr 15, 2019
cf835f0
fix: Should not hold peer registry lock too long
TheWaWaR Apr 15, 2019
1e671d5
refactor: Remove sqlite connection pool
TheWaWaR Apr 16, 2019
c03aec2
refactor: Make peer_store field private
TheWaWaR Apr 16, 2019
64d99df
fix: Integration tests bug
TheWaWaR Apr 16, 2019
3cb11bc
fix: Graceful shutdown network
TheWaWaR Apr 16, 2019
b45d917
fix: Some network bugs
TheWaWaR Apr 17, 2019
9384bf0
fix: Network deadlock
TheWaWaR Apr 17, 2019
6be5b9b
chore: Improve log
TheWaWaR Apr 17, 2019
6434984
chore: Prettify network log
TheWaWaR Apr 19, 2019
eafa5cd
Merge branch 'thewawar/refactor-network' into rc/v0.10.0
doitian Apr 23, 2019
c55a9ff
fix: revert secp256k1_blake160_sighash_all
doitian Apr 25, 2019
238773d
Merge pull request #561 from doitian/revert_secp256k1_blake160_sighas…
doitian Apr 25, 2019
99d9857
chore: CHANGELOG for v0.10.0
doitian May 6, 2019
8db23db
chore: bump to 0.10.0
doitian May 6, 2019
74a6b00
chore: use toplevel Cargo.lock for integration test
doitian May 6, 2019
5a600b9
chore: use toplevel Cargo.lock for make check
doitian May 6, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ tags
/ckb-miner.toml
/data
/specs
/ckb-dev
/ckb-testnet
/ckb-mainnet
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ env:

matrix:
include:
- rust: 1.33.0
- rust: 1.34.0
os: osx
env: FMT=true CHECK=true TEST=true REL_PKG=darwin_amd64.zip
- rust: 1.33.0
- rust: 1.34.0
os: linux
env: TEST=true REL_PKG=linux_amd64.tar.gz

Expand Down Expand Up @@ -48,5 +48,6 @@ deploy:
condition: '"$GITHUB_TOKEN" != "" && "$REL_PKG" != ""'

before_cache:
- rm -rf ./target/release
- rm -rf ./target/debug/incremental/
- cargo sweep -f
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,61 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.


# [v0.10.0](https://github.com/nervosnetwork/ckb/compare/v0.9.0...v0.10.0) (2019-05-06)

### Bug Fixes

- #510: fix VM hang bug for certain invalid programs (@xxuejie)
- #509: fix incorrect occupied capacity computation for `Script` (@yangby-cryptape)
- #480: fix Transaction interface behavior inconsistency (@driftluo)
- #497: correct `send_transaction` rpc error message for unknown input or dep (@quake)
- #477: fix mining dependent txs in one block (@jjyr)
- #474: `valid_since` uses String instead u64 in RPC (@jjyr)
- #471: CuckooEngine verify invalid length proof should not panic (@quake)
- #469: fix PeerStore unique constraint failures (@jjyr)
- #455: fix Sqlite can not start (@TheWaWaR)
- #439: fix mining bug caused by type changes in RPC (@xxuejie)
- #437: RPC `local_node_info` returns duplicated addr (@rink1969)
- #418: try to repair a corrupted rocksdb automatically (@yangby-cryptape)
- #414: clear tx verfy cache when chain reorg (@zhangsoledad)


### Features

- #501: add parameters to control the block generation rate in dummy mode (@yangby-cryptape)
- #503: rpc resolve tx from pending and staging (@driftluo)
- #481: configurable cellbase maturity (@zhangsoledad)
- #473: cellbase maturity verification (@u2)
- #468: ckb must loads config files from file system. (@doitian)
- #448: relay known filter (@zhangsoledad)
- #372: tx valid since (@jjyr)
- #441: use hex string represent lock args in config (@zhangsoledad)
- #434: Change all u64 fields in RPC to String (@xxuejie)
- #422: Remove version from Script (@xxuejie)

### Improvements

- #504: refactor: check peers is_banned without query db (@jjyr)
- #476: modify jsonrpc types (@yangby-cryptape)

- chore: let all jsonrpc types be public (for client)
- feat: change all u64 fields in RPC to String and hide internal Script struct
- chore: replace unnecessary TryFrom by From
- docs: fix README.md for JSON-RPC protocols

- #435: refactor store module (@quake)
- #392: avoid recursive lock (@zhangsoledad)


### BREAKING CHANGES

- This release has changed the underlying database format, please delete the old data directory before running the new version.
- RPC `get_live_cell` returns `(null, "unknown")` when looking up null out point before, while returns `(null, "live")` now.
- RPC uses `string` to encode all 64bit integrers now.
- The executble `ckb` requires config files now, use `ckb init` to export the default ones.
- The new features tx valid sicne (#372) and removal of version from Script (#422) have changed the core data structure. They affect both RPC and the P2P messages flatbuffers schema.


# [v0.9.0](https://github.com/nervosnetwork/ckb/compare/v0.8.0...v0.9.0) (2019-04-22)

### Bug Fixes
Expand Down
Loading