summaryrefslogtreecommitdiff
path: root/a1/38c16b4f1ff303438eb1c408fc76877f33a7c2
blob: c8d4d71d76108355563942cd70f55cb6b19caf91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Return-Path: <jim.posen@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 76EF3828
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 29 May 2018 02:43:06 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com
	[209.85.216.180])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5035B224
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 29 May 2018 02:43:05 +0000 (UTC)
Received: by mail-qt0-f180.google.com with SMTP id i18-v6so6261746qtp.12
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 28 May 2018 19:43:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:references:in-reply-to:from:date:message-id:subject:to
	:cc; bh=eZdGJ0CcBCyMxemdx67XNXy2L8fto04ZropMOzHhrpc=;
	b=Jep0kPV/7X08jlgHzoIlNeBfmhoMC4934aZAGtLWY52t7Wy6mh77ySttkTtfo1kgu2
	omTHLPG8jJ2R22/aTyl/boZCTEppWqeyTYeZRCsc5X5bPMAjd1TmqfOdbDbbAkMT/XUx
	dKu3dLyBhWYyByqdN5cCaxGhbgknOG2n8oAmZ236qOB2n7nhhF57vAZl8x2iGYMZW7Dw
	s5Oz20th3s+w3PM6/Ks6zUj6ZLqzcUyFQhloVSiM35LqvJUw/Tsi4zwduhtNIXTvsc0N
	iwx16xANjTXgwstlHO0HVoe6FLayUIH+XJyt2QfWCJ2ls9mAOCVByaNoxaDVTKxkc77W
	Z0TA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:cc;
	bh=eZdGJ0CcBCyMxemdx67XNXy2L8fto04ZropMOzHhrpc=;
	b=S8/A4E3LdkW52PKSxwYymJcHTXVpn5uwU5kjMFAveFGz8WEkkcFQEEsqSctjZ/LHSX
	itb4sxBeFYXCEkFn1ELVjVAEBKrHe3iRPB45wKcwxg+hxRBx1JAVA27npug1qNxIl8SQ
	iUvC/ZxhXTEAzhbHUVceY9jXFi3zA6ePZ8Bc5shCO2smv5ZsOmw2TXkJZ+UbZKwRJw/f
	tlra4AMgu4uQo7sAEO6rcd+gwITe0R+McBySuTyNQVTG/cocxXhBQSBn+F26uBV9Tu51
	oUn/suI8xi681KwpZ5ITOpX+przW+5SSXyN1HkZ38RuPLmNhbx3IDef4JnFPq35x/vPZ
	A+HA==
X-Gm-Message-State: ALKqPwcFRwU+E/xhsvc37oJdxyhjf1QgF+v+9BQUwHUpM5WzfkAs48oH
	LZ0MfSuLTxQU1kU0whhxswCw4kCPnxq0HmlKTGrUXQ==
X-Google-Smtp-Source: ADUXVKI5c6XWV0i/5Fpcx8/3/cuflHjiJL8u5sXpmvvSd4A0vMtl/ZVVGdaBEy0AGvbnMCeq3yIcNkJjBDjRHrt08Yw=
X-Received: by 2002:ac8:2f47:: with SMTP id
	k7-v6mr14707514qta.363.1527561784252; 
	Mon, 28 May 2018 19:43:04 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <CAAS2fgT716PiP0ucoASxryM9y+s9H2z06Z0ToaP1xT3BozAtNw@mail.gmail.com>
From: Jim Posen <jim.posen@gmail.com>
Date: Mon, 28 May 2018 19:42:52 -0700
Message-ID: <CADZtCSguto2z6Z9CykymxnCokqo1G=sW0Ov0ht+KcD+KMnYyow@mail.gmail.com>
To: Gregory Maxwell <greg@xiph.org>
Content-Type: multipart/alternative; boundary="00000000000085dd8c056d4f31d4"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	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
X-Mailman-Approved-At: Tue, 29 May 2018 03:31:06 +0000
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 02:43:06 -0000

--00000000000085dd8c056d4f31d4
Content-Type: text/plain; charset="UTF-8"

> Is there an application that requires watching for output scripts that
> doesn't also require watching for input scrips (or, less efficiently,
> input outpoints)?
>

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.

--00000000000085dd8c056d4f31d4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_quote"><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">Is there an application that requires watching for output scripts that<=
br>
doesn&#39;t also require watching for input scrips (or, less efficiently,<b=
r>
input outpoints)?<br></blockquote><br></div><div class=3D"gmail_quote">Cert=
ain wallets may be able to use only the output script filter by using outpu=
t scripts to watch for confirmations on sent transactions, assuming that ap=
plication is the only one with access to the private keys. The additional b=
enefit of the input script/outpoint filter is to watch for unexpected spend=
s (coins getting stolen or spent from another wallet) or transactions witho=
ut a unique change or output address. I think this is a reasonable implemen=
tation, and it would be nice to be able to download that filter without any=
 input elements. <br></div></div>

--00000000000085dd8c056d4f31d4--