fboucquez / symbol-bootstrap

A tool that allows you to quickly configure and setup Symbol testnets and nodes.
Apache License 2.0
47 stars 27 forks source link

Fix peers json not getting generated correctly. #318

Closed Wayonb closed 2 years ago

Wayonb commented 2 years ago

The peers json files does not get generated correctly after the statistics service implementation.

The issues are

  1. API nodes are been placed in peers-p2p.json
  2. Nodes that are not API been put into the peers-api.json

For local network, peer-0 and peer-1 nodes were not able to discover each other. For mainnet, this would most likely cause the peers-api.json to be empty due to the fact that most of the network is dual nodes(includes api).

sonarcloud[bot] commented 2 years ago

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication