Skip to content

fix: return peers with no addrs that wont probe

Codecov / codecov/patch succeeded Dec 5, 2024 in 1s

60.00% of diff hit (target 17.74%)

View this Pull Request on Codecov

60.00% of diff hit (target 17.74%)

Annotations

Check warning on line 95 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 106 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 133 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L111-L133

Added lines #L111 - L133 were not covered by tests

Check warning on line 157 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L135-L157

Added lines #L135 - L157 were not covered by tests

Check warning on line 168 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L159-L168

Added lines #L159 - L168 were not covered by tests

Check warning on line 173 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L170-L173

Added lines #L170 - L173 were not covered by tests

Check warning on line 176 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L175-L176

Added lines #L175 - L176 were not covered by tests

Check warning on line 199 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L199

Added line #L199 was not covered by tests

Check warning on line 203 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L203

Added line #L203 was not covered by tests

Check warning on line 210 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L209-L210

Added lines #L209 - L210 were not covered by tests

Check warning on line 213 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L213

Added line #L213 was not covered by tests

Check warning on line 298 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L294-L298

Added lines #L294 - L298 were not covered by tests

Check warning on line 46 in main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

main.go#L41-L46

Added lines #L41 - L46 were not covered by tests

Check warning on line 126 in main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

main.go#L126

Added line #L126 was not covered by tests

Check warning on line 92 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L84-L92

Added lines #L84 - L92 were not covered by tests

Check warning on line 95 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L95

Added line #L95 was not covered by tests

Check warning on line 100 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L100

Added line #L100 was not covered by tests

Check warning on line 105 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L105

Added line #L105 was not covered by tests

Check warning on line 127 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L124-L127

Added lines #L124 - L127 were not covered by tests

Check warning on line 132 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L132

Added line #L132 was not covered by tests

Check warning on line 239 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L239

Added line #L239 was not covered by tests

Check warning on line 63 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L62-L63

Added lines #L62 - L63 were not covered by tests

Check warning on line 92 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 171 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L170-L171

Added lines #L170 - L171 were not covered by tests

Check warning on line 181 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L180-L181

Added lines #L180 - L181 were not covered by tests