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

feat(network): implementing connection manager #773

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Oct 24, 2023

Description

This PR implements the connection manager to manage the minimum and maximum connections that a peer can establish.

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #773 (4bcc433) into main (34eff4f) will increase coverage by 0.21%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main     #773      +/-   ##
==========================================
+ Coverage   82.72%   82.94%   +0.21%     
==========================================
  Files         173      172       -1     
  Lines        8122     8121       -1     
==========================================
+ Hits         6719     6736      +17     
+ Misses       1078     1067      -11     
+ Partials      325      318       -7     

config/example_config.toml Outdated Show resolved Hide resolved
network/config.go Outdated Show resolved Hide resolved
network/config.go Show resolved Hide resolved
network/peermgr.go Show resolved Hide resolved
network/peermgr.go Outdated Show resolved Hide resolved
@themantre themantre merged commit 57af41e into pactus-project:main Oct 24, 2023
12 checks passed
@b00f b00f deleted the conn-mgr branch October 24, 2023 09:52
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