From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id E9959C07FF for ; Fri, 8 May 2020 20:22:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D469B87D88 for ; Fri, 8 May 2020 20:22:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qqI6RaDlWAWA for ; Fri, 8 May 2020 20:22:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0935787DA8 for ; Fri, 8 May 2020 20:22:32 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id m7so1225709plt.5 for ; Fri, 08 May 2020 13:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purse.io; s=google; h=to:cc:references:from:autocrypt:subject:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=v1x2f4aDXKCduV76vnQdaiRDGB5+hRzWDTdr7dq5dm0=; b=QlEcvs47zchSVKSN3Hmx+mEWgjJ84d9ypSJguVYrlBXfRWhqCm0B+f+VLdeiMCwUKB xrcVlll1OpwPHWGmF+tYzH7sBkOfsd30X+c4X3C+ClaCOjWl1n2+Pzt8GDHtrCLHvb2T rB7a9t5Y8/7NYMiGZ6tCld3bSg0H6H2mciqeU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=v1x2f4aDXKCduV76vnQdaiRDGB5+hRzWDTdr7dq5dm0=; b=IP6KZ50q/DTcJ6un40Zh9s2YD8NsMrizNPb/PNas7XUCna/qZA1AYnAmms2YiF+7tH to+4C+8KuUaaDILGeN3SrpCAg1wl3ChiK/E/ipYVjiNFjrbEOmjAerBRrKUMiYMUdc4u TJKfD7d08v9m9RlwrlZvZqySx9THPuokZWARmVcFpfGovGT0Wu6Mfrolgwvet2XvEZrK dtERxHOavei5MbRa5uxRDT+JoRHr2EkfunqCEOt843uujoUpDvdD6kBdC6wyNN2p731C SANDCcuO73pUB64rVMghIhhE5yHkq4aIrQRu60FboCebXoIAZ8yHEAQrQnwjqxotbtN+ pf4w== X-Gm-Message-State: AGi0PuYp6yCT1E2gkLq+axLPG/ty8FZeyQznJTRZnj2hvU8kb1a9b/TT ALjoE0hOVOszLFsEM7h9EE4uWA== X-Google-Smtp-Source: APiQypKE3uU4UMzolKosJfev2d8PhjZChfjAaOY+saukDNVf/cE0+jZpW07/vXMQiD2AqEyDPYbG7A== X-Received: by 2002:a17:90a:d17:: with SMTP id t23mr8104196pja.77.1588969351574; Fri, 08 May 2020 13:22:31 -0700 (PDT) Received: from [10.0.0.199] ([66.172.99.113]) by smtp.gmail.com with ESMTPSA id m9sm1993115pgd.1.2020.05.08.13.22.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 May 2020 13:22:31 -0700 (PDT) To: Keagan McClelland References: <202005051300.38836.luke@dashjr.org> From: Braydon Fuller Autocrypt: addr=braydon@purse.io; keydata= LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptUUlOQkZzRWthc0JFQUM0 b1BKUXNGV0FNME9qTkpsWVV4SmJUVjhibzFUZ1h3WmROWldld0c2ZnZRUStpR0dJCm15L2E1 aDEwLzlWKy9DdGlvOGF5QWZwazZWM3ovdnhxOElkUFZjc1djY0hMbmd1YUFFRWhZbktkR1pm c29oY1EKTU80TFI2M1I2dlByVVlVSmVoVnp0MllaNUY0OTV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V1BKSXhodHRoWXNSODRhbXZ0TEJ3MWFs T3VRU1daQVNYRUdFcmgrTkQrNFB0N0dobWxEODhROWxmWXpGZHhJCk43V1YxdFBBVHBQeCta M1ljTllaWGQydkswVmluTG9odk4wdW1iOGd2ZUZDVkhYaWliYjZzcFI4Q0VQTVRvSEkKc1JU VWo1S3JEWmhmbUduY0Qrc0NySFNXVDlSbHh2TkZpRjI5RFdzKzdudUJCYU5QQ3hYMHozeTZJ aVg0aFVsaApkcUFOeVR1cHVSaVlGUFpIWjBMSFFzeDQ2WjJjVXE1enQwMUJwV1NCWHlKeEJj TVY3SGtWT2J3ZzJaTVJGbGNJCkRGYy9aWTBWbmlmSDlWRHFpaWZKelhtNUkxaWE1SXU2R3M2 ZXRlZnZGdHQ2QlFKcXd0MlBNcENDOG53dDE3eDEKVlFuZVk4OVZmTTROczlPeC9IU01zODFZ U2wyKzZDSXQxVjVNeGtMYzMxeEJCNXZKTUhsRTRFM0g3VnVidjRicQoyWUxnY29nSlN6WkZv ZDRQUHY1ZkIzbTYybjV3U1R6M2todjBiVVhGOUN2dUxLNkk0dXdpUnBCNHhLRlRSZjZTCm5m RTNzaUcwVWlidFl1cE1wLzJ5RmYrWUpiVVlEZk1XUjhwZWNTRzFJemVjQ3dFNHptU2F6TFN3 czFMc1pYQnAKUVd5U0JvaVBCeEU1akYzOEYvRkRyMll4VEdqNU1KaXRzTUloNkFoZnlCNG1o OW8yVzBlYnh4K2YyNXh4aGZydwpuekk9Cj16T0twCi0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZ IEJMT0NLLS0tLS0K Message-ID: <9b2db539-11d0-0e7f-7b2e-e7a2a2106341@purse.io> Date: Fri, 8 May 2020 13:22:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Mailman-Approved-At: Fri, 08 May 2020 21:00:21 +0000 Cc: Bitcoin Protocol Discussion , "lightning-dev\\\\@lists.linuxfoundation.org" Subject: Re: [bitcoin-dev] [Lightning-dev] On the scalability issues of onboarding millions of LN mobile clients X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2020 20:22:33 -0000 On 5/8/20 1:01 PM, Keagan McClelland wrote: >> The RPC interface in Bitcoin Core, and others, is not great for this >> because it exposes a lot of functionality that isn't necessary and >> introduces risks. > This is actually somewhat my point. If the RPC interface was good for t= his > and *didn't* introduce risks, we could just use that and be done with i= t. > But I'm finding there are many use cases that you want to have low cost= > ways to serve peer services to people whom you have given explicit > permission, but they shouldn't have full ability to administrate the no= de. > > Perhaps I wasn't explicit in my previous note but what I mean is that t= here > seems to be a demand for something *in between* a peer interface, and a= n > owner interface. I have little opinion as to whether this belongs in co= re > or not, I think there are much more experienced folks who can weight in= on > that, but without something like this, you cannot limit your exposure f= or > serving something like bip157 filters without removing your own ability= to > make use of some of those same services. An idea I was thinking about was having three ports for a full node: 1) Consensus bitcoin protocol. This is the existing peer-to-peer protocol without additional services. 2) Wallet services protocol. Adds additional functionality for wallets. For example bloom filtering, compact block filters, and potentially output and address indexes for electrum-like support. It's nearly identical to the consensus peer-to-peer protocol, supporting the same wire format. As it's on another port, various middleware could be added to support various authentication and transports. 3) Control interface. This is the existing JSON-RPC interface, without all wallet related RPC methods.