Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add session #92

Merged
merged 27 commits into from
Dec 16, 2024
Merged

Add session #92

merged 27 commits into from
Dec 16, 2024

Conversation

flcl42
Copy link
Contributor

@flcl42 flcl42 commented Aug 20, 2024

  • Add transport, connection, session context
  • Separate connection instantiation
  • Make protocol builder more flexible
  • Handle more in local peer impl, merging factoring into it

@flcl42 flcl42 marked this pull request as ready for review December 12, 2024 08:36
@flcl42 flcl42 requested a review from rubo as a code owner December 12, 2024 08:36
@flcl42 flcl42 requested a review from Marchhill December 12, 2024 08:36
@flcl42 flcl42 requested a review from deffrian December 12, 2024 15:56
Copy link
Contributor

@Marchhill Marchhill left a comment

Choose a reason for hiding this comment

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

Seems to be running well on Chiado atm. Generally found the code quite hard to read, codebase could do with a cleanup to put classes and interfaces into own files, break up large classes / functions, handle specific exceptions, more comments / more self-documenting code

src/libp2p/Libp2p/Libp2pPeerFactoryBuilder.cs Show resolved Hide resolved
src/libp2p/Libp2p.Core/Discovery/IDiscoveryProtocol.cs Outdated Show resolved Hide resolved
src/libp2p/Libp2p.Core/Discovery/PeerStore.cs Outdated Show resolved Hide resolved
src/libp2p/Libp2p.Core/Discovery/PeerStore.cs Show resolved Hide resolved
src/libp2p/Libp2p.Protocols.Pubsub/PubsubRouter.cs Outdated Show resolved Hide resolved
src/libp2p/Libp2p.Protocols.Pubsub/PubsubRouter.cs Outdated Show resolved Hide resolved
src/libp2p/Libp2p.Protocols.Tls/TlsProtocol.cs Outdated Show resolved Hide resolved
src/libp2p/Libp2p.Protocols.Tls/TlsProtocol.cs Outdated Show resolved Hide resolved
@flcl42 flcl42 merged commit 8ad0f4c into main Dec 16, 2024
2 of 3 checks passed
@flcl42 flcl42 deleted the add-session branch December 16, 2024 17:25
@flcl42 flcl42 restored the add-session branch December 16, 2024 17:29
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.

2 participants