summaryrefslogtreecommitdiff
path: root/fb/59c09d8aac37f3763cd9fc5783333fc4ef9535
blob: 11b2986787b857e2c2e955ac5dea51272a1678f0 (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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
Return-Path: <ricardojdfilipe@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 7754F18BD
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  1 Apr 2019 01:04:23 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-it1-f178.google.com (mail-it1-f178.google.com
	[209.85.166.178])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id B1200712
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  1 Apr 2019 01:04:22 +0000 (UTC)
Received: by mail-it1-f178.google.com with SMTP id n78so1737414itb.4
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 31 Mar 2019 18:04:22 -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
	:content-transfer-encoding;
	bh=OHxjAHdJ+oP0RQVQesM1ArGUMBHvIsoumQUcZG7k6MI=;
	b=oNJaU/R6AYWCEtioOQycDhH3U9kwCE7Ns6pi+v48BujYGRpgdGeCc0/thUXb5VIHzN
	NRgMisrMjxXdvnKL8pt0eRexVXE6ItJYIn5nir8o0icw4PrTjI53/slCLiRrdkUPzJUO
	b2rgkz6YUBvHhXKcTS6wloRlOJkuV6TRJVc5sNi9F52Z7KjnVXjw4KRG/49jsbq+SwUQ
	p3mgLa2BVF0soJZ5u/xG5hYAY9DAEmsa3fcJkyhis0OLY+vWx6rNyrXURqSv+c00TL+E
	x/5cKRUEEmpiprsSMv2zPja+hISUVKaolUGdV7tYkd6Nnmoci1lCDAdb2At06i/CBWnl
	VnLw==
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:content-transfer-encoding;
	bh=OHxjAHdJ+oP0RQVQesM1ArGUMBHvIsoumQUcZG7k6MI=;
	b=itEo6JyZUhAPJPmRt6UZlxrz2htxBOwjFdMbPcR6Puv02cayEqMUu9B1clRZstskzq
	hfkAwcapyiPvy2Qo+0aDRSL8HGr39zQvJtcW4EGNoEQgsTdlub8ck1kylKmKDR/IOGVz
	6zao9mdBdVTqNmvy+GgOwvpxEJ7D4KwmnS8SXgAXZ7GuAnfXKw5LFORC5UepMUSSGrh4
	tOuwHU8vtTNxRjGJbh0kkffZ4F/X1LHH1bOkq2gzthffJwuTjzNKrGxS/j9T9hc22bH8
	btMauj/O2ToGlRrYaeXwBMIHjGfGsmdFPFfwKXm6AaSGiH2oTv+mToVGFZtMqGmXjzRM
	DjVQ==
X-Gm-Message-State: APjAAAUJwYJYO/YbevU4p2srs8n2F7OVRSmQ+p+9asP34VbzBiBJnuU2
	vW9Mx0tO4ikEhA/LExXzFL0J84Rk8niNR1T78tBLyw==
X-Google-Smtp-Source: APXvYqy7/W6GqMPsbUrP6Lse7Xcen0Nty8fWRVn1QpCRXRsCd/gKs8VO87aTVrawDBi9vNGatt1gKsjrbrM9246DJ1E=
X-Received: by 2002:a24:280e:: with SMTP id h14mr12661012ith.80.1554080661353; 
	Sun, 31 Mar 2019 18:04:21 -0700 (PDT)
MIME-Version: 1.0
References: <201904010030.34825.luke@dashjr.org>
In-Reply-To: <201904010030.34825.luke@dashjr.org>
From: Ricardo Filipe <ricardojdfilipe@gmail.com>
Date: Mon, 1 Apr 2019 02:04:10 +0100
Message-ID: <CALC81CNdndTKxT10gLAEnxJ+-kybUFzTQQLBV8unVHkGv9TP6A@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM,
	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: Mon, 01 Apr 2019 02:47:30 +0000
Subject: Re: [bitcoin-dev] Softfork proposal for minimum price of $50k
	USD/BTC
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, 01 Apr 2019 01:04:23 -0000

one year seems too long. i think with the BIP-148 experience you have
we could easily get there in 6 months at most.

Luke Dashjr via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>
escreveu no dia segunda, 1/04/2019 =C3=A0(s) 01:33:
>
> Certain parts of the community have been selling bitcoins for unreasonabl=
y
> low prices. This has halted Bitcoin's valuation at $20k and even driven t=
he
> price down below $15k! However, clearly Bitcoin is worth much more than
> that, and there is widespread support for higher prices.
>
> In light of this, I have written and implemented two BIPs: one to add a
> signed price field to Bitcoin transactions, and the other to softfork a
> minimum price of $50k USD/BTC a year from today.
>
> The BIPs are here, as well as included at the bottom of this email for
> convenience:
>   https://github.com/luke-jr/bips/blob/softfork_50k/bip-usdprice.mediawik=
i
> https://github.com/luke-jr/bips/blob/softfork_50k/bip-softfork-50k-price.=
mediawiki
>
> A reference implementation is here:
>   https://github.com/bitcoin/bitcoin/compare/v0.17.1...luke-jr:softfork_5=
0k
>
> Please review ASAP so we can get these deployed in Bitcoin Core v0.18.
>
> Luke
>
>
> <pre>
>   BIP: ?
>   Layer: Applications
>   Title: Signed USD Price Indicator
>   Author: Luke Dashjr <luke+bip@dashjr.org>
>   Comments-Summary: No comments yet.
>   Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-????
>   Status: Draft
>   Type: Standards Track
>   Created: 2019-04-01
>   License: BSD-2-Clause
> </pre>
>
> =3D=3DAbstract=3D=3D
>
> This BIP proposes a method to explicitly specify and sign the USD/BTC pri=
ce
> for transactions.
>
> =3D=3DCopyright=3D=3D
>
> This BIP is licensed under the BSD 2-clause license.
>
> =3D=3DMotivation=3D=3D
>
> Certain parts of the community have been selling bitcoins for unreasonabl=
y low
> prices. This has halted Bitcoin's valuation at $20k and even driven the p=
rice
> down below $15k! However, clearly Bitcoin is worth much more than that, a=
nd
> there is widespread support for higher prices.
>
> This problem can be fixed by setting a global minimum price for bitcoins.
> Unfortunately, today, the consensus protocol is completely oblivious to t=
he
> price bitcoins are traded at. Therefore, we must first add a field to Bit=
coin
> transactions to indicate their price.
>
> =3D=3DSpecification=3D=3D
>
> =3D=3D=3DNew field and legal implication=3D=3D=3D
>
> A new field is added to Bitcoin transactions. This field, if present, mus=
t
> represent the honest and true USD/BTC rate used for the transaction. By
> signing the transaction, the sender legally affirms this is the valuation=
 of
> bitcoins used for the transaction.
>
> For the avoidance of doubt: when the transaction is valued in a currency =
other
> than USD, any reasonable exchange rate may be used to come up with the US=
D
> valuation.
>
> =3D=3D=3DSerialisation=3D=3D=3D
>
> When serialising the transaction for any purpose, including signing, weig=
ht
> calculation, and so on, the output count must be incremented by one. Prio=
r to
> the first real output, the following bytes must be inserted:
>
> * Constant: 00 00 00 00 00 00 00 00
> * A single byte, the size in bytes of the remainder of the inserted data
> * Constant: 6a 04 55 53 44 24
> * A single byte, the size in bytes of the remainder of the inserted data
> * The USD/BTC rate used for the transaction, in standard signed integer
> serialisation, with all leading zeros removed (except as necessary to
> preserve the sign bit).
>
> =3D=3DBackwards compatibility=3D=3D
>
> =3D=3D=3DConsensus=3D=3D=3D
>
> The new price field is serialised as a dummy output, with a value of zero=
, and
> a scriptPubKey that begins with OP_RETURN (6a). Existing nodes will ignor=
e
> this dummy output, and the leading OP_RETURN in the scriptPubKey ensures =
it
> is never considered spendable.
>
> Therefore, current nodes will ignore the new field entirely, and accept
> transactions using it.
>
> =3D=3D=3DWallets=3D=3D=3D
>
> Existing wallets do not typically generate price indicators as specified.
> Under this BIP, this absence of the field is perfectly acceptable.
>
> =3D=3DReference implementation=3D=3D
>
> https://github.com/bitcoin/bitcoin/compare/v0.17.1...luke-jr:usd_price_tx=
_field
>
> <pre>
>   BIP: ?
>   Layer: Consensus (soft fork)
>   Title: $50k USD/BTC Minimum Price
>   Author: Luke Dashjr <luke+bip@dashjr.org>
>   Comments-Summary: No comments yet.
>   Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-????
>   Status: Draft
>   Type: Standards Track
>   Created: 2019-04-01
>   License: BSD-2-Clause
>   Requires: usdprice
> </pre>
>
> =3D=3DAbstract=3D=3D
>
> This BIP defines a minimum price of $50k USD/BTC for Bitcoin transactions=
.
>
> =3D=3DCopyright=3D=3D
>
> This BIP is licensed under the BSD 2-clause license.
>
> =3D=3DMotivation=3D=3D
>
> Certain parts of the community have been selling bitcoins for unreasonabl=
y low
> prices. This has halted Bitcoin's valuation at $20k and even driven the p=
rice
> down below $15k! However, clearly Bitcoin is worth much more than that, a=
nd
> there is widespread support for higher prices.
>
> bip-usdprice defines a new field to indicate the price of transactions. U=
sing
> this, we can softfork to require a minimum transaction price.
>
> =3D=3DSpecification=3D=3D
>
> Beginning with block height 622370 (expected approximately 2020 April 1),=
 a
> block is reject as invalid unless all transactions it contains both decla=
re a
> USD/BTC price (as defined in bip-usdprice) and specify a price that is at=
 a
> minimum $50k USD/BTC.
>
> =3D=3DBackwards compatibility=3D=3D
>
> As a soft fork, older nodes will continue to accept the blockchain withou=
t
> modification. Non-upgraded nodes, however, will not validate the minimum
> price requirement, and may accept invalid blocks if miners choose to make
> them. Since transactions not declaring a price are at this time still
> common-place, the softfork activation has been set a full year into the
> future to ensure time to upgrade both nodes and wallet software.
>
> =3D=3DReference implementation=3D=3D
>
> https://github.com/luke-jr/bitcoin/compare/usd_price_tx_field...softfork_=
50k
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev