feat!: remove bootstrap cache integration#101
Open
mickvandijke wants to merge 9 commits into
Open
Conversation
e13f00c to
a0e319c
Compare
Use ant-protocol via git instead of the local checkout path. BREAKING CHANGE: removes ant-core bootstrap-cache recording hooks and the bootstrap-cache E2E/dev-dependency surface.
SemVer: minor
SemVer: patch
SemVer: patch
Keep Client::connect exact to its supplied bootstrap peers while preserving CLI cache warm-start behavior. Filter cached bootstrap addresses for ipv4-only runs and update git dependency locks to the pushed timeout-removal branches. SemVer: patch
d10b577 to
b4d64de
Compare
Retain cached bootstrap peers by peer-id keyspace coverage before recency while still enforcing IP diversity limits. Recency remains the tie-breaker among equally diverse candidates. SemVer: patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
client_peer_cache.jsonClient::connectexact to the bootstrap peers supplied by the caller; it no longer loads or saves the client peer cache implicitly--ipv4-onlybefore selecting the startup address for each cached peerP2PNode::peer_info(); a DHTDirecttag is no longer required for cache admission/p2p/<peer_id>suffixes--bootstrapor--devnet-manifestmainTimeout Scope
connect_happy_eyeballstimeoutSemVer
--bootstrapdisables cache load/save; cache-load logging now reports cache countsClient::connectexact-bootstrap behavior by keeping implicit peer-cache load/save out of that API--ipv4-onlyfor cached CLI bootstrap candidatesDirect-tagged routing-table entriesGit Imports
ac285f212185486b1d1ee6eee33932865413f42f00447926f8847d5de99c271fb689740f749177f66bc35372986474fa9f31844b034790d0b84ffb97265d6a8fad1d16a540f8bf66f319ac9afc97a4edRelated PRs
Live Cache Checks
download-126.log: cache promotion sawconnected_peers=543,cacheable_peers=543,cacheable_addresses=552, normalized tocached_peers=50,direct_addresses=50download-127.log: loadedcached_peers=50, reached bootstrap target before fallback pressure, then refreshed fromconnected_peers=536,cacheable_peers=536,cacheable_addresses=544, normalized tocached_peers=50,direct_addresses=50/p2p/<peer_id>suffixes, all 16 peer-id sectors represented, exact IP max 2, and subnet counts within the configured diversity limitVerification
cargo check --locked -p ant-core --features devnetcargo check --locked -p ant-clicargo fmt --all -- --checkcargo clippy --locked --all-targets --all-features -- -D warningscargo test --locked -p ant-core peer_cache --libgit diff --checkcargo fmt --all -- --checkin../saorsa-corecargo checkin../saorsa-corecargo clippy --all-targets --all-features -- -D warningsin../saorsa-corecargo checkin../ant-protocolcargo checkin../saorsa-nodeBREAKING CHANGE: removes ant-core bootstrap-cache recording hooks and the bootstrap-cache E2E/dev-dependency surface.