Skip to content

/peers endpoint does not need telemetry feature #5388

@0x009922

Description

@0x009922

The data about peers is coming from iroha_p2p and available at all times. It is only an implementation detail that the most convenient way for iroha_torii to get access to it is through the Telemetry component of iroha_core.

I suggest retrieve peers in iroha_torii bypassing Telemetry, by directly injecting the watch::Receiver into the Torii. Thus, /peers endpoint would not be feature-gated by the telemetry feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-changesChanges in the API for client librariesgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions