summaryrefslogtreecommitdiff
path: root/20/36d11d5db86eaf9e0e2a1c89f3e65e374c59e6
blob: 08660d4383d75036b4bec49b6f8aecea22b968c4 (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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
Return-Path: <pete@petertodd.org>
Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 66A86C002D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed,  2 Nov 2022 09:26:35 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp1.osuosl.org (Postfix) with ESMTP id 2B0A58176C
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed,  2 Nov 2022 09:26:35 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2B0A58176C
Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key,
 unprotected) header.d=messagingengine.com header.i=@messagingengine.com
 header.a=rsa-sha256 header.s=fm3 header.b=a/LffZqV
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 PDS_BTC_ID=0.499, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
 autolearn=ham autolearn_force=no
Received: from smtp1.osuosl.org ([127.0.0.1])
 by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id I1IVq-RMqtNb
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed,  2 Nov 2022 09:26:33 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8FDF581769
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25])
 by smtp1.osuosl.org (Postfix) with ESMTPS id 8FDF581769
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed,  2 Nov 2022 09:26:33 +0000 (UTC)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id E365E5C00C8
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Wed,  2 Nov 2022 05:26:29 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Wed, 02 Nov 2022 05:26:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1667381189; x=
 1667467589; bh=jEKfNUr7E/lk00cxNY4o8z9XxFe/TXMalvWtH9KSlus=; b=a
 /LffZqViL3E/WOB2aBPSFFZhxsPZpyN7X1qhWFj3FmiTIxkfyR2Bs72i9ZX9drhU
 IzU8IkyO9XGd0h9SUQxQh9GWBWVNjQL+pDJvP1STkKW6istzjT8FDjmRYS2ntxki
 uTqK6XmlTesHhZ2FwS5nkKFu7gCZxewSdqn5z2y8p9RWC+PLK0paeVAMbAl258K3
 MoXalnFrJKJZ3nBuiIhTccx+L1O/HMh9F8ijUKZxg/nJf0YhysMtt3iHSWVGFsJL
 aqAVz159ULgxJN3NQMyBHMgwXxmkYrgANwEArfz86wSx9aDLlkkZ40oS9fqGtoqZ
 syuhmRZx1HLuoD1XX3U+g==
X-ME-Sender: <xms:xTdiY1Ri8WuxIV3b_BbPPF0AO2WOKxL-MHbNIZX6lQ8BTs-CZC2LgQ>
 <xme:xTdiY-xxhJlacFRi7zcdh-o2z1ueew8VDiEs0TJCCTINa3XriVpVAXpSv4fZUslNQ
 vLDEPz_mJdeFJ9lo_8>
X-ME-Received: <xmr:xTdiY63hrgB3zgz1EPUT7u_4ikUNK7RukEhGgPS2r05o6_zjIpuFj2p4JSwOhHlc9O_6MZ8emAk2TNvTHUKoHKKZCfas7egn>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudejgddtvdcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderredttd
 dvnecuhfhrohhmpefrvghtvghrucfvohguugcuoehpvghtvgesphgvthgvrhhtohguugdr
 ohhrgheqnecuggftrfgrthhtvghrnhepieevieehudejteffgfekuedvledvudelveeiff
 evffegteehleetkefhgfeiteetnecuffhomhgrihhnpehnohhprdhlohhlpdhgihhthhhu
 sgdrtghomhdpphgvthgvrhhtohguugdrohhrghenucevlhhushhtvghrufhiiigvpedtne
 curfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvgesphgvthgvrhhtohguugdrohhrgh
X-ME-Proxy: <xmx:xTdiY9Dwlr9rIkCVYVCbDg6agoj9dEhZQbuQcYK74VU7bfQST6NPcw>
 <xmx:xTdiY-gso8tVXBZcFGtKzGyO4ggQCfQRZQm72iwN7tUZl1gijlA-6g>
 <xmx:xTdiYxormWX5wjCFoTejueuKxcH9eZN_tsU1BLQjiQh3IxBlv-zKVQ>
 <xmx:xTdiYxvvP-sIxNmYRiEU-PhOK_ufx1kd389Ze9KpY7vX1u6zcnXI7g>
Feedback-ID: i525146e8:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bitcoin-dev@lists.linuxfoundation.org>; Wed,
 2 Nov 2022 05:26:29 -0400 (EDT)
Received: by localhost (Postfix, from userid 1000)
 id 430AC5F82D; Wed,  2 Nov 2022 05:26:27 -0400 (EDT)
