feat(p2p-03): add p2p config surface (#671) - #17
Open
jlon wants to merge 1 commit into
Open
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
jlon
force-pushed
the
p2p-02-master-policy-protocol
branch
from
March 26, 2026 10:24
f8eb686 to
519b1ca
Compare
jlon
force-pushed
the
p2p-03-p2p-config-surface
branch
from
March 26, 2026 10:25
b493d15 to
ab77386
Compare
jlon
force-pushed
the
p2p-02-master-policy-protocol
branch
from
March 27, 2026 09:32
519b1ca to
5cff052
Compare
jlon
force-pushed
the
p2p-03-p2p-config-surface
branch
from
March 27, 2026 09:32
ab77386 to
9e4f0ba
Compare
jlon
force-pushed
the
p2p-02-master-policy-protocol
branch
from
March 30, 2026 00:54
5cff052 to
10fe96e
Compare
jlon
force-pushed
the
p2p-03-p2p-config-surface
branch
from
March 30, 2026 00:54
9e4f0ba to
8fa482c
Compare
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
Design
client.p2pand keep master policy state in config, not code paths.Implementation
ClientP2pConf, default cache-dir resolution, validation, and client init wiring.Verification
cargo test -p curvine-common p2p_default_cache_dir_prefers_xdg_cache_homecargo test -p curvine-common p2p_init_rewrites_legacy_testing_cache_dircargo test -p curvine-common cluster_conf_allows_minimal_p2p_block