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: introducing node gossip type #811

Merged
merged 5 commits into from
Nov 12, 2023
Merged

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Nov 12, 2023

Description

The main objective of this PR is to introduce a new node type: Node Gossip.
Node Gossip helps the P2P network by gossiping and broadcasting gossip messages.
By default, the nodes in the network are not Node Gossip, but non-gossip nodes try to protect their connections with gossip nodes.
This PR should potentially reduce network usage and help improve networking performance.

There are some other changes to improve the syncing process, unfortunately coupled with this PR.

Copy link

codecov bot commented Nov 12, 2023

Codecov Report

Merging #811 (4758228) into main (622b330) will decrease coverage by 0.19%.
The diff coverage is 70.93%.

@@            Coverage Diff             @@
##             main     #811      +/-   ##
==========================================
- Coverage   83.01%   82.83%   -0.19%     
==========================================
  Files         173      172       -1     
  Lines        8319     8348      +29     
==========================================
+ Hits         6906     6915       +9     
- Misses       1093     1111      +18     
- Partials      320      322       +2     

sync/handler_blocks_request.go Outdated Show resolved Hide resolved
@themantre themantre merged commit b8775d7 into pactus-project:main Nov 12, 2023
11 of 12 checks passed
@b00f b00f deleted the node-gossip branch November 12, 2023 08:27
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