sei-protocol / sei-tendermint

Tendermint fork with ABCI++ support, bug fixes, and custom features
Other
39 stars 36 forks source link

feat: Exclude unconditional peers when connection limit checking #245

Closed blindchaser closed 1 month ago

blindchaser commented 1 month ago

Describe your changes and provide context

Testing performed to validate your change

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.24%. Comparing base (29b1ac3) to head (af65cbb). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sei-protocol/sei-tendermint/pull/245/graphs/tree.svg?width=650&height=150&src=pr&token=VYIWMMGYMP&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)](https://app.codecov.io/gh/sei-protocol/sei-tendermint/pull/245?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) ```diff @@ Coverage Diff @@ ## main #245 +/- ## ========================================== + Coverage 58.03% 58.24% +0.20% ========================================== Files 249 249 Lines 34510 34510 ========================================== + Hits 20029 20100 +71 + Misses 12880 12828 -52 + Partials 1601 1582 -19 ``` | [Files with missing lines](https://app.codecov.io/gh/sei-protocol/sei-tendermint/pull/245?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) | Coverage Δ | | |---|---|---| | [internal/p2p/peermanager.go](https://app.codecov.io/gh/sei-protocol/sei-tendermint/pull/245?src=pr&el=tree&filepath=internal%2Fp2p%2Fpeermanager.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-aW50ZXJuYWwvcDJwL3BlZXJtYW5hZ2VyLmdv) | `79.31% <100.00%> (ø)` | | ... and [20 files with indirect coverage changes](https://app.codecov.io/gh/sei-protocol/sei-tendermint/pull/245/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)