p2p: do not advertise private and non-routable addresses #6092
61.11% of diff hit (target 56.26%)
View this Pull Request on Codecov
61.11% of diff hit (target 56.26%)
Annotations
Check warning on line 126 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L125-L126
Added lines #L125 - L126 were not covered by tests
Check warning on line 359 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L359
Added line #L359 was not covered by tests
Check warning on line 373 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L369-L373
Added lines #L369 - L373 were not covered by tests
Check warning on line 375 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L375
Added line #L375 was not covered by tests
Check warning on line 391 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L390-L391
Added lines #L390 - L391 were not covered by tests
Check warning on line 410 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L406-L410
Added lines #L406 - L410 were not covered by tests
Check warning on line 412 in network/p2p/p2p.go
codecov / codecov/patch
network/p2p/p2p.go#L412
Added line #L412 was not covered by tests