From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gmaxwell@gmail.com> Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id A5A99BBC for <bitcoin-dev@lists.linuxfoundation.org>; Tue, 29 May 2018 03:24:48 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ua0-f181.google.com (mail-ua0-f181.google.com [209.85.217.181]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 9EBCB224 for <bitcoin-dev@lists.linuxfoundation.org>; Tue, 29 May 2018 03:24:47 +0000 (UTC) Received: by mail-ua0-f181.google.com with SMTP id y8-v6so9037118ual.5 for <bitcoin-dev@lists.linuxfoundation.org>; Mon, 28 May 2018 20:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4Nt+nqqZmaEN/QEcaNvTZMBJdUxItzdyO3mguDqWi5w=; b=Kx1JvnhIv3ftP0TZ4XsMZ1Qe12vxJbOxiMXv04e4sYO6cnYUuTfv9XA7Jd3w/pGFW6 Pnh7anxLlOQQ+w0kaLY1tqXryFzxAAFq/z4RxBTqzB6Pcw1YnrV6MPTPT/Nhp4Ed+GU6 88zU+NY8HkjQ02VUGwbf50FPERCQzswjVQIyvA5IDaxb+dvvamH0//C0NmXlaAZJ4xBk IX7Ydax7ON7Ld5M5LR7hv46TRyH34xj2udKIAkgaSfliqSaeCzK2ZPmn2rMptZnPWVNj yga/8gAdyBlmFyqNQ0+4pslIfpUVIZH4tMBMjmKOLA/iRKCJeh4GyX/B2ASTx7rfWXBX pwZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4Nt+nqqZmaEN/QEcaNvTZMBJdUxItzdyO3mguDqWi5w=; b=HJJoaZuAWBLhQ9hlIXLzTA+0PedC/csx/MuiLuJMSWtT9rDjHoocibCL9+P9CVMWCC 1E93aL4P0NRqT+Bv3vHRmEZYZqAUuD+PG7zvV1FUTmBbMbnp4xCcvEx1h/3Q3C2q6rIm CId1qpz6D0utg5fk5BoJS65vmEftCxAjFHtTx8f4UvnEQqZPTeGJEPEo1YDTYHJyTx52 pSUXpFmBc/7Gqu1KzvXQ6+QIVx5VfgLIA1lW8uVt0mzAxfhG4kroPY1osFQQkaV6py1R PgRx8KcHNjlu3gxZRvdWR7eQUoOf42sDZpEltqyLkoD0F4WWwaNnsAhKGY7uMOha3aW3 hG6w== X-Gm-Message-State: ALKqPwd2VQAaMhl7g95SBGxE+REN8eUUUdStJvVPL+jKuwHcdvOz9A7c XqT1ARwkpbKg6AyPBI9hw9k6DBNtNvcRyyPrsrU= X-Google-Smtp-Source: ADUXVKIkUNliKYBOi9D5JsAErOIyCUoA/mn7RS5C5nzl1zPnfo3stPzaM+HTb/HrDGAtfv2jQHbo9gRI+JdI9CXG1XA= X-Received: by 2002:ab0:4c24:: with SMTP id l36-v6mr7349414uaf.27.1527564286774; Mon, 28 May 2018 20:24:46 -0700 (PDT) MIME-Version: 1.0 Sender: gmaxwell@gmail.com Received: by 2002:a67:5193:0:0:0:0:0 with HTTP; Mon, 28 May 2018 20:24:45 -0700 (PDT) In-Reply-To: <CADZtCSguto2z6Z9CykymxnCokqo1G=sW0Ov0ht+KcD+KMnYyow@mail.gmail.com> References: <d43c6082-1b2c-c95b-5144-99ad0021ea6c@mattcorallo.com> <CAAS2fgRF-MhOvpFY6c_qAPzNMo3GQ28RExdSbOV6Q6Oy2iWn1A@mail.gmail.com> <22d375c7-a032-8691-98dc-0e6ee87a4b08@mattcorallo.com> <CAAS2fgR3QRHeHEjjOS1ckEkL-h7=Na56G12hYW9Bmy9WEMduvg@mail.gmail.com> <CADZtCShLmH_k-UssNWahUNHgHvWQQ1y638LwaOfnJEipwjbiYg@mail.gmail.com> <CAAS2fgQLCN_cuZ-3QPjCLfYOtHfEk=SenTn5=y9LfGzJxLPR3Q@mail.gmail.com> <CADZtCSjYr6VMBVQ=rx44SgRWcFSXhVXUZJB=rHMh4X78Z2eY1A@mail.gmail.com> <CAO3Pvs9K3n=OzVQ06XGQvzNC+Aqp9S60kWM9VRPA8hWTJ3u9BQ@mail.gmail.com> <c23a5346-9f99-44f0-abbf-d7e7979bf1d8@gmail.com> <CAO3Pvs_MA4TtgCCu1NgCBjK2bZRN+rKnGQJN6m4yTrViBXRiPA@mail.gmail.com> <CAD3i26BibcaMdbQv-j+Egz_1y0GuhzepBp5ATNpj=Qv8hi1TVA@mail.gmail.com> <CADZtCShAYpbN=4qNoX5c8yd1j08+mEZzG8gZwcHrj2suY0mb9w@mail.gmail.com> <CADZtCShYnM3A949H18V2+BArA-K9J+cDkd=rX8xRn0+0js5CwA@mail.gmail.com> <CAAS2fgTXS5Tains7dfe_Rc9JxR6M=NuFW9UtieRELm+6N2uNog@mail.gmail.com> <CAFfwr8F+ghYb2HYEgC7Lh7Z-ytNE7EABr6cxiVXYhWLk-TPO7A@mail.gmail.com> <CADZtCShDzPK_jqeOrK4XBoB2uriU9c9T8Dm7By-8ew3XOoAeQg@mail.gmail.com> <7E4FA664-BBAF-421F-8C37-D7CE3AA5310A@gmail.com> <F87D7069-0FDC-4572-B02B-398A2A455935@gmail.com> <CAAS2fgT716PiP0ucoASxryM9y+s9H2z06Z0ToaP1xT3BozAtNw@mail.gmail.com> <CADZtCSguto2z6Z9CykymxnCokqo1G=sW0Ov0ht+KcD+KMnYyow@mail.gmail.com> From: Gregory Maxwell <greg@xiph.org> Date: Tue, 29 May 2018 03:24:45 +0000 X-Google-Sender-Auth: RjxtQfS2gWDM9Yun3GSg6LNHnRw Message-ID: <CAAS2fgR+tTbS+X=HiYzjPtgyrtGyN-RsPQrp=gknTHsNR=fMpQ@mail.gmail.com> To: Jim Posen <jim.posen@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org> Subject: Re: [bitcoin-dev] BIP 158 Flexibility and Filter Size X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org> List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe> X-List-Received-Date: Tue, 29 May 2018 03:24:48 -0000 On Tue, May 29, 2018 at 2:42 AM, Jim Posen <jim.posen@gmail.com> wrote: > Certain wallets may be able to use only the output script filter by using > output scripts to watch for confirmations on sent transactions, assuming > that application is the only one with access to the private keys. The > additional benefit of the input script/outpoint filter is to watch for > unexpected spends (coins getting stolen or spent from another wallet) or > transactions without a unique change or output address. I think this is a > reasonable implementation, and it would be nice to be able to download that > filter without any input elements. In this configuration there is little need to access historical blocks though, since you're assuming that you'll never recover from a backup. No?