Skip to content

fix: track closest peers separately from main routing table

Codecov / codecov/patch succeeded Oct 4, 2024 in 0s

98.10% of diff hit (target 92.18%)

View this Pull Request on Codecov

98.10% of diff hit (target 92.18%)

Annotations

Check warning on line 67 in packages/kad-dht/src/routing-table/closest-peers.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/kad-dht/src/routing-table/closest-peers.ts#L67

Added line #L67 was not covered by tests

Check warning on line 80 in packages/kad-dht/src/routing-table/closest-peers.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/kad-dht/src/routing-table/closest-peers.ts#L80

Added line #L80 was not covered by tests

Check warning on line 215 in packages/kad-dht/src/routing-table/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/kad-dht/src/routing-table/index.ts#L215

Added line #L215 was not covered by tests