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

feat: add active peer probing and a cached addr book #90

Merged
merged 80 commits into from
Dec 18, 2024

fix: adjust probe duration metric buckets

7fcf45f
Select commit
Loading
Failed to load commit list.
Merged

feat: add active peer probing and a cached addr book #90

fix: adjust probe duration metric buckets
7fcf45f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 6, 2024 in 1s

60.11% of diff hit (target 17.74%)

View this Pull Request on Codecov

60.11% of diff hit (target 17.74%)

Annotations

Check warning on line 103 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 114 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L113-L114

Added lines #L113 - L114 were not covered by tests

Check warning on line 141 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L119-L141

Added lines #L119 - L141 were not covered by tests

Check warning on line 165 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L143-L165

Added lines #L143 - L165 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#L167-L176

Added lines #L167 - L176 were not covered by tests

Check warning on line 181 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L178-L181

Added lines #L178 - L181 were not covered by tests

Check warning on line 184 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L183-L184

Added lines #L183 - L184 were not covered by tests

Check warning on line 207 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L207

Added line #L207 was not covered by tests

Check warning on line 211 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L211

Added line #L211 was not covered by tests

Check warning on line 218 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L217-L218

Added lines #L217 - L218 were not covered by tests

Check warning on line 221 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L221

Added line #L221 was not covered by tests

Check warning on line 306 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L302-L306

Added lines #L302 - L306 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