Skip to content

spore should display peers with their advertised port, not their actual connected port. #4

@XertroV

Description

@XertroV

Sample print(spore.peers):

{('127.0.0.1', 49624): <spore.Peer object at 0x7fac484044a8>, ('127.0.0.1', 49637): <spore.Peer object at 0x7fac484368d0>, ('127.0.0.1', 32555): <spore.Peer object at 0x7fac4841f1d0>, ('127.0.0.1', 32554): <spore.Peer object at 0x7fac4aca5320>, ('127.0.0.1', 32557): <spore.Peer object at 0x7fac48422470>, ('127.0.0.1', 49628): <spore.Peer object at 0x7fac484197b8>, ('127.0.0.1', 49634): <spore.Peer object at 0x7fac4840ff98>}

Those peers with addresses not around 32555-32559 are listening on one of those ports, but it isn't displayed. There are 5 nodes total in the above network.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions