Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc: Peer-based API #13

Merged
merged 7 commits into from Jan 30, 2023
Merged

rpc: Peer-based API #13

merged 7 commits into from Jan 30, 2023

Conversation

marceline-cramer
Copy link
Collaborator

Overhauls basically all of hearth-rpc with a new peer-based API for exchanging PeerProviders and PeerApis.

Also adds a formal system for assigning peer IDs using a ServerOffer + ClientOffer exchange during initial client-server communication.

I've decided to remove trailing ...s from log messages, such as in Authenticating... or Binding.... They don't really serve any real point. We may want to use Tracing spans for non-instantaneous operations, but that can be done in a future PR.

@marceline-cramer marceline-cramer added the enhancement New feature or request label Jan 30, 2023
@marceline-cramer marceline-cramer merged commit 17213fd into main Jan 30, 2023
@marceline-cramer marceline-cramer deleted the peer-api branch January 30, 2023 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant