Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2023 Changes in this version + const MaxOCRMsgLength + func NewPeer(c PeerConfig) (*concretePeer, error) + type BinaryNetworkEndpointLimits struct + BytesCapacityPerOracle int + BytesRatePerOracle float64 + MaxMessageLength int + MessagesCapacityPerOracle int + MessagesRatePerOracle float64 + type EndpointConfigV1 struct + BootstrapCheckInterval time.Duration + DHTLookupInterval int + IncomingMessageBufferSize int + NewStreamTimeout time.Duration + OutgoingMessageBufferSize int + type EndpointConfigV2 struct + IncomingMessageBufferSize int + OutgoingMessageBufferSize int + type NetworkingStack uint8 + const NetworkingStackV1 + const NetworkingStackV1V2 + const NetworkingStackV2 + func (n *NetworkingStack) UnmarshalText(text []byte) error + func (n NetworkingStack) MarshalText() (text []byte, err error) + func (n NetworkingStack) String() string + type PeerConfig struct + Logger commontypes.Logger + NetworkingStack NetworkingStack + PrivKey p2pcrypto.PrivKey + V1AnnounceIP net.IP + V1AnnouncePort uint16 + V1DHTAnnouncementCounterUserPrefix uint32 + V1EndpointConfig EndpointConfigV1 + V1ListenIP net.IP + V1ListenPort uint16 + V1Peerstore p2ppeerstore.Peerstore + V2AnnounceAddresses []string + V2DeltaDial time.Duration + V2DeltaReconcile time.Duration + V2DiscovererDatabase nettypes.DiscovererDatabase + V2EndpointConfig EndpointConfigV2 + V2ListenAddresses []string