Skip to content

Rewrite peer_id module with opaque API and migrate all call sites#19

Merged
uink45 merged 2 commits intomainfrom
codex/peer-id-rewrite-opaque-api
Feb 16, 2026
Merged

Rewrite peer_id module with opaque API and migrate all call sites#19
uink45 merged 2 commits intomainfrom
codex/peer-id-rewrite-opaque-api

Conversation

@uink45
Copy link
Collaborator

@uink45 uink45 commented Feb 16, 2026

Summary

  • rewrite peer_id around an opaque heap-owned peer_id_t and new peer_id_new_* constructors
  • remove legacy peer_id wrapper entry points and migrate in-tree users to peer_id_text_write*, peer_id_free, and peer_id_equal
  • internalize peer-id protobuf/key-operation internals and remove per-key public headers
  • update host/protocol/interop/gossipsub code paths for the new ownership and text encoding APIs
  • rewrite peer-id tests and refresh peer-id/identify docs for the new API surface

Validation

  • ctest --preset macos-full --output-on-failure
  • local pre-push fast-lane smoke checks (triggered by push)

@uink45 uink45 merged commit 7f3060e into main Feb 16, 2026
3 checks passed
@uink45 uink45 deleted the codex/peer-id-rewrite-opaque-api branch February 16, 2026 10:23
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.

1 participant

Comments