DporPeers retrieves all the information we know about each individual peer at the dpor protocol level
()
| 311 | // DporPeers retrieves all the information we know about each individual peer |
| 312 | // at the dpor protocol level |
| 313 | func (api *PublicDebugAPI) DporPeers() ([]*backend.PeerInfo, error) { |
| 314 | return api.cpc.Engine().(*dpor.Dpor).PeerInfos() |
| 315 | } |
| 316 | |
| 317 | // PrivateDebugAPI is the collection of cpchain full node APIs exposed over |
| 318 | // the private debugging endpoint. |