paritytech / trappist-extra

Apache License 2.0
38 stars 6 forks source link

Show number of connected peers #12

Closed evilrobot-01 closed 1 year ago

Daanvdplas commented 1 year ago

System_peers: Returns the list of peers from the [network_service::NetworkService] that are used to synchronize blocks. Returns, for each peer, their identity and best block number and hash.

evilrobot-01 commented 1 year ago

System_peers: Returns the list of peers from the [network_service::NetworkService] that are used to synchronize blocks. Returns, for each peer, their identity and best block number and hash.

Unfortunately that method doesnt seem to be publicly available so using system_health RPC as per Substract Connect for now.