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

Help with Documentation! #5

Open
johnanisere opened this issue Apr 18, 2024 · 5 comments
Open

Help with Documentation! #5

johnanisere opened this issue Apr 18, 2024 · 5 comments

Comments

@johnanisere
Copy link

johnanisere commented Apr 18, 2024

Hey @djkazic ,

How does this gossip syncer work?
How can I use it with lightning terminal mobile (this PR) .

The ReadMe doesn't seem clear enough.

@djkazic
Copy link
Owner

djkazic commented Apr 18, 2024

This repo was designed to be integrated into LND. @kaloudis from Zeus has gotten it working with Litdmobile though.

Possible PR in the future?

@djkazic
Copy link
Owner

djkazic commented Apr 18, 2024

The high level overview is that speedloader downloads a graph file over HTTP and then constructs a merged graph file consisting of:

  1. All localized data for the node.
  2. The freshly downloaded graph snapshot.

There is also incremental diff download support to download just the diff for what's changed in the graph.

Compressed this works out to be about 40MB of data. Right now I serve it from a VPS.

And for graph sync server side we use primer:

https://github.com/djkazic/primer

@johnanisere
Copy link
Author

Thanks @djkazic .

Do you combine https://github.com/djkazic/primer with LND as well?

@djkazic
Copy link
Owner

djkazic commented Apr 18, 2024

Primer only orchestrates LND, it's not combined. Rather it is built on top of LND.

@johnanisere
Copy link
Author

This repo was designed to be integrated into LND. @kaloudis from Zeus has gotten it working with Litdmobile though.

Possible PR in the future?

Hey @djkazic, seems @kaloudis is quite busy right now, and we're uncertain about the timeline. Could you explain how to use speedloader and primer with Lndmobile, I might be able to make it work with Litdmobile and possibly submit a PR for it too.

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

2 participants