Interface Peer
public interface Peer
A P2P peer for plugin use.
-
Method Summary
Modifier and TypeMethodDescriptionorg.hyperledger.besu.plugin.data.EnodeURLGet the enode URL of this peer.org.apache.tuweni.bytes.BytesgetId()Get the peer's ID.
-
Method Details
-
getId
org.apache.tuweni.bytes.Bytes getId()Get the peer's ID.- Returns:
- peer ID
-
getEnodeURL
org.hyperledger.besu.plugin.data.EnodeURL getEnodeURL()Get the enode URL of this peer.- Returns:
- enode URL
-