iotex-core icon indicating copy to clipboard operation
iotex-core copied to clipboard

[p2p] support network separation

Open envestcc opened this issue 2 years ago • 5 comments

Description

P2P support block, action, consensus three networks, main changes including:

  • add option to choose networks to join
  • add broadcast, unicast, connectedPeers by network method for Agent
  • add AgentProxy to maintain compatibility

Fixes #(issue)

Type of change

Please delete options that are not relevant.

  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [x] make test

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [x] Any dependent changes have been merged and published in downstream modules

envestcc avatar Feb 27 '23 15:02 envestcc

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
1.5% 1.5% Duplication

sonarqubecloud[bot] avatar Mar 23 '23 06:03 sonarqubecloud[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
1.4% 1.4% Duplication

sonarqubecloud[bot] avatar Aug 07 '23 08:08 sonarqubecloud[bot]

IIP-16 paused

envestcc avatar Aug 28 '23 09:08 envestcc