public static DiscoveryPeer fromIdAndEndpoint(final Bytes id, final Endpoint endpoint) {
    return new DiscoveryPeer(endpoint.toEnode(id), endpoint);
  }
Represents an Ethereum node that we are interacting with through the discovery and wire
protocols.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/DiscoveryPeer.java