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.8.0 #358

Merged
merged 124 commits into from
Apr 8, 2019
Merged

Rc/v0.8.0 #358

merged 124 commits into from
Apr 8, 2019

Conversation

doitian
Copy link
Member

@doitian doitian commented Mar 25, 2019

Features

Bug Fixes

Improvements

BREAKING CHANGES

[network]
- reserved_nodes = []	
-only_reserved_peers = false	
-max_peers = 8	
-min_peers = 4	
-secret_file = "secret_key"	
-peer_store_path = "peer_store.db"	

+reserved_peers = []
+reserved_only = false
+max_peers = 125
+max_outbound_peers = 30
+config_dir_path = "default/network"
+ping_interval_secs = 15
+ping_timeout_secs = 20
+connect_outbound_interval_secs = 15

jjyr and others added 30 commits March 14, 2019 12:41
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]>
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]>
dependabot-support and others added 28 commits March 24, 2019 21:15
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
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]>
@doitian doitian merged commit 00bca19 into master Apr 8, 2019
@doitian doitian deleted the rc/v0.8.0 branch April 8, 2019 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants