fuel-core
fuel-core copied to clipboard
Expose P2P network information from the P2P orchestrator
Getting currently connected peers:
- [x]
get_peers()
method on network service returns the list of currently connected peers - [ ]
Peers
schema infuel-core
- [ ] GraphQL endpoint for retrieving
Peers
where the list of peers is populated by callingget_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
Blocked on ongoing P2P upgrades
this should be unblocked now
@leviathanbeak @bvrooman What is the status of this issue right now?