Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

WIP - Awesome Relay Endeavour #833

Closed
@dryajov

Description

@dryajov

We're getting close to completing the JS circuit implementation, this issue is to track further progress. Main work is being done here - libp2p/js-libp2p-circuit#9 libp2p/js-libp2p-circuit#14.

Assumptions (needs validation)

  1. All addresses are encapsulated with p2p-circuit by default to make them dialable over circuit relay
  2. If an explicit relay address is present don't add defaults, use that as the address instead
  3. Out of all available transports relay is dialed last

Outstanding work (this will be kept up to date with specific tasks as they come up):

  • Complete the relay spec The Circuit Relay Specification: The first iteration libp2p/specs#15
  • Verify and complete integration points in js-ipfs and libp2p
    • Finalize integrating with libp2p
    • Finalize integrating with js-ipfs
  • More test coverage and integration tests (WIP)
    • this is the latest coverage report for unit tests, lots more is needed but we're getting there
=============================== Coverage summary ===============================
Statements   : 62.12% ( 264/425 )
Branches     : 50.74% ( 69/136 )
Functions    : 50% ( 13/26 )
Lines        : 62.2% ( 255/410 )
================================================================================

  • Cleanup implementation
    • cleanup pull stream read/write logic
    • cleanup relay.js
    • cleanup listener.js

Outstanding PRs:

Name Ready for Review Reviewed Merged Published
libp2p
libp2p-swarm
ipfs
libp2p-tcp
libp2p-websockets
mafmt

@diasdavid @lgierth @whyrusleeping @dignifiedquire

NOTE: I'm currently bringing this issue up to date with all the latests developments - this is still in WIP.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions