filecoin-project / go-legs

Does the legwork for go-data-transfer
Apache License 2.0
20 stars 14 forks source link

Option to filter un-routable IP addresses from announce messages #146

Closed gammazero closed 2 years ago

gammazero commented 2 years ago

Option to filter private, loopback, and unspecified IP addresses from announce messages.

codecov-commenter commented 2 years ago

Codecov Report

Merging #146 (745f20a) into main (38ba08b) will increase coverage by 0.10%. The diff coverage is 55.26%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
+ Coverage   64.45%   64.55%   +0.10%     
==========================================
  Files          21       22       +1     
  Lines        2377     2415      +38     
==========================================
+ Hits         1532     1559      +27     
- Misses        665      671       +6     
- Partials      180      185       +5     
Impacted Files Coverage Δ
option.go 41.66% <0.00%> (-2.29%) :arrow_down:
subscriber.go 74.01% <0.00%> (-0.74%) :arrow_down:
mautil/mautil.go 77.77% <77.77%> (ø)
test/util.go 82.41% <0.00%> (+3.01%) :arrow_up: