Interface Peer


public interface Peer
A P2P peer for plugin use.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the enode URL of this peer.
    org.apache.tuweni.bytes.Bytes
    Get the peer's ID.
  • Method Details

    • getId

      org.apache.tuweni.bytes.Bytes getId()
      Get the peer's ID.
      Returns:
      peer ID
    • getEnodeURL

      EnodeURL getEnodeURL()
      Get the enode URL of this peer.
      Returns:
      enode URL