feat: add active peer probing and a cached addr book #90
64.43% of diff hit (target 17.74%)
View this Pull Request on Codecov
64.43% of diff hit (target 17.74%)
Annotations
Check warning on line 116 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L112-L116
Added lines #L112 - L116 were not covered by tests
Check warning on line 123 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L119-L123
Added lines #L119 - L123 were not covered by tests
Check warning on line 130 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L129-L130
Added lines #L129 - L130 were not covered by tests
Check warning on line 142 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L141-L142
Added lines #L141 - L142 were not covered by tests
Check warning on line 157 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L155-L157
Added lines #L155 - L157 were not covered by tests
Check warning on line 171 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L170-L171
Added lines #L170 - L171 were not covered by tests
Check warning on line 195 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L189-L195
Added lines #L189 - L195 were not covered by tests
Check warning on line 206 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L202-L206
Added lines #L202 - L206 were not covered by tests
Check warning on line 211 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L208-L211
Added lines #L208 - L211 were not covered by tests
Check warning on line 215 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L213-L215
Added lines #L213 - L215 were not covered by tests
Check warning on line 219 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L217-L219
Added lines #L217 - L219 were not covered by tests
Check warning on line 241 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L241
Added line #L241 was not covered by tests
Check warning on line 245 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L245
Added line #L245 was not covered by tests
Check warning on line 252 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L251-L252
Added lines #L251 - L252 were not covered by tests
Check warning on line 255 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L255
Added line #L255 was not covered by tests
Check warning on line 279 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L278-L279
Added lines #L278 - L279 were not covered by tests
Check warning on line 316 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L311-L316
Added lines #L311 - L316 were not covered by tests
Check warning on line 352 in cached_addr_book.go
codecov / codecov/patch
cached_addr_book.go#L351-L352
Added lines #L351 - L352 were not covered by tests
Check warning on line 59 in main.go
codecov / codecov/patch
main.go#L41-L59
Added lines #L41 - L59 were not covered by tests
Check warning on line 141 in main.go
codecov / codecov/patch
main.go#L137-L141
Added lines #L137 - L141 were not covered by tests
Check warning on line 94 in server.go
codecov / codecov/patch
server.go#L86-L94
Added lines #L86 - L94 were not covered by tests
Check warning on line 102 in server.go
codecov / codecov/patch
server.go#L96-L102
Added lines #L96 - L102 were not covered by tests
Check warning on line 105 in server.go
codecov / codecov/patch
server.go#L105
Added line #L105 was not covered by tests
Check warning on line 110 in server.go
codecov / codecov/patch
server.go#L110
Added line #L110 was not covered by tests
Check warning on line 115 in server.go
codecov / codecov/patch
server.go#L115
Added line #L115 was not covered by tests