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
|
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 D2D7BAE1
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 11 Dec 2018 17:48:32 +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 674A274A
for <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 11 Dec 2018 17:48:32 +0000 (UTC)
Received: from harding by newmail.dtrt.org with local (Exim 4.89)
(envelope-from <dave@dtrt.org>)
id 1gWm91-00051H-2q; Tue, 11 Dec 2018 12:48:31 -0500
Date: Tue, 11 Dec 2018 12:47:24 -0500
From: "David A. Harding" <dave@dtrt.org>
To: Russell O'Connor <roconnor@blockstream.io>
Message-ID: <20181211174724.k7kxcwcnrtfm46og@email>
References: <CAPg+sBhuPG-2GXc+Bp0yv5ywry2fk56LPLT4AY0Kcs+YEoz4FA@mail.gmail.com>
<CAPg+sBiu0BjZEtz-t7m3M+TnAEDG_k1GKtxwkOKh6qrSezUO7g@mail.gmail.com>
<CAMZUoKkJdU0P_dVRvHn5zY6xUHYUptdK221ioQMp3FXZAerp3Q@mail.gmail.com>
<20181209224157.mytaebwmw5o5wifa@email>
<CAMZUoKnnEJ9=w3Q2a__WEd2gMWDxT55G7omRM5DTuaoEdm1H7Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature"; boundary="r2keoy2lowqc45tt"
Content-Disposition: inline
In-Reply-To: <CAMZUoKnnEJ9=w3Q2a__WEd2gMWDxT55G7omRM5DTuaoEdm1H7Q@mail.gmail.com>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 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: Wed, 12 Dec 2018 17:12:38 +0000
Cc: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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: Tue, 11 Dec 2018 17:48:32 -0000
--r2keoy2lowqc45tt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Dec 11, 2018 at 10:36:59AM -0500, Russell O'Connor wrote:
> I don't believe that the default RBF policy works that way. My
> understanding is that current policy requires an absolute fee increase (by
> an amount related to incrementalrelayfee). =20
Indeed, you are correct (BIP125 rule 4[1]).
Thanks for the correction,
-Dave
[1] For the curious, the relevant code from master's validation.cpp:
// Finally in addition to paying more fees than the conflicts the
// new transaction must pay for its own bandwidth.
CAmount nDeltaFees =3D nModifiedFees - nConflictingFees;
if (nDeltaFees < ::incrementalRelayFee.GetFee(nSize))
{
return state.DoS(0, false,
REJECT_INSUFFICIENTFEE, "insufficient fee", false,
strprintf("rejecting replacement %s, not enough additional =
fees to relay; %s < %s",
hash.ToString(),
FormatMoney(nDeltaFees),
FormatMoney(::incrementalRelayFee.GetFee(nSize))));
}
--r2keoy2lowqc45tt
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEgxUkqkMp0LnoXjCr2dtBqWwiadMFAlwP+CwACgkQ2dtBqWwi
adN+XBAAnhI47i+8DAWUl+2i8QSCYxz/R8qkJV4JM7pd5w8MosWGiIAnQzWXvh0s
MWDlXgflJqs5uhX/dSNqjyhduEuOVxOoJZJkRt2k0JdnSBx3zd5Xj3FyXQpY1nOz
drQNTq7qFYTBxYamqnqD/Z1MZZ/tkVObH+mrCPQIEQx3lxyE49NFRT3g3NlUxV6p
6EbUnQtA1H6VreQHaHOGyHTFHYfsdVHRaEdgJnwDBXqcceRrtMPCHeSa7SJU42IK
qillO9Mn+PtlqvrrEUrHGaXxI6h13KkzeO/HlDXPTAlvK+Q/qM8AfFmiHH9FnnMt
Y4x8Kev9ZqjVaDCXwr3YODpupx98O6xx1/JCU9jICA2/JExuxskEsmu4R52Hn87b
Qj8ClpQxP82cuOrMFKlSvan9SebnpTAVh7tGHZxkzW/rk/nKuzebGh2hrwo5QyBb
7AUqSvIRkLToHjyFPIMoxlpm+5EzF8B1c2ZMAir84RSFkJuqPHixInhikAy6Z7hT
05CmEvr1qeou1khJAS8UTaIrQXbaL4gh/9CyA4dg0n8G9EFUzqiBfvaqU4HNyCC1
kMwvixXmCvF/vlCPqyLea4tgMvstLblsl2yphNdsQl18sASIyA783R/eU+ijp6S0
1b3KcpUThm5MiKLelXyYpPsp4eNj2PhepiePrUI6prW5eJcCCQs=
=djWt
-----END PGP SIGNATURE-----
--r2keoy2lowqc45tt--
|