removePeer abstract method

Future<void> removePeer(
  1. PeerId id
)

Removes all the peer related information except its addresses. To remove the addresses use AddrBook.clearAddrs or set the address ttls to 0.

Implementation

Future<void> removePeer(PeerId id);