Class PeerInfos

java.lang.Object
io.mokamint.node.PeerInfos

public abstract class PeerInfos extends Object
Providers of peer information objects.
  • Method Details

    • of

      public static PeerInfo of(Peer peer, long points, boolean connected)
      Yields peer information with the given data.
      Parameters:
      peer - the peer described by the peer information
      points - the points of the peer
      connected - the connection status of the peer
      Returns:
      the peer information