Skip to content

Add prepared send_message packet API - #513

Closed
NikolayChirkov wants to merge 1 commit into
mainfrom
cursor/prepared-packet-3329
Closed

Add prepared send_message packet API#513
NikolayChirkov wants to merge 1 commit into
mainfrom
cursor/prepared-packet-3329

Conversation

@NikolayChirkov

@NikolayChirkov NikolayChirkov commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Applies prepared-packet work onto main (from prepared-packet-v0), cleaned up for merge:

  • New aether/prepared_packet/ module: PreparedSendMessageBlock, EncodePacket, PrepareSendMessage
  • ClientServerConnection::ExportPreparedSendMessageBlock reserves UDP endpoint + nonce range for offline encoding
  • P2pStream::ExportPreparedSendMessageBlock exposes the same API at the message-stream level
  • Windows-only examples/windows_message_receiver scaffold

Left out from the WIP branch: [CALL-CHAIN] debug logging and the incomplete FastTx scaffolding in api_call_adapter.h.

Test plan

  • cmake --build build-clang --target aether succeeds
  • ctest . --progress -j -E "((sodium)|(hydro)|(bcrypt)).*" --output-on-failure — 22/22 passed
Open in Web Open in Cursor 

Export a transport-neutral PreparedSendMessageBlock from P2pStream /
ClientServerConnection, encode packets offline via EncodePacket, and add a
Windows message receiver example scaffold.

Co-authored-by: Nikolay Chirkov <NikolayChirkov@users.noreply.github.com>
@cursor cursor Bot changed the title Add prepared send_message packet API (PackagePtr / FastTx) Add prepared send_message packet API Jul 18, 2026
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