Skip to content

Extend VersionPayload with service information #548

@ixje

Description

@ixje

Currently if one wants to discover available network services like RPC or REST you need to know about http://monitor.cityofzion.io/, https://happynodes.f27.ventures/ or something alike.

A solution to discover such services via the network would be to extend the VersionPayload with RPCPort, RESTPort and Websocket port (the most common ones currently missing). Then turn the Services into a flag that indicates which services are enabled.

public ulong Services;

This allows one to connect to the network and discover available services via the nodes (through a combination of PeerInfo requests and VersionPayload's). The aforementioned websites could also discover more available services improving the overall user experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionInitial issue state - proposed but not yet accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions