<div dir="ltr"><div>> It should be therefore a top priority to make the UX of connecting my 
mobile LN client to my home full node extremely easy, so that 
centralised services can't improve much on that step. Especially if I 
already run a full node.</div><div><br></div><div>For what it's worth, this is a main research area for us at Start9 Labs. <br></div><div><br></div><div>> Could someone briefly describe how this UX looks currently? And if it's not as seamless as it could, what blockers are there?</div><div><br></div><div>At the root of all of these problems is that a "private server" is considered inconvenient. There is no fundamental reason this has to be the case. The main UX challenges we've found are around installation and configuration of server applications, not to mention, that users don't have an existing mental model for how to imagine applications. Most people who do not work on computers for a living have heard of servers but their firsthand experience with software is "apps". The fact that there is a component of their applications that runs remotely on computers they don't own.</div><div><br></div><div>So in short:</div><div>1. Educating on the distinction between client and server apps is an open question whose burden will likely fall on the entire industry if we want to get this right and not have an exchange takeover of Bitcoin.</div><div>2. Apps that either require "zero configuration" or have very easy in-app walkthroughs of the bare essentials of configuration</div><div>3. GUI style installs of server applications familiar to those who have installed desktop or mobile software.</div><div><br></div><div>I'm sure there are more things we'll learn as we grow but these are the top three observations we've made and this is our primary area of work.<br></div><div><br></div><div>> Private full nodes serving headers to a handful of weak devices have 
been mentioned many times as a good solution against all sorts of 
problems in a future full of LN + SPV nodes. I agree.</div><div><br></div><div>This is the main thesis I've been going on for a while. Once your full node has synced the whole blockchain and the total set of headers is known, you don't actually even need to carry 100% of the block data, as you can re-fetch a needed block from elsewhere and verify the block data matches the header you've already checked for consensus. From there the header chain can serve as base truth for a whole set of L2+ services or L1 SPV wallets. Ideally, in a model like this, more expensive peer services would be authenticated so that your other applications could get the data they need without exposing your full node to the extra costs of those who are not running their own nodes. Typically we've used Core's RPC API for this but as others have mentioned upthread JSON is a wasteful format and there are good reasons that you'd want Lightning to be able to request peer services without necessarily having ownership control over the node.<br></div><div><br></div><div>The other thing I wanted to note is the fact that the issue isn't that Lightning does SPV, the issue is around whether or not the node it is tethered to is <i>actually</i> trusted since SPV necessarily trusts some dimensions of the information supplied to it. Doing SPV against a full node you own is no more dangerous than indexing watch only addresses in Core and then asking for wallet/utxo information over RPC.</div><div><br></div><div>Keagan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 12:50 AM Orfeas Stefanos Thyfronitis Litos <<a href="mailto:o.thyfronitis@ed.ac.uk">o.thyfronitis@ed.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
>If everyone runs such a privately-owned server, on the other hand, this<br>
>is not so different from having a Lightning node you run at your home<br>
>that has a fullnode as well and which you access via a remote control<br>
>mobile device, and it is the inconvenience of having such a server at<br>
>your home that prevents this in the first place.<br>
<br>
Private full nodes serving headers to a handful of weak devices have been mentioned many times as a good solution against all sorts of problems in a future full of LN + SPV nodes. I agree. It should be therefore a top priority to make the UX of connecting my mobile LN client to my home full node extremely easy, so that centralised services can't improve much on that step. Especially if I already run a full node.<br>
<br>
Could someone briefly describe how this UX looks currently? And if it's not as seamless as it could, what blockers are there?<br>
<br>
Best,<br>
Orfeas<br>
<br>
-- <br>
The University of Edinburgh is a charitable body, registered in<br>
Scotland, with registration number SC005336.<br>
<br>
_______________________________________________<br>
Lightning-dev mailing list<br>
<a href="mailto:Lightning-dev@lists.linuxfoundation.org" target="_blank">Lightning-dev@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev" rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev</a><br>
</blockquote></div>