Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

reimplement relay peers #133

Closed
wants to merge 73 commits into from
Closed

reimplement relay peers #133

wants to merge 73 commits into from

Conversation

chunningham
Copy link
Member

This PR builds on #132 and reimplements the relay peer without rust-ipfs. Further, it adds a lot of convenience structs for configuring transports and relay configuration:

  • builder pattern structs for transports in src/p2p/transport
  • builder pattern struct for Identify network behaviour
  • builder pattern for relay network behaviour config
  • separation of relay initialisation and endpoint listening

It would be cool if we could use a proc macro for the type of infallible builders used here (where all fields implement Default), but derive_builder doesn't quite support it and implementing it in this repo seems unnecessary.

Base automatically changed from feat/remove-ipfs to main January 19, 2023 09:38
@chunningham chunningham mentioned this pull request Apr 5, 2023
14 tasks
@chunningham chunningham closed this Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant