fuel-core icon indicating copy to clipboard operation
fuel-core copied to clipboard

Expose P2P network information from the P2P orchestrator

Open bvrooman opened this issue 2 years ago • 3 comments

Getting currently connected peers:

  • [x] get_peers() method on network service returns the list of currently connected peers
  • [ ] Peers schema in fuel-core
  • [ ] GraphQL endpoint for retrieving Peers where the list of peers is populated by calling get_peers() on network service
  • [ ] Schema wrapper in fuel-client
  • [ ] get_peers() method on client returns the list of peers populated by querying GraphQL for peers

Peers subscription:

  • [ ] get_peer_updates() method on network service to create subscription to P2P events like peer connect and disconnect
  • [ ] P2P events are published to the subscription with the peer ID and peer event for all peers
  • [ ] GraphQL endpoint for calling get_peer_updates() and peer events are published to a websocket
  • [ ] get_peer_updates() on client queries GraphQL endpoint for peer updates

bvrooman avatar Sep 27 '22 23:09 bvrooman

Blocked on ongoing P2P upgrades

bvrooman avatar Oct 03 '22 14:10 bvrooman

this should be unblocked now

Voxelot avatar Jan 05 '23 00:01 Voxelot

@leviathanbeak @bvrooman What is the status of this issue right now?

xgreenx avatar Jan 31 '23 20:01 xgreenx