Information for a peer of type
Main QuicP2p instance to communicate with QuicP2p
To be used to read and write our certificate and private key to disk esp. as a part of our configuration file
QuicP2p Events to the user
Whether we are a client or a node
Representation of a peer to us.
Default interval within which if we hear nothing from the peer we declare it offline to us.
Default Interval to send keep-alives if we are idling so that the peer does not disconnect from us declaring us offline. If none is supplied we'll default to the documented constant.
Default maximum allowed message size. We'll error out on any bigger messages and probably
shutdown the connection. This value can be overridden via the
In the absence of a port supplied by the user via the config we will first try using this before using a random port.
Result used by