Repository navigation
Net: documentation, resources in initialize, wire key cnp (network play, step 6) - #264
Merged
Merged
Conversation
…k play, step 6) - Book chapter 22, "Network play": the open-port problem, fingerprint pinning, pairing, the idle timeout that couldn't exist, limits, discovery and its abuse, how to try it, exercises. - README section for using cb2026 from another computer; design doc and status brought up to date. - The CNP pin moves to the specification that now has the network transport (sections 3.2 and 3.3) and `resources` in initialize (cjus/chess-node-protocol#24). initialize now reports the node's threads and hash (--threads, --hash), tested through the real binary. - The pairing and discovery messages use the key "cnp" instead of "cb2026", as the spec has them, so another node or client can use them. - Needs-carlos issue #263: a try between two real computers, and whether releases carry the feature. No functional change. Bench: 767812 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
10 tasks
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.
Step 6 of
docs/network-play.md(#209); the specification half is cjus/chess-node-protocol#24 (merged).resourcesininitialize.initializereportsresources(threads,hashMb): unit test, and a test through the real binary with and without--threads/--hash.cnpinstead ofcb2026for the pairing and discovery messages, as the spec has them (nothing shipped used the old key).--features net.Licence notices need no change (
scripts/notices.shalready includes the TLS stack).No functional change; bench 767812.
scripts/check.shpassed locally.🤖 Generated with Claude Code