summaryrefslogtreecommitdiff
path: root/ce/115704c6f155f4ba448cf790043a823aaf59de
blob: 996e86eede7ab04795ff721e4035c992ac216ea8 (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
Return-Path: <pete@petertodd.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id BB2599FA
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 12 Jan 2017 19:58:40 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from outmail149058.authsmtp.co.uk (outmail149058.authsmtp.co.uk
	[62.13.149.58])
	by smtp1.linuxfoundation.org (Postfix) with ESMTP id 5BC261FF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 12 Jan 2017 19:58:39 +0000 (UTC)
Received: from mail-c247.authsmtp.com (mail-c247.authsmtp.com [62.13.128.247])
	by punt20.authsmtp.com (8.14.2/8.14.2/) with ESMTP id v0CJwYjB052939;
	Thu, 12 Jan 2017 19:58:34 GMT
Received: from petertodd.org (ec2-52-5-185-120.compute-1.amazonaws.com
	[52.5.185.120]) (authenticated bits=0)
	by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id v0CJwWWa001356
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 12 Jan 2017 19:58:33 GMT
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by petertodd.org (Postfix) with ESMTPSA id BB49140576;
	Thu, 12 Jan 2017 19:58:31 +0000 (UTC)
Received: by localhost (Postfix, from userid 1000)
	id C0E3C2007B; Thu, 12 Jan 2017 14:58:30 -0500 (EST)
Date: Thu, 12 Jan 2017 14:58:30 -0500
From: Peter Todd <pete@petertodd.org>
To: Greg Sanders <gsanders87@gmail.com>,
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <20170112195830.GA5663@savin.petertodd.org>
References: <2ac49fb0-ff79-5cb9-7b92-14ec791ecc45@dyne.org>
	<CAB3F3DtJ3Hq5saz7fVd95bhi+Y84m6U1GuduHOGyXuhVwRaWeg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ"
Content-Disposition: inline
In-Reply-To: <CAB3F3DtJ3Hq5saz7fVd95bhi+Y84m6U1GuduHOGyXuhVwRaWeg@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Server-Quench: 7f6547c0-d901-11e6-bcdf-0015176ca198
X-AuthReport-Spam: If SPAM / abuse - report it at:
	http://www.authsmtp.com/abuse
X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR
	aQdMdwAUElQaAgsB AmEbWl1eVVV7WmA7 bghPaBtcak9QXgdq
	T0pMXVMcUgUbe1tm YU8eUhhxcgMIcH5z YghlCHZeWEMpdVsp
	S05VCGwHMGF9OjNL Bl1YdwJRcQRMLU5E Y1gxNiYHcQ5VPz4z
	GA41ejw8IwAXFD5c RBoEJk4TRkBDJDMk QxkJEDAiG1FNTTR7 ARErQl4B
X-Authentic-SMTP: 61633532353630.1038:706
X-AuthFastPath: 0 (Was 255)
X-AuthSMTP-Origin: 52.5.185.120/25
X-AuthVirus-Status: No virus detected - but ensure you scan with your own
	anti-virus system.
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: Re: [bitcoin-dev] Transaction Replacement by Fee
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: Thu, 12 Jan 2017 19:58:40 -0000


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

On Thu, Jan 12, 2017 at 09:13:23AM -0500, Greg Sanders via bitcoin-dev wrot=
e:
> BIP125 is the standard way to signal:
> https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki
>=20
> Should explain everything you need.

Additionally some miners mine full replace-by-fee, which has no limitations=
 on
nSequence. My implementation (for v0.13.2) is here:

    https://github.com/petertodd/bitcoin/tree/replace-by-fee-v0.13.2

and is identical to Bitcoin Core modulo the nSequence stuff being removed, =
and
a special service bit added to allow full-rbf nodes to preferentially peer =
with
each other to make sure replacement transactions get propagated.

In practice full-RBF works fairly well, so while it's even faster to use the
nSequence signalling specified in BIP-125, doing so is not mandatory so lon=
g as
you can et your replacement transaction to a full-RBF node.

--=20
https://petertodd.org 'peter'[:-1]@petertodd.org

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

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

iQEcBAEBCAAGBQJYd9/iAAoJECSBQD2l8JH7Jz0IAIqBYzDcmIkHEVZ3McdK9veQ
dboyaOiGL572WBDjaH5k+MdBZ3jlXYiGMDhyDTrL8aO4wd6ndzANkdp8iU5L1IUL
rB4H9XKFAS/eixpTGJVJxBouEjM+T7swU2FEdJEoN1kBEekJco9bQgqqdYTjKUyN
RKl6rQD3ZIxVYtkFpve+IF0/iWno4lOpRPuoO2eJN8FpxIrocEqE7ZtBG1V4stbT
/OFgEp7bfDyPma24I7IWZq2Zrz0w1o8DkB6NX+lbG1LAa3sB63ceZC6ewZKqkXwu
rhW5fbCaxAHNVAJrv2PUUrrDR3j3Itz+XGrXzke4888Je0suCedB/e9WnNgvcEY=
=Zr5s
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--