Context
The seeds IPs are listed in a configuration file, but not the associated ports. The default port associated with the seeds IPs is hard-coded in network/synchronizer.go.
Description
For tests purpose or in the case where a seed uses a different port, each seed port should be set in a configuration file.
Tasks
[x] Change the config/seeds.json to hold ports
[x] Correctly parse the new config/seeds.json structure in network/synchronizer.go
Context The seeds IPs are listed in a configuration file, but not the associated ports. The default port associated with the seeds IPs is hard-coded in
network/synchronizer.go
.Description For tests purpose or in the case where a seed uses a different port, each seed port should be set in a configuration file.
Tasks
config/seeds.json
to hold portsconfig/seeds.json
structure innetwork/synchronizer.go