Skip to content

Conversation

@D4ryl00
Copy link

@D4ryl00 D4ryl00 commented Jan 20, 2025

This PR aims to update the list of parameters available for Transport constructors, following this code: https://github.com/libp2p/go-libp2p/blob/master/config/config.go#L290-L324

Comment on lines 134 to +140
// * Transport Upgrader (*tptu.Upgrader)
// * Host
// * Stream muxer (muxer.Transport)
// * Security transport (security.Transport)
// * Connection Gater (connmgr.ConnectionGater)
// * Private network protector (pnet.Protector)
// * Peer ID
// * Private Key
// * Public Key
// * Address filter (filter.Filter)
// * Peerstore
// * Resource Manager (network.ResourceManager)
// * TCP reuse Connection Manager (tcpreuse.ConnMgr)
// * WebRTC listener (libp2pwebrtc.ListenUDPFn)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to mention that users should refer to the parameters of the transport used for all the options available because different transports have different parameters.

@sukunrt sukunrt self-requested a review August 7, 2025 14:45
@MarcoPolo
Copy link
Collaborator

Automatically closing old open PRs. If you're still interested in merging this please open the PR again and rebase from the latest master, otherwise do nothing.

@MarcoPolo MarcoPolo closed this Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants