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

go-data-transfer integration #10

Open
hannahhoward opened this issue Mar 30, 2022 · 0 comments
Open

go-data-transfer integration #10

hannahhoward opened this issue Mar 30, 2022 · 0 comments

Comments

@hannahhoward
Copy link
Collaborator

Once Lightning Storm works as a transfer suite, we need to fully integrate go-data-transfer.

There are a couple of approaches here:

We can:

  1. one data-transfer channel per peer using bitswap
  2. one data-transfer channel per peer serving metadata (needs go-data-transfer Graphsync metadata transport #8)

Or:

  1. one data transfer channel per peer in an overall lightning sessions

There are advantages and disadvantages to both approaches:

  • the single channel approach allows the provider to treat the whole request as a single semantic transfer, meaning they can prepare the whole dag ahead as needed
  • the dual channel approach provides significantly more flexible payment options

This ticket is non-trivial and will likely turn into more than one ticket as we get closer to implementation

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

No branches or pull requests

1 participant