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

[DNM] Backport of p2p-improvements (testing) #5349

Closed
wants to merge 33 commits into from

Conversation

ivan4th
Copy link
Contributor

@ivan4th ivan4th commented Dec 13, 2023

This is a backport of #5329 to the v1.2 branch

ivan4th and others added 26 commits December 13, 2023 22:32
Some versions are test builds that are not intended for use on the mainnet.
This PR makes it possible to enforce that by making any builds from git tags that contain `nomain` substring refuse to run on the mainnet.
Suspend routing discovery when there's enough peers
Use DHT to find ping peers
Make advertising for peer discovery optional
Stop routing discovery after lowPeers
Refactor
Improve test
- Enable the developers to manually request a creation of a valid and public dev docker image 
    -That can be helpful at the testnet or in other tests, avoiding the tag creation.

## Motivation
- Enable the developers to manually request a creation of a valid and public dev docker image 
    -That can be helpful at the testnet or in other tests, avoiding the tag creation.
    
## Changes
 New GH Action file
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (v1.2@d916c97). Click here to learn what that means.

Additional details and impacted files
@@          Coverage Diff           @@
##             v1.2   #5349   +/-   ##
======================================
  Coverage        ?   77.3%           
======================================
  Files           ?     261           
  Lines           ?   31191           
  Branches        ?       0           
======================================
  Hits            ?   24141           
  Misses          ?    5529           
  Partials        ?    1521           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivan4th
Copy link
Contributor Author

ivan4th commented Dec 25, 2023

Closing in favor of #5383

@ivan4th ivan4th closed this Dec 25, 2023
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