@Override
  public String toString() {
    return String.format(
        "PeerId: %s %s, validated? %s, disconnected? %s, client: %s, %s, %s, isServingSnap %s, has height %s, connected for %s ms",
        getLoggableId(),
        reputation,
        isFullyValidated(),
        isDisconnected(),
        connection.getPeerInfo().getClientId(),
        connection,
        connection.getPeer().getEnodeURLString(),
        isServingSnap,
        chainHeadState.getEstimatedHeight(),
        System.currentTimeMillis() - connection.getInitiatedAt());
  }
Return A read-only snapshot of this peer's current {@code chainState}

@return A read-only snapshot of this peer's current {@code chainState}
ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeer.java