-
Notifications
You must be signed in to change notification settings - Fork 233
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.8.0 #358
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace p2p library
333: test: setup integration test in Travis r=doitian a=doitian Co-authored-by: quake wang <[email protected]> Co-authored-by: ian <[email protected]>
334: feat: version verification r=doitian a=zhangsoledad Co-authored-by: zhangsoledad <[email protected]>
Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.12.0 to 0.12.2. - [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases) - [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md) - [Commits](rust-bitcoin/rust-secp256k1@0.12.0...0.12.2) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.4.10 to 0.5.0. - [Release notes](https://github.com/alexcrichton/toml-rs/releases) - [Commits](toml-rs/toml-rs@0.4.10...0.5.0) Signed-off-by: dependabot[bot] <[email protected]>
339: chore(deps): bump toml from 0.4.10 to 0.5.0 r=zhangsoledad a=dependabot[bot] Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.4.10 to 0.5.0. <details> <summary>Release notes</summary> *Sourced from [toml's releases](https://github.com/alexcrichton/toml-rs/releases).* > ## Preserve order feature, minor fixes > - Add `preserve_order` Cargo feature. This retains the order of map keys in `toml::Value`. ([#278](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/278)) > - Fix issue [#279](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/279) where some duplicate table headers were accepted. Added `Deserializer::set_allow_duplicate_after_longer_table` for anyone who wants to retain the old, broken behavior. ([#280](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/280)) > - Fix case sensitivity with T, Z, and E. ([#290](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/290)) > - Add `PartialEq` to `de::Error`. ([#292](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/292)) </details> <details> <summary>Commits</summary> - [`dbdcc9c`](toml-rs/toml-rs@dbdcc9c) Merge pull request [#292](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/292) from omarabid/master - [`fbc0557`](toml-rs/toml-rs@fbc0557) Add PartialEq to Toml::de - [`4fb12b4`](toml-rs/toml-rs@4fb12b4) Merge pull request [#290](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/290) from ehuss/fix-case-sensitivity - [`8fce90e`](toml-rs/toml-rs@8fce90e) Fix case sensitivity with T, Z, and E. - [`56f9afb`](toml-rs/toml-rs@56f9afb) Merge pull request [#278](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/278) from Kerollmops/master - [`d0977ab`](toml-rs/toml-rs@d0977ab) Merge pull request [#280](https://github-redirect.dependabot.com/alexcrichton/toml-rs/issues/280) from alexcrichton/fix-duplicate - [`7ee1c1b`](toml-rs/toml-rs@7ee1c1b) Fix disallowing duplicate table headers - [`ad5ea1d`](toml-rs/toml-rs@ad5ea1d) Update build urls - [`600c6e5`](toml-rs/toml-rs@600c6e5) Tweak travis config - [`0372ba6`](toml-rs/toml-rs@0372ba6) Update the serde test-suite map! macro - Additional commits viewable in [compare view](toml-rs/toml-rs@0.4.10...0.5.0) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=toml&package-manager=cargo&previous-version=0.4.10&new-version=0.5.0)](https://dependabot.com/compatibility-score.html?dependency-name=toml&package-manager=cargo&previous-version=0.4.10&new-version=0.5.0) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <[email protected]>
Bumps [bit-vec](https://github.com/contain-rs/bit-vec) from 0.5.0 to 0.5.1. - [Release notes](https://github.com/contain-rs/bit-vec/releases) - [Commits](https://github.com/contain-rs/bit-vec/commits) Signed-off-by: dependabot[bot] <[email protected]>
352: chore(deps): bump tokio from 0.1.17 to 0.1.18 r=doitian a=dependabot[bot] Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.1.17 to 0.1.18. <details> <summary>Commits</summary> - [`6e49450`](tokio-rs/tokio@6e49450) chore: fix Cargo.toml files - [`3c8f110`](tokio-rs/tokio@3c8f110) Bump Tokio version to v0.1.18 ([#997](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/997)) - [`678f15b`](tokio-rs/tokio@678f15b) ci: skip crates.io dep run when releasing ([#995](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/995)) - [`b1172f8`](tokio-rs/tokio@b1172f8) executor: add TypedExecutor ([#993](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/993)) - [`cdde2e7`](tokio-rs/tokio@cdde2e7) chore: repo maintenance + no path dependencies ([#991](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/991)) - [`8548772`](tokio-rs/tokio@8548772) trace: Span API polish ([#988](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/988)) - [`92d5120`](tokio-rs/tokio@92d5120) trace: Remove git dep on trace core for crates version ([#984](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/984)) - [`cb55bf4`](tokio-rs/tokio@cb55bf4) signal: Fix deprecated use of `Handle::current` ([#981](https://github-redirect.dependabot.com/tokio-rs/tokio/issues/981)) - See full diff in [compare view](tokio-rs/tokio@tokio-0.1.17...tokio-0.1.18) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=0.1.17&new-version=0.1.18)](https://dependabot.com/compatibility-score.html?dependency-name=tokio&package-manager=cargo&previous-version=0.1.17&new-version=0.1.18) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> 353: chore(deps): bump bit-vec from 0.5.0 to 0.5.1 r=doitian a=dependabot[bot] Bumps [bit-vec](https://github.com/contain-rs/bit-vec) from 0.5.0 to 0.5.1. <details> <summary>Commits</summary> - See full diff in [compare view](https://github.com/contain-rs/bit-vec/commits) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=bit-vec&package-manager=cargo&previous-version=0.5.0&new-version=0.5.1)](https://dependabot.com/compatibility-score.html?dependency-name=bit-vec&package-manager=cargo&previous-version=0.5.0&new-version=0.5.1) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot. </details> Co-authored-by: dependabot[bot] <[email protected]>
343: refactor: use CellProvider r=zhangsoledad a=quake This refactoring is intended to remove closure in ChainService and duplicate code in ChainState. And fix bugs in block processing and add some test cases. Co-authored-by: quake wang <[email protected]>
rocksdb 0.11.0 -> 0.12.0 tokio-sync 0.1.3 -> 0.1.4 proptest 0.9.1 -> 0.9.2
…he cellbase outputs maturity checking
336: feature: index whether a tx is a cellbase in the chain r=quake a=u2 Index whether a tx is a cellbase in the chain, prepare for the cellbase outputs maturity checking. Now saving the cellbase index and block number in the `TransactionMeta`, there is another implementation which creates a `HashMap<tx_hash, number>`. The second one may be a little memory saving, but this one is more simple. I think both are ok. #54 Co-authored-by: u2 <[email protected]>
354: chore: bump several deps r=zhangsoledad a=zhangsoledad rocksdb 0.11.0 -> 0.12.0 tokio-sync 0.1.3 -> 0.1.4 proptest 0.9.1 -> 0.9.2 Co-authored-by: zhangsoledad <[email protected]>
359: refactor: merge cell_set chain_state cell provider r=quake a=zhangsoledad Co-authored-by: zhangsoledad <[email protected]>
356: Unify network peer scoring r=jjyr a=jjyr Co-authored-by: jjy <[email protected]>
addition: * remove integration tests from root workspace * fix integration tests logger panic at flush
361: BREAKCHANGE: refactor network config r=jjyr a=jjyr Co-authored-by: jjy <[email protected]>
docs: rm docs/data-structures.md [skip ci]
365: fix: trace rpc r=zhangsoledad a=zhangsoledad addition: * remove integration tests from root workspace * fix integration tests logger panic at flush Co-authored-by: zhangsoledad <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features
feature: index whether a tx is a cellbase in the chain #336: index whether a tx is a cellbase in the chain r=quake a=u2
Index whether a tx is a cellbase in the chain, prepare for the cellbase outputs maturity checking.
Now saving the cellbase index and block number in the
TransactionMeta
, there is another implementation which creates aHashMap<tx_hash, number>
. The second one may be a little memory saving, but this one is more simple. I think both are ok.Consensus rule on cellbase outputs maturity period #54
feat: use TryFrom convert protocol #350: use TryFrom convert protocol r=doitian a=zhangsoledad
feat: Integrate discovery and identify protocol #340: Integrate discovery and identify protocol r=jjyr a=TheWaWaR
Known issues:
feat: Add random_peers function to PeerStore #345: Add
random_peers
function to PeerStore r=jjyr a=jjyrfeat: enforce
type
field of a cellbase output cell must be absent #335: Enforcetype
field of a cellbase output cell must be absent r=doitian a=zhangsoledadfeat: version verification #334: Version verification r=doitian a=zhangsoledad
Replace p2p library #295: Replace P2P library r=quake a=jjyr
Bug Fixes
fix: trace rpc #365: trace rpc r=zhangsoledad a=zhangsoledad
addition:
feat: verify tx cycles in relay protocol #341: verify tx cycles in relay protocol r=zhangsoledad a=jjyr
Improvements
refactor: merge cell_set chain_state cell provider #359: merge
cell_set
chain_state
cell provider r=quake a=zhangsoledadrefactor: use CellProvider #343: use CellProvider r=zhangsoledad a=quake
This refactoring is intended to remove closure in ChainService and duplicate code in ChainState. And fix bugs in block processing and add some test cases.
refactor: replace unwrap with expect #346: replace unwrap with expect r=doitian a=zhangsoledad
perf: shrink lock-acquisition #342: shrink lock-acquisition r=quake a=zhangsoledad
BREAKCHANGE: refactor network config #361: refactor network config r=jjyr a=jjyr
Unify network peer scoring #356: Unify network peer scoring r=jjyr a=jjyr
Refactor peer store #349: Refactor peer store r=jjyr a=jjyr
BREAKING CHANGES