tuweni / org.apache.tuweni.devp2p / EphemeralPeerRepository / <init>

<init>

EphemeralPeerRepository(peers: MutableMap<PublicKey, Peer> = ConcurrentHashMap())

An in-memory peer repository.

Note: as the storage is in-memory, no retrieval methods in this implementation will suspend.