summaryrefslogtreecommitdiff
path: root/71/532b7bfdba44b4ea61b806cfedd328481882c0
blob: 54b47a27977cf95e39689cad0382a07ea7187cb8 (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
Return-Path: <dave@dtrt.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id D79C4481
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 10 Dec 2018 15:00:33 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from newmail.dtrt.org (li1228-87.members.linode.com [45.79.129.87])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 6CD4574A
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon, 10 Dec 2018 15:00:33 +0000 (UTC)
Received: from harding by newmail.dtrt.org with local (Exim 4.89)
	(envelope-from <dave@dtrt.org>)
	id 1gWN2u-000079-15; Mon, 10 Dec 2018 10:00:32 -0500
Date: Sun, 9 Dec 2018 17:41:57 -0500
From: "David A. Harding" <dave@dtrt.org>
To: Russell O'Connor <roconnor@blockstream.io>,
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <20181209224157.mytaebwmw5o5wifa@email>
References: <CAPg+sBhuPG-2GXc+Bp0yv5ywry2fk56LPLT4AY0Kcs+YEoz4FA@mail.gmail.com>
	<CAPg+sBiu0BjZEtz-t7m3M+TnAEDG_k1GKtxwkOKh6qrSezUO7g@mail.gmail.com>
	<CAMZUoKkJdU0P_dVRvHn5zY6xUHYUptdK221ioQMp3FXZAerp3Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="jgqfqa6w2fztrula"
Content-Disposition: inline
In-Reply-To: <CAMZUoKkJdU0P_dVRvHn5zY6xUHYUptdK221ioQMp3FXZAerp3Q@mail.gmail.com>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24
	autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Mon, 10 Dec 2018 17:29:40 +0000
Subject: Re: [bitcoin-dev] Safer sighashes and more granular SIGHASH_NOINPUT
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: Mon, 10 Dec 2018 15:00:33 -0000


--jgqfqa6w2fztrula
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 06, 2018 at 11:57:09AM -0500, Russell O'Connor via bitcoin-dev =
wrote:
> One more item to consider is "signature covers witness weight".
>=20
> While signing the witness weight doesn't completely eliminate witness
> malleability (of the kind that can cause grief for compact blocks), it do=
es
> eliminate the worst kind of witness malleability from the user's
> perspective, the kind where malicious relay nodes increase the amount of
> witness data and therefore reduce the overall fee-rate of the transaction.

To what degree is this an actual problem?  If the mutated transaction
pays a feerate at least incremental-relay-fee[1] below the original
transaction, then the original transaction can be rebroadcast as an RBF
replacement of the mutated transaction (unless the mutated version has
been pinned[2]).

-Dave

[1] $ bitcoind -help-debug | grep -A2 incremental
  -incrementalrelayfee=3D<amt>
       Fee rate (in BTC/kB) used to define cost of relay, used for mempool
       limiting and BIP 125 replacement. (default: 0.00001)

[2] https://bitcoin.stackexchange.com/questions/80803/what-is-meant-by-tran=
saction-pinning


--jgqfqa6w2fztrula
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgxUkqkMp0LnoXjCr2dtBqWwiadMFAlwNmjUACgkQ2dtBqWwi
adO7WhAAoKabd20G6EQKeU9OeW4USyjB3dHdYaBOOH+ALP6VcglfOGGhh9gg/uDK
1JDRgpAIt1Sjmjlz8iRDJLoMtoKKgqzKnNVDG3YkEe9O0DLP1tjENW3UKh247Esp
XcpUyuTERRtpRU720BwZP/pH2FdAB9HVNRMU67UdzMa1JPiuN450vQQVw7DwUGK2
wdxznw41b3gw5SbxhuEjD99Fli+7nsV3asetQE7cZ+vjkFfrOr8k8iFiHEp846oP
oULEQo+7LPz0ctzVwlvK5eL6C33lvUoiM0F1Us8PWdC/fhERDDdC5v28+xcW5Wry
RM9f1cjUwyPQ4x9wa/a4PfkDcXeXgYFLuNQL4SxLZX0xJ2cQoidOhnMKhgAl/XeP
TQnOC0LrJg7iCWVBS2ojt2vG7LtHqUJ+fLyp/j8bQ7QNk/y1DoXXdWZ/Gzzo6lH8
0A1axwtAc7RMBM0EJjMVW9A0NFNovFytSrGqRlvq0w/z3Agh8A/6xMT2VteietAN
zTqmO4B8Cr1kFUj9gPZo41MC9YQeK4XW5gkU6G9IBucSDgOPfw+wnXKdGW6nkfP7
kEvJulmEC6otu3OElz96wSoLSkUjMbg5ceH+heKhU2SOrgKW61oyyCbiiXhVSI1q
MeSrrZKzvoV+LMVkqm4hDAuHs+kju4PKJtQsgxVx2UpAvGKHiI8=
=a5/v
-----END PGP SIGNATURE-----

--jgqfqa6w2fztrula--