mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 05:11:21 +00:00
some notes about the p2p layer
This commit is contained in:
@ -47,6 +47,8 @@ func NetInfo() (*ctypes.ResultNetInfo, error) {
|
||||
ConnectionStatus: peer.Status(),
|
||||
})
|
||||
}
|
||||
// TODO: should we include "num_peers" field for convenience ?
|
||||
// Let's also include the PersistentPeers and Seeds in here.
|
||||
return &ctypes.ResultNetInfo{
|
||||
Listening: listening,
|
||||
Listeners: listeners,
|
||||
|
Reference in New Issue
Block a user