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

Libquic integration #83

Open
wants to merge 228 commits into
base: dev
Choose a base branch
from
Open

Libquic integration #83

wants to merge 228 commits into from

Conversation

mpretty-cyro
Copy link
Collaborator

No description provided.

@mpretty-cyro mpretty-cyro self-assigned this Apr 3, 2024
mpretty-cyro and others added 4 commits April 4, 2024 17:11
LINK_LIBRARIES apparently isn't set for pure interface libraries, so we
weren't picking up some needed libraries found via interface targets
when building a bundled static lib; this fixes it by following
INTERFACE_LINK_LIBRARIES when we recurse into an interface library.
@mpretty-cyro mpretty-cyro marked this pull request as ready for review April 5, 2024 23:22
@mpretty-cyro mpretty-cyro changed the title [WIP] Libquic integration Libquic integration Apr 5, 2024
• Updated to latest libQuic
• Updated all C functions using 'wrap_exceptions' to return a bool
• Added code to calculate swarms locally instead of fetching
• Stopped persisting the 'failure_count' to disk (it gets reset when refreshing the snode cache so why bother)
• Stopped persisting the swarm cache to disk (it's now calculated locally so no need)
• Increased both upload and download min path counts from 1 to 2
• Added a new `PathSelectionBehaviour` which prioritises upload/download path selection based on which has the fewest pending requests
• Fixed an issue where you could end up with paths with the same IP because the `unused_nodes` wasn't getting updated after building a path
• Fixed a bug and simplified the 'has_pending_requests' func
• Tweaked logs to better distinguish between request ids
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.

4 participants