Date: Wed, 2 Nov 2022 05:26:27 -0400
From: Peter Todd <pete@petertodd.org>
To: bitcoin-dev@lists.linuxfoundation.org
Message-ID: <Y2I3w8O5X55sD/3C@petertodd.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="1ULUfi+m4lHJofa2"
Content-Disposition: inline
Subject: [bitcoin-dev] Announcement: Full-RBF Miner Bounty
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
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: Wed, 02 Nov 2022 09:26:35 -0000


--1ULUfi+m4lHJofa2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm now running a full-RBf bounty program for miners.

tl;dr: I'm broadcasting full-RBF replacements paying extremely high fees to
reward miners that turn on full-RBF. I'm starting small, just ~$100/block in
times of congestion. Miner and pool profit margins are pretty small, on the
order of $1k/block in many cases, so I know it doesn't take that much more
money to make a difference.

Why should you do this? Full-RBF/zeroconf has been discussed to death. But
tl;dr: You'll earn more money, and help transition Bitcoin to a more secure
mempool policy based on economic incentives rather than trust.


If you're a miner and want to participate, the easiest way to so is to use =
the
mempoolfullrbf=3D1 option in the upcoming Bitcoin Core v24 release (eg the
24.0rc3 tag), or use the mempoolreplacement=3Dfee option in Bitcoin Knots.

You can also just modify the code yourself by removing the opt-in RBF check.
For example against the v23.0 tag:

    $ git diff
    diff --git a/src/validation.cpp b/src/validation.cpp
    index 214112e2b..44c364623 100644
    --- a/src/validation.cpp
    +++ b/src/validation.cpp
    @@ -736,7 +736,7 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Works=
pace& ws)
                     // check all unconfirmed ancestors; otherwise an opt-i=
n ancestor
                     // might be replaced, causing removal of this descenda=
nt.
                     if (!SignalsOptInRBF(*ptxConflicting)) {
    -                    return state.Invalid(TxValidationResult::TX_MEMPOO=
L_POLICY, "txn-mempool-conflict");
    +                    // return state.Invalid(TxValidationResult::TX_MEM=
POOL_POLICY, "txn-mempool-conflict");
                     }
    =20
                     ws.m_conflicts.insert(ptxConflicting->GetHash());

Once you've enabled full-RBF, you need a full-RBF peer. I'm running a few of
them:

    cup.nop.lol
    mug.nop.lol
    jar.nop.lol
    jug.nop.lol

These nodes run a preferential peering patch (https://github.com/bitcoin/bi=
tcoin/pull/25600)
to ensure that full-RBF nodes are interconnected to each other and replacem=
ents
can easily propagate. Also feel free to contact me if you'd like to peer wi=
th a
private node.


If you'd like to donate to this effort, send BTC to
bc1qagmufdn6rf80kj3faw4d0pnhxyr47sevp3nj9m


=2E..and yes, I'm well aware that miners could collect this bounty in other=
 ways,
eg by raising minimum fees. Doing that also breaks zeroconf, so I'm not too
concerned.

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

--1ULUfi+m4lHJofa2
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAEBCgAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAmNiN7sACgkQLly11TVR
LzdPIg/+NYI/u3S3HpbyCKG1UqT+0xpMJq4dwuh7l42z0zJaFWCp78GsY3tx2qB9
kE+puj+tUneMrSG4CCZMClt+k4xOVKhoJF7eo91z1wEgqLdlTMclRkrFHorQX2xg
pRpaLNIHjDiIHhkuxTzB5vSzNEeFaJ8EcMWy/MCs9zs3nTjnwL+zJbT25CX8jLp3
sokkCiccSA6wsex0OhdCRsH09UK2QdMIfUTLXeVOV1ce67HelFZx3CyvFcLdYHHl
0GjSSwNZAGFFXnH2ElkmkxRN7ih7SDaPp/QVRWyqQZxUUfTSPuDhp4INpVTQg8AZ
xtgjr87deyG13iKUf+RqLvPGQOJcr/3+tLKcLbcKOIjzboug/0HlOaR5Qbrjo1tt
vi4i5FOgl6zaK9+SqQ8ekMpmVmJHz93hK3x6q2sf0I4gkii7w54gx6U418aQxOT6
URGJStZwp5hYCG1l7eioyE7lOEQL4OEqH1XemSq6ppPy3o4AoP9TTdQ0cLZ/Ku6S
u1bAa5/Fkn4M6gF/gkKDSk+1kEzH+0X4OdMmD5IryOYEawrF7KKiYVQJv8mIacLI
m4gSb5bcGrfWZTqvV3Ilkf/waf02RmFqo1LPAHpHU05Kw9ss7oskbwuL+LqUstqU
jRyM3qKZmrzIdcQdsrmW1a4mVsi9qd6vAYM2EUELBKQprWdrpyw=
=D5dn
-----END PGP SIGNATURE-----

--1ULUfi+m4lHJofa2--