Skip to content

Comments

feat!: Testnet api cleanup#88

Merged
SeverinAlexB merged 7 commits intov7from
feat/test-api-cleanup
Feb 19, 2026
Merged

feat!: Testnet api cleanup#88
SeverinAlexB merged 7 commits intov7from
feat/test-api-cleanup

Conversation

@SeverinAlexB
Copy link
Contributor

This PR fixes some rough edges of Testnet.

  • Add Testnet::dht_builder() method that returns a DhtBuilder pre-configured with the testnet's bootstrap nodes and localhost bind address. This reduces the lines of code needed to write a pkarr client for testnet significantly.
  • Change Testnet::new() and Testnet::new_unseeded() to bind to 127.0.0.1 (localhost) instead of 0.0.0.0, matching the builder's existing default
  • Remove the now-redundant new_async and new_unseeded_async methods (they were identical to their sync counterparts)
  • Remove outdated TODO comments about the bind address change
  • Reduced seeded testnet bootstrap time by half

This is a BREAKING CHANGE.

@SeverinAlexB SeverinAlexB changed the base branch from main to v7 February 18, 2026 10:58
@SeverinAlexB SeverinAlexB merged commit 8620eba into v7 Feb 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants