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

feat(test): redesign the way of Net communicate with peers #2294

Merged

Conversation

keroro520
Copy link
Contributor

@keroro520 keroro520 commented Sep 21, 2020

Based on #2286. So please review #2286 first.

There are 2 significant updations:

  • Initialize Net's network controller when creating Net Instance.
  • Make the communication channels peer-level. Which is say, we can receive network messages from specific peers. This feature prevents peers' message confusion.

@keroro520 keroro520 force-pushed the integration-test-programability-net branch from 0c20743 to 4de276f Compare September 25, 2020 06:41
test/src/net.rs Outdated Show resolved Hide resolved
quake
quake previously approved these changes Sep 27, 2020
@ybian19
Copy link
Contributor

ybian19 commented Sep 30, 2020

bors r=quake,chuijiaolianying

bors bot added a commit that referenced this pull request Sep 30, 2020
2294: feat(test): redesign the way of Net communicate with peers r=quake,chuijiaolianying a=keroro520

Based on #2286. So please review #2286  first.

There are 2 significant updations:

  * Initialize `Net`'s network controller when creating `Net` Instance.
  * Make the communication channels peer-level. Which is say, we can receive network messages from specific peers. This feature prevents peers' message confusion.

Co-authored-by: keroro <keroroxx520@gmail.com>
@bors
Copy link
Contributor

bors bot commented Sep 30, 2020

Build failed:

  • continuous-integration/travis-ci/push

@doitian
Copy link
Member

doitian commented Oct 9, 2020

bors retry

bors bot added a commit that referenced this pull request Oct 9, 2020
2294: feat(test): redesign the way of Net communicate with peers r=quake,chuijiaolianying a=keroro520

Based on #2286. So please review #2286  first.

There are 2 significant updations:

  * Initialize `Net`'s network controller when creating `Net` Instance.
  * Make the communication channels peer-level. Which is say, we can receive network messages from specific peers. This feature prevents peers' message confusion.

Co-authored-by: keroro <keroroxx520@gmail.com>
@bors
Copy link
Contributor

bors bot commented Oct 9, 2020

Timed out.

@keroro520
Copy link
Contributor Author

bors retry

@bors
Copy link
Contributor

bors bot commented Oct 9, 2020

Build succeeded:

@bors bors bot merged commit 228b5de into nervosnetwork:develop Oct 9, 2020
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.

None yet

4 participants