lightning-dev

Combined summary - On the scalability issues of onboarding millions of LN mobile clients

Combined summary - On the scalability issues of onboarding millions of LN mobile clients

The Bitcoin development community has engaged in extensive discussions addressing technological challenges and potential solutions to enhance the security, usability, and decentralization of Bitcoin and the Lightning Network (LN).

Keagan McClelland emphasized the need for easier connections between mobile Lightning clients and personal full nodes to counter centralized services. Christopher Allen introduced QuickConnect for secure remote node connections via Tor v3, supported by various tools and hardware, and requested contributions on GitHub for further development.

Nodes' economic significance is recognized as a defense against miner consensus hijacks, with hopes that LN will provide cheaper transactions while maintaining noncustodiality. Suggestions include selecting backup nodes during client initialization and considering private servers for robust Simplified Payment Verification (SPV).

Challenges in user experience, such as installation, configuration, and understanding client-server distinctions, were noted. Will from the mailing list detailed his setup and acknowledged areas for improvement such as backups and liquidity. Start9 Labs identified zero-configuration apps and clear guides as possible solutions.

Security discussions revolved around trusting full nodes for SPV security, employing header chains for transaction validation, and implications of wide LN adoption without full node verification, including the risks of a split into full-node-coin and SPV-coin due to miners targeting SPV wallets. Antoine Riard and Chris Belcher suggested incentivizing diverse backup servers to prevent centralization.

Luke Dashjr and Lloyd Fournier underscored operating full nodes for Bitcoin's security model, warning against attacks exploiting SPVs' trust issues. Off-grid nodes securely obtaining blockchain data through a system resembling watchtowers was proposed by ZmnSCPxj.

Christopher Allen called for collaborators to define wallet functionality levels and enhance core wallet features, advocating for a cryptographic capability mechanism to restrict RPC functionality exposure in Bitcoin-core. FullyNoded2 multisig wallet serves as an example of secure communication between personal nodes and users.

Antoine Riard and Igor Cota explored running full nodes on mobile devices with Sleeper Nodes™, storing blocks when idle. However, concerns remain about scalability, security, and privacy, with suggestions for monetizing node operation like servicing filters within a watchtower-like framework.

McClelland critiqued Bitcoin Core's RPC interface, proposing three distinct ports to reduce security risks. Blockchain Commons expressed interest in hosting proposals for wallet functionalities. BIP 157's stateless nature was discussed, with concerns over network demand but recognition of its potential for serving light clients over HTTP.

Developers contemplate alternative networks for supporting light clients and increasing full node diversity, such as geostationary satellites or radio systems. The security model faces "consensus capture" risks, with strategies including allowing light clients to choose their full node tethers.

The overarching theme is finding a balance between light client usability and a decentralized, secure Bitcoin network. While protocols like BIP 157 and economic incentives for full-node operation are proposed, there are warnings against undermining Bitcoin's trust-minimization principles. Additionally, the risks of malicious servers providing incorrect data to light clients and LN's vulnerabilities due to its liveliness requirements were discussed. Compensation for serving filters may address light clients' free-riding problem, fitting into the broader paradigm of delegated protocol execution.

Discussion History

0
Antoine RiardOriginal Post
May 5, 2020 10:17 UTC
1
May 5, 2020 10:28 UTC
2
May 5, 2020 13:00 UTC
3
May 5, 2020 13:49 UTC
4
May 5, 2020 15:16 UTC
5
May 5, 2020 17:16 UTC
6
May 6, 2020 00:31 UTC
7
May 6, 2020 08:27 UTC
8
May 6, 2020 09:06 UTC
9
May 6, 2020 09:21 UTC
10
May 6, 2020 09:40 UTC
11
May 6, 2020 16:00 UTC
12
May 7, 2020 03:56 UTC
13
May 7, 2020 04:07 UTC
14
May 7, 2020 11:09 UTC
15
May 7, 2020 16:40 UTC
16
May 8, 2020 19:33 UTC
17
May 8, 2020 19:51 UTC
18
May 8, 2020 20:01 UTC
19
May 8, 2020 20:22 UTC
20
May 8, 2020 21:30 UTC
21
May 9, 2020 07:22 UTC
22
May 9, 2020 07:48 UTC
23
May 11, 2020 05:44 UTC
24
May 12, 2020 10:09 UTC
25
May 12, 2020 15:48 UTC
26
May 12, 2020 21:05 UTC
27
May 13, 2020 19:51 UTC
28
May 14, 2020 04:02 UTC
29
May 14, 2020 15:25 UTC
30
May 14, 2020 15:27 UTC
31
May 17, 2020 03:37 UTC
32
May 17, 2020 09:11 UTC
33
January 25, 2024 12:24 UTC