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

AKI-326: Remove external module dependencies from p2p #966

Merged
merged 5 commits into from
Aug 23, 2019

Conversation

AlexandraRoatis
Copy link
Contributor

Description

  • Removed the dependency on aion.log and aion.util from aion.p2p.impl:
    • The Logger object is now passed as input to constructors and methods.
    • The Node class implements its own hex string conversion with unit tests to ensure correctness.

Fixes Issue AKI-326.

Type of change

Insert x into the following checkboxes to confirm (eg. [x]):

  • Bug fix.
  • New feature.
  • Enhancement.
  • Unit test.
  • Breaking change (a fix or feature that causes existing functionality to not work as expected).
  • Requires documentation update.

@AlexandraRoatis AlexandraRoatis added enhancement New feature or request unit tests labels Aug 22, 2019
@AlexandraRoatis AlexandraRoatis added this to the 0.4.2 milestone Aug 22, 2019
@AlexandraRoatis AlexandraRoatis self-assigned this Aug 22, 2019
Copy link
Collaborator

@AionJayT AionJayT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AlexandraRoatis AlexandraRoatis force-pushed the AKI-326 branch 2 times, most recently from 0dd06ee to 5b157bc Compare August 22, 2019 22:15
@AlexandraRoatis AlexandraRoatis force-pushed the AKI-326 branch 2 times, most recently from 85c8133 to 2a53147 Compare August 23, 2019 15:04
 - removed multiple getters for the chain id;
 - avoid indirect access by the AionHub;
 - exposed only required functionality in the IP2pMgr interface;
@AlexandraRoatis
Copy link
Contributor Author

I added 3 more commits, one to detach modApiServer from p2p and the other two to clean up some of the exposed p2p functionality.

@AlexandraRoatis AlexandraRoatis force-pushed the AKI-326 branch 2 times, most recently from b18c2e3 to abf542a Compare August 23, 2019 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants