Interface P2PConfig

Hierarchy

  • P2PConfig

Properties

ackTimeout?: number
blacklistedIPs?: readonly string[]
connectTimeout?: number
customNodeInfoSchema?: Schema
fallbackSeedPeerDiscoveryInterval?: number
fixedPeers?: readonly ProtocolPeerInfo[]
hostIp?: string
latencyProtectionRatio?: number
longevityProtectionRatio?: number
maxInboundConnections?: number
maxOutboundConnections?: number
maxPeerDiscoveryResponseLength?: number
maxPeerInfoSize?: number
minimumPeerDiscoveryThreshold?: number
netgroupProtectionRatio?: number
nodeInfo: P2PNodeInfo
outboundShuffleInterval?: number
peerBanTime?: number
peerHandshakeCheck?: P2PCheckPeerCompatibility
peerSelectionForConnection?: P2PPeerSelectionForConnectionFunction
peerSelectionForRequest?: P2PPeerSelectionForRequestFunction
peerSelectionForSend?: P2PPeerSelectionForSendFunction
peerStatusMessageRate?: number
populatorInterval?: number
port: number
previousPeers?: readonly ProtocolPeerInfo[]
productivityProtectionRatio?: number
rateCalculationInterval?: number
secret?: number
seedPeers?: readonly ProtocolPeerInfo[]
sendPeerLimit?: number
whitelistedPeers?: readonly ProtocolPeerInfo[]
wsMaxMessageRate?: number
wsMaxMessageRatePenalty?: number
wsMaxPayload?: number

Generated using TypeDoc