scuttlebutt-client-lib / org.apache.tuweni.scuttlebutt.lib.model / Peer / <init>
<init>
Peer()
Peer(address: String!, port: Int, key: String!, state: String!)
Parameters
address
- String!: the address of the peer used to connect to it
port
- Int: the port of the peer
key
- String!: the public key of the peer
state
- String!: the connection state of the peer