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

SPV LN nodes? #135

Closed
renepickhardt opened this issue Feb 8, 2020 · 2 comments
Closed

SPV LN nodes? #135

renepickhardt opened this issue Feb 8, 2020 · 2 comments
Labels

Comments

@renepickhardt
Copy link
Contributor

There is a comment in the text reading:

but there is no "SPV" functionality in the LN peer to peer communication right? they have to have full funcionality?

Well you could and eventually might run a LN node without the gossip protocol / BOLT 07. You could then rely on a third party service to make suggestions for path finding and routing. This can even be somewhat decentralized and covered by the protocol in the form of Trampoline routing.

I believe Phonex uses that trick to remove load from the user phone as gossip produces quite some internet traffic which most mobile plans might not support. this can be a privacy issue and protocol improvements for that are still under construction.

Not sure where and how we include this to the book.

@aantonop
Copy link
Contributor

Perhaps this is a good topic for much later in the book. I think when we discuss the "gossip" function and path-finding sections in detail.

aantonop added a commit that referenced this issue Feb 14, 2020
We will discuss LN node requirements and "lightweight" protocol alternatives in later chapters
@Roasbeef
Copy link
Contributor

What you describe above isn't "SPV", and just abuses the term imo @renepickhardt. LN Graph verification is no where as intensive as verifying the entire blockchain. The most expensive part of it is needing to verify that the outputs still exists. Some clients will just skip this step and assume the channels still exist (and were created in the past), which is a minor DoS vector. On our end, we're working on the ability to serve SPV proofs of channel creation over the network, which alleviates some of the burden of initial verification, but doesn't prove that the channels are unspent (something like UTXO commitments are required for that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants