AlgoNode / go-algorand

Algorand's official implementation in Go, with extras by Nodely.io (Algonode)
https://developer.algorand.org/
Other
1 stars 0 forks source link

p2p/ws: connected peers REST endpoint and goal CLI #2

Open urtho opened 2 months ago

urtho commented 2 months ago

Status

Neither goal utility nor algod API have the ability to expose connected peers.

Expected

urtho commented 2 months ago

REST endpoint implemented in d5c0053b5b6d06df74723fdfcc5e0cc5d28a59aa. Needs

urtho commented 2 months ago

Testing P2P peers on current mainnet requires a catchup node and:

this will switch a mainnet participation node to P2P only mode.

a hybrid (P2P and WS) mode can be tested with EnableP2PHybridMode: true instead of EnableP2P: true