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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
|
Return-Path: <willtech@live.com.au>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id EEE40955
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 15 Dec 2017 09:42:47 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from APC01-SG2-obe.outbound.protection.outlook.com
(mail-oln040092253105.outbound.protection.outlook.com
[40.92.253.105])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5AE56E7
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 15 Dec 2017 09:42:45 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
bh=WWc2B7hInKAFHJMjiwsZ3vx2kKhqR2KreatHvo8hxUs=;
b=p8gmQBGWiU3B6RyrdGlx+2m2cxj5cOMb+dev9/DLOCnAa37j/O3zorY7B5+tvLFdu97mlKHVdoFsWdu/UOWyzpR3d1lYGEf5z2QObo3hkscYMM8MBdxk80EvviABBCRjMatFuxO7Dp/Zy7nIFIDAZ1m0DyMlevOFo0truLIiKyxxXwb9/iWT1rkdgbJWIctwRnrbTw5KhxzZgpNQ3+Z+8quibLcZc3hPdr3EUbsHwSGnI7Px+T+KG7rUXagb8d+iyxeF4hocantS3RrqeZ2Qvh3s1fTSHH5xQ0fEw67MUtFAXa7C8Mwmq+T0LqV+SCBaP/h+zqvtq1gI0EGLikLA8Q==
Received: from PU1APC01FT052.eop-APC01.prod.protection.outlook.com
(10.152.252.53) by PU1APC01HT191.eop-APC01.prod.protection.outlook.com
(10.152.252.176) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.282.5;
Fri, 15 Dec 2017 09:42:42 +0000
Received: from PS2P216MB0179.KORP216.PROD.OUTLOOK.COM (10.152.252.57) by
PU1APC01FT052.mail.protection.outlook.com (10.152.253.137) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.282.5 via
Frontend Transport; Fri, 15 Dec 2017 09:42:43 +0000
Received: from PS2P216MB0179.KORP216.PROD.OUTLOOK.COM ([10.171.225.19]) by
PS2P216MB0179.KORP216.PROD.OUTLOOK.COM ([10.171.225.19]) with mapi id
15.20.0302.014; Fri, 15 Dec 2017 09:42:42 +0000
From: Damian Williamson <willtech@live.com.au>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Thread-Topic: [bitcoin-dev] BIP Proposal: Revised: UTPFOTIB - Use Transaction
Priority For Ordering Transactions In Blocks
Thread-Index: AQHTb5z9LKaNJrfjBkOvllhZtrqBGqNEL2Dv
Date: Fri, 15 Dec 2017 09:42:42 +0000
Message-ID: <PS2P216MB01795BFC05612E021CCEDD7C9D0B0@PS2P216MB0179.KORP216.PROD.OUTLOOK.COM>
References: <PS2P216MB01794ABD544248B27BF0DFD99D330@PS2P216MB0179.KORP216.PROD.OUTLOOK.COM>
In-Reply-To: <PS2P216MB01794ABD544248B27BF0DFD99D330@PS2P216MB0179.KORP216.PROD.OUTLOOK.COM>
Accept-Language: en-AU, en-US
Content-Language: en-AU
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:5FBC37B14974B67D926865CFB052EDA8F78FF5F592C7EE6C0782D62E46A06599;
UpperCasedChecksum:430C631F9B09C638E8FD581E932C6F5788E0AC8859961B5BBCCDA83F82AFED2F;
SizeAsReceived:7190; Count:46
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [R9CNBMO5iAX/C+iuDVhDzlWOQE4LL6dJ]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; PU1APC01HT191;
6:Lr/K1+tmbM3pHMaVFyKdMMR2sqPXNU5UN+DlYbjBMuuEQsHhkndUKuAretbZfZRQTJ9sYEADsHf2jZcDAPBpYuAZh9LS6wRkD9L4CSe49nCshwtJFfxM5QrwM6ocPBRKrmU2om+5GzTVwhEYuyp0WrcIzh/ys9X12XmLSId+epxIQFEohuvKs7yMVhi+5SVEB6TdpltN3FQzDnq6gWWD4RGorkdwZmh0KdrwozqMp2bYrjHRvu3vkq+NNDbbGDmpcUalLIcEC1IK/tALFfwT2CBUmxHeBQ3RRCpigdbmNBlLUClnxbFQANn9DOYwQzINYpR/N4v22bQjsFBgvxCtH2wcFqXtrzQ0GzQ+Qqe5U6M=;
5:GYBr8rR1AyIt9L4aSIhT+acBTG4Ji0Dpf5AJrQnAG+r4jdcVVjZXx8y/NQpPlha1KkguYWDiuGIgUsTDoE0GQqoJoouDiMWtp8yq54g+jpShbJK+V/muzIyO3Y7Lz5EyRGtSUIWhhBC/M2jj4t8t8zrGJIqEjE8oE12ydDs6iTU=;
24:76php1hsfUmjXByhOSYx1KVEycjv2Cwo8DgljG3eoeHzYOfyl5/rve5C5MoAWPDTzn5wEcW6E33Fx+knvjqaat+QoD3yfunMvuxSJF+rqdU=;
7:yvphwzZW0dkqQVQlBFZaCPTsWs/SNCx5lyCzWQwrd+CamlNgQIJdN88DTw7atpVxd7iECdQ70Hvvl9Im1IKc1Pd79hfc23kCcDJf0S+49JhurJLDipQJAl5hBWx2hPz0AYDZJiEV+uvE5lv+fdnC17b0UCURIQMcbFPKu8VerA28tsxAqZkijw3BuJLCvbcN7RsK1f9zg45MPepBn2+vHnisE7I6J/PAY+E1lxOPoiTZmB9nGVutvaE1/o77efOK
x-incomingheadercount: 46
x-eopattributedmessage: 0
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
RULEID:(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045);
SRVR:PU1APC01HT191;
x-ms-traffictypediagnostic: PU1APC01HT191:
x-ms-office365-filtering-correlation-id: ad7c71f5-5725-4baf-2d02-08d543a03056
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031);
SRVR:PU1APC01HT191; BCL:0; PCL:0;
RULEID:(100000803101)(100110400095); SRVR:PU1APC01HT191;
x-forefront-prvs: 05220145DE
x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT;
SFP:1901; SCL:1; SRVR:PU1APC01HT191;
H:PS2P216MB0179.KORP216.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative;
boundary="_000_PS2P216MB01795BFC05612E021CCEDD7C9D0B0PS2P216MB0179KORP_"
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ad7c71f5-5725-4baf-2d02-08d543a03056
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2017 09:42:42.6169 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT191
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID, HTML_MESSAGE, 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: Fri, 15 Dec 2017 10:02:36 +0000
Subject: [bitcoin-dev] BIP Proposal: Revised: UTPFOTIB - Use Transaction
Priority For Ordering Transactions In Blocks
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: Fri, 15 Dec 2017 09:42:48 -0000
--_000_PS2P216MB01795BFC05612E021CCEDD7C9D0B0PS2P216MB0179KORP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I should not take it that the lack of critical feedback to this revised pro=
posal is a glowing endorsement. I understand that there would be technical =
issues to resolve in implementation, but, are there no fundamental errors?
I suppose that it if is difficult to determine how long a transaction has b=
een waiting in the pool then, each node could simply keep track of when a t=
ransaction was first seen. This may have implications for a verify routine,=
however, for example, if a node was offline, how should it differentiate h=
ow long each transaction was waiting in that case? If a node was restarted =
daily would it always think that all transactions had been waiting in the p=
ool less than one day If each node keeps the current transaction pool in a =
file and updates it, as transactions are included in blocks and, as new tra=
nsactions appear in the pool, then that would go some way to alleviate the =
issue, apart from entirely new nodes. There should be no reason the content=
s of a transaction pool files cannot be shared without agreement as to the =
transaction pool between nodes, just as nodes transmit new transactions fre=
ely.
It has been questioned why miners could not cheat. For the question of how =
many transactions to include in a block, I say it is a standoff and miners =
will conform to the proposal, not wanting to leave transactions with valid =
fees standing, and, not wanting to shrink the transaction pool. In any case=
, if miners shrink the transaction pool then I am not immediately concerned=
since it provides a more efficient service. For the question of including =
transactions according to the proposal, I say if it is possible to keep tra=
ck of how long transactions are waiting in the pool so that they can be inc=
luded on a probability curve then it is possible to verify that blocks conf=
orm to the proposal, since the input is a probability, the output should co=
nform to a probability curve.
If someone has the necessary skill, would anyone be willing to develop the =
math necessary for the proposal?
Regards,
Damian Williamson
________________________________
From: bitcoin-dev-bounces@lists.linuxfoundation.org <bitcoin-dev-bounces@li=
sts.linuxfoundation.org> on behalf of Damian Williamson via bitcoin-dev <bi=
tcoin-dev@lists.linuxfoundation.org>
Sent: Friday, 8 December 2017 8:01 AM
To: bitcoin-dev@lists.linuxfoundation.org
Subject: [bitcoin-dev] BIP Proposal: Revised: UTPFOTIB - Use Transaction Pr=
iority For Ordering Transactions In Blocks
Good afternoon,
The need for this proposal:
We all must learn to admit that transaction bandwidth is still lurking as a=
serious issue for the operation, reliability, safety, consumer acceptance,=
uptake and, for the value of Bitcoin.
I recently sent a payment which was not urgent so; I chose three-day target=
confirmation from the fee recommendation. That transaction has still not c=
onfirmed after now more than six days - even waiting twice as long seems qu=
ite reasonable to me. That transaction is a valid transaction; it is not ru=
bbish, junk or, spam. Under the current model with transaction bandwidth li=
mitation, the longer a transaction waits, the less likely it is ever to con=
firm due to rising transaction numbers and being pushed back by transaction=
s with rising fees.
I argue that no transactions are rubbish or junk, only some zero fee transa=
ctions might be spam. Having an ever-increasing number of valid transaction=
s that do not confirm as more new transactions with higher fees are created=
is the opposite of operating a robust, reliable transaction system.
Business cannot operate with a model where transactions may or may not conf=
irm. Even a business choosing a modest fee has no guarantee that their vali=
d transaction will not be shuffled down by new transactions to the realm of=
never confirming after it is created. Consumers also will not accept this =
model as Bitcoin expands. If Bitcoin cannot be a reliable payment system fo=
r confirmed transactions then consumers, by and large, will simply not acce=
pt the model once they understand. Bitcoin will be a dirty payment system, =
and this will kill the value of Bitcoin.
Under the current system, a minority of transactions will eventually be the=
lucky few who have fees high enough to escape being pushed down the list.
Once there are more than x transactions (transaction bandwidth limit) every=
ten minutes, only those choosing twenty-minute confirmation (2 blocks) wil=
l have initially at most a fifty percent chance of ever having their paymen=
t confirm. Presently, not even using fee recommendations can ensure a suffi=
ciently high fee is paid to ensure transaction confirmation.
I also argue that the current auction model for limited transaction bandwid=
th is wrong, is not suitable for a reliable transaction system and, is wron=
g for Bitcoin. All transactions must confirm in due time. Currently, Bitcoi=
n is not a safe way to send payments.
I do not believe that consumers and business are against paying fees, even =
high fees. What is required is operational reliability.
This great issue needs to be resolved for the safety and reliability of Bit=
coin. The time to resolve issues in commerce is before they become great bi=
g issues. The time to resolve this issue is now. We must have the foresight=
to identify and resolve problems before they trip us over. Simply doublin=
g block sizes every so often is reactionary and is not a reliable permanent=
solution. I have written a BIP proposal for a technical solution but, need=
your help to write it up to an acceptable standard to be a full BIP.
I have formatted the following with markdown which is human readable so, I =
hope nobody minds. I have done as much with this proposal as I feel that I =
am able so far but continue to take your feedback.
# BIP Proposal: UTPFOTIB - Use Transaction Priority For Ordering Transactio=
ns In Blocks
## The problem:
Everybody wants value. Miners want to maximize revenue from fees (and we pr=
esume, to minimize block size). Consumers need transaction reliability and,=
(we presume) want low fees.
The current transaction bandwidth limit is a limiting factor for both. As t=
he operational safety of transactions is limited, so is consumer confidence=
as they realize the issue and, accordingly, uptake is limited. Fees are ar=
tificially inflated due to bandwidth limitations while failing to provide a=
full confirmation service for all transactions.
Current fee recommendations provide no satisfaction for transaction reliabi=
lity and, as Bitcoin scales, this will worsen.
Bitcoin must be a fully scalable and reliable service, providing full trans=
action confirmation for every valid transaction.
The possibility to send a transaction with a fee lower than one that is acc=
eptable to allow eventual transaction confirmation should be removed from t=
he protocol and also from the user interface.
## Solution summary:
Provide each transaction with an individual transaction priority each time =
before choosing transactions to include in the current block, the priority =
being a function of the fee paid (on a curve), and the time waiting in the =
transaction pool (also on a curve) out to n days (n=3D60 ?). The transactio=
n priority to serve as the likelihood of a transaction being included in th=
e current block, and for determining the order in which transactions are tr=
ied to see if they will be included.
Use a target block size. Determine the target block size using; current tra=
nsaction pool size x ( 1 / (144 x n days ) ) =3D number of transactions to =
be included in the current block. Broadcast the next target block size with=
the current block when it is solved so that nodes know the next target blo=
ck size for the block that they are building on.
The curves used for the priority of transactions would have to be appropria=
te. Perhaps a mathematician with experience in probability can develop the =
right formulae. My thinking is a steep curve. I suppose that the probabilit=
y of all transactions should probably account for a sufficient number of in=
clusions that the target block size is met although, it may not always be. =
As a suggestion, consider including some zero fee transactions to pad, high=
est BTC value first?
**Explanation of the operation of priority:**
> If transaction priority is, for example, a number between one (low) and o=
ne-hundred (high) it can be directly understood as the percentage chance in=
one-hundred of a transaction being included in the block. Using probabilit=
y or likelihood infers that there is some function of random. If random (10=
0) < transaction priority then the transaction is included.
>To break it down further, if both the fee on a curve value and the time wa=
iting on a curve value are each a number between one and one-hundred, a rud=
imentary method may be to simply multiply those two numbers, to find the pr=
iority number. For example, a middle fee transaction waiting thirty days (i=
f n =3D 60 days) may have a value of five for each part (yes, just five, t=
he values are on a curve). When multiplied that will give a priority value =
of twenty-five, or, a twenty-five percent chance at that moment of being i=
ncluded in the block; it will likely be included in one of the next four bl=
ocks, getting more likely each chance. If it is still not included then the=
value of time waiting will be higher, making for more probability. A very =
low fee transaction would have a value for the fee of one. It would not be =
until near sixty-days that the particular low fee transaction has a high li=
kelihood of being included in the block.
I am not concerned with low (or high) transaction fees, the primary reason =
for addressing the issue is to ensure transactional reliability and scalabi=
lity while having each transaction confirm in due time.
## Pros:
* Maximizes transaction reliability.
* Fully scalable.
* Maximizes possibility for consumer and business uptake.
* Maximizes total fees paid per block without reducing reliability; because=
of reliability, in time confidence and overall uptake are greater; therefo=
re, more transactions.
* Market determines fee paid for transaction priority.
* Fee recommendations work all the way out to 30 days or greater.
* Provides additional block entropy; greater security since there is less p=
robability of predicting the next block.
## Cons:
* Could initially lower total transaction fees per block.
* Must be first be programmed.
## Solution operation:
This is a simplistic view of the operation. The actual operation will need =
to be determined in a spec for the programmer.
1. Determine the target block size for the current block.
2. Assign a transaction priority to each transaction in the pool.
3. Select transactions to include in the current block using probability in=
transaction priority order until the target block size is met.
5. Solve block.
6. Broadcast the next target block size with the current block when it is s=
olved.
7. Block is received.
8. Block verification process.
9. Accept/reject block based on verification result.
10. Repeat.
## Closing comments:
It may be possible to verify blocks conform to the proposal by showing that=
the probability for all transactions included in the block statistically c=
onforms to a probability distribution curve, *if* the individual transactio=
n priority can be recreated. I am not that deep into the mathematics; howev=
er, it may also be possible to use a similar method to do this just based o=
n the fee, that statistically, the blocks conform to a fee distribution. An=
y zero fee transactions would have to be ignored. This solution needs a cle=
ver mathematician.
I implore, at the very least, that we use some method that validates full t=
ransaction reliability and enables scalability of block sizes. If not this =
proposal, an alternative.
Regards,
Damian Williamson
--_000_PS2P216MB01795BFC05612E021CCEDD7C9D0B0PS2P216MB0179KORP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi=
n-bottom:0;} --></style>
</head>
<body dir=3D"ltr">
<div id=3D"divtagdefaultwrapper" style=3D"font-size: 12pt; color: rgb(0, 0,=
0); font-family: Calibri,Helvetica,sans-serif,"EmojiFont","=
Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Seg=
oe UI Symbol","Android Emoji",EmojiSymbols;" dir=3D"ltr">
<p style=3D"margin-top:0;margin-bottom:0"></p>
<div>I should not take it that the lack of critical feedback to this revise=
d proposal is a glowing endorsement. I understand that there would be techn=
ical issues to resolve in implementation, but, are there no fundamental err=
ors?<br>
<br>
I suppose that it if is difficult to determine how long a transaction has b=
een waiting in the pool then, each node could simply keep track of when a t=
ransaction was first seen. This may have implications for a verify routine,=
however, for example, if a node
was offline, how should it differentiate how long each transaction was wai=
ting in that case? If a node was restarted daily would it always think that=
all transactions had been waiting in the pool less than one day If each no=
de keeps the current transaction
pool in a file and updates it, as transactions are included in blocks and,=
as new transactions appear in the pool, then that would go some way to all=
eviate the issue, apart from entirely new nodes. There should be no reason =
the contents of a transaction pool
files cannot be shared without agreement as to the transaction pool <span>=
between nodes</span>, just as nodes transmit new transactions freely.<br>
<br>
It has been questioned why miners could not cheat. For the question of how =
many transactions to include in a block, I say it is a standoff and miners =
will conform to the proposal, not wanting to leave transactions with valid =
fees standing, and, not wanting
to shrink the transaction pool. In any case, if miners shrink the transact=
ion pool then I am not immediately concerned since it provides a more effic=
ient service. For the question of including transactions according to the p=
roposal, I say if it is possible
to keep track of how long transactions are waiting in the pool so that the=
y can be included on a probability curve then it is possible to verify that=
blocks conform to the proposal, since the input is a probability, the outp=
ut should conform to a probability
curve.</div>
<br>
<p></p>
<div>If someone has the necessary skill, would anyone be willing to develop=
the math necessary for the proposal?</div>
<br>
Regards,<br>
Damian Williamson<br>
<br>
<div style=3D"color: rgb(0, 0, 0);">
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font style=3D"font-size:11pt" face=
=3D"Calibri, sans-serif" color=3D"#000000"><b>From:</b> bitcoin-dev-bounces=
@lists.linuxfoundation.org <bitcoin-dev-bounces@lists.linuxfoundation.or=
g> on behalf of Damian Williamson via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org><br>
<b>Sent:</b> Friday, 8 December 2017 8:01 AM<br>
<b>To:</b> bitcoin-dev@lists.linuxfoundation.org<br>
<b>Subject:</b> [bitcoin-dev] BIP Proposal: Revised: UTPFOTIB - Use Transac=
tion Priority For Ordering Transactions In Blocks</font>
<div> </div>
</div>
<div dir=3D"ltr">
<div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col=
or:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,"EmojiFont&quo=
t;,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,=
"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style=3D"margin-top:0; margin-bottom:0"></p>
<div>Good afternoon,<br>
<br>
The need for this proposal:<br>
<br>
We all must learn to admit that transaction bandwidth is still lurking as a=
serious issue for the operation, reliability, safety, consumer acceptance,=
uptake and, for the value of Bitcoin.<br>
<br>
I recently sent a payment which was not urgent so; I chose three-day target=
confirmation from the fee recommendation. That transaction has still not c=
onfirmed after now more than six days - even waiting twice as long seems qu=
ite reasonable to me. That transaction
is a valid transaction; it is not rubbish, junk or, spam. Under the curren=
t model with transaction bandwidth limitation, the longer a transaction wai=
ts, the less likely it is ever to confirm due to rising transaction numbers=
and being pushed back by transactions
with rising fees.<br>
<br>
I argue that no transactions are rubbish or junk, only some zero fee transa=
ctions might be spam. Having an ever-increasing number of valid transaction=
s that do not confirm as more new transactions with higher fees are created=
is the opposite of operating a
robust, reliable transaction system.<br>
<br>
Business cannot operate with a model where transactions may or may not conf=
irm. Even a business choosing a modest fee has no guarantee that their vali=
d transaction will not be shuffled down by new transactions to the realm of=
never confirming after it is created.
Consumers also will not accept this model as Bitcoin expands. If Bitcoin c=
annot be a reliable payment system for confirmed transactions then consumer=
s, by and large, will simply not accept the model once they understand. Bit=
coin will be a dirty payment system,
and this will kill the value of Bitcoin.<br>
<br>
Under the current system, a minority of transactions will eventually be the=
lucky few who have fees high enough to escape being pushed down the list.<=
br>
<br>
Once there are more than x transactions (transaction bandwidth limit) every=
ten minutes, only those choosing twenty-minute confirmation (2 blocks) wil=
l have initially at most a fifty percent chance of ever having their paymen=
t confirm. Presently, not even using
fee recommendations can ensure a sufficiently high fee is paid to ensure t=
ransaction confirmation.<br>
<br>
I also argue that the current auction model for limited transaction bandwid=
th is wrong, is not suitable for a reliable transaction system and, is wron=
g for Bitcoin. All transactions must confirm in due time. Currently, Bitcoi=
n is not a safe way to send payments.<br>
<br>
I do not believe that consumers and business are against paying fees, even =
high fees. What is required is operational reliability.<br>
<br>
This great issue needs to be resolved for the safety and reliability of Bit=
coin. The time to resolve issues in commerce is before they become great bi=
g issues. The time to resolve this issue is now. We must have the foresight=
to identify and resolve problems
before they trip us over. Simply doubling block sizes every so often=
is reactionary and is not a reliable permanent solution. I have written a =
BIP proposal for a technical solution but, need your help to write it up to=
an acceptable standard to be a full
BIP.<br>
<br>
I have formatted the following with markdown which is human readable so, I =
hope nobody minds. I have done as much with this proposal as I feel that I =
am able so far but continue to take your feedback.<br>
<br>
# BIP Proposal: UTPFOTIB - Use Transaction Priority For Ordering Transactio=
ns In Blocks<br>
<br>
## The problem:<br>
Everybody wants value. Miners want to maximize revenue from fees (and we pr=
esume, to minimize block size). Consumers need transaction reliability and,=
(we presume) want low fees.<br>
<br>
The current transaction bandwidth limit is a limiting factor for both. As t=
he operational safety of transactions is limited, so is consumer confidence=
as they realize the issue and, accordingly, uptake is limited. Fees are ar=
tificially inflated due to bandwidth
limitations while failing to provide a full confirmation service for all t=
ransactions.<br>
<br>
Current fee recommendations provide no satisfaction for transaction reliabi=
lity and, as Bitcoin scales, this will worsen.<br>
<br>
Bitcoin must be a fully scalable and reliable service, providing full trans=
action confirmation for every valid transaction.<br>
<br>
The possibility to send a transaction with a fee lower than one that is acc=
eptable to allow eventual transaction confirmation should be removed from t=
he protocol and also from the user interface.<br>
<br>
## Solution summary:<br>
Provide each transaction with an individual transaction priority each time =
before choosing transactions to include in the current block, the priority =
being a function of the fee paid (on a curve), and the time waiting in the =
transaction pool (also on a curve)
out to n days (n=3D60 ?). The transaction priority to serve as the likelih=
ood of a transaction being included in the current block, and for determini=
ng the order in which transactions are tried to see if they will be include=
d.
<br>
<br>
Use a target block size. Determine the target block size using; current tra=
nsaction pool size x ( 1 / (144 x n days ) ) =3D number of transactions to =
be included in the current block. Broadcast the next target block size with=
the current block when it is solved
so that nodes know the next target block size for the block that they are =
building on.<br>
<br>
The curves used for the priority of transactions would have to be appropria=
te. Perhaps a mathematician with experience in probability can develop the =
right formulae. My thinking is a steep curve. I suppose that the probabilit=
y of all transactions should probably
account for a sufficient number of inclusions that the target block size i=
s met although, it may not always be. As a suggestion, consider including s=
ome zero fee transactions to pad, highest BTC value first?<br>
<br>
**Explanation of the operation of priority:**<br>
> If transaction priority is, for example, a number between one (low) an=
d one-hundred (high) it can be directly understood as the percentage chance=
in one-hundred of a transaction being included in the block. Using probabi=
lity or likelihood infers that there
is some function of random. If random (100) < transaction priority then=
the transaction is included.<br>
<br>
>To break it down further, if both the fee on a curve value and the time=
waiting on a curve value are each a number between one and one-hundred, a =
rudimentary method may be to simply multiply those two numbers, to find the=
priority number. For example, a middle
fee transaction waiting thirty days (if n =3D 60 days) may have a value of=
five for each part (yes, just five, the values are on a curve). When=
multiplied that will give a priority value of twenty-five, or, a twe=
nty-five percent chance at that moment of being
included in the block; it will likely be included in one of the next four =
blocks, getting more likely each chance. If it is still not included then t=
he value of time waiting will be higher, making for more probability. A ver=
y low fee transaction would have
a value for the fee of one. It would not be until near sixty-days that the=
particular low fee transaction has a high likelihood of being included in =
the block.<br>
<br>
I am not concerned with low (or high) transaction fees, the primary reason =
for addressing the issue is to ensure transactional reliability and scalabi=
lity while having each transaction confirm in due time.<br>
<br>
## Pros:<br>
* Maximizes transaction reliability.<br>
* Fully scalable.<br>
* Maximizes possibility for consumer and business uptake.<br>
* Maximizes total fees paid per block without reducing reliability; because=
of reliability, in time confidence and overall uptake are greater; therefo=
re, more transactions.<br>
* Market determines fee paid for transaction priority.<br>
* Fee recommendations work all the way out to 30 days or greater.<br>
* Provides additional block entropy; greater security since there is less p=
robability of predicting the next block.<br>
<br>
## Cons:<br>
* Could initially lower total transaction fees per block.<br>
* Must be first be programmed.<br>
<br>
## Solution operation:<br>
This is a simplistic view of the operation. The actual operation will need =
to be determined in a spec for the programmer.<br>
<br>
1. Determine the target block size for the current block.<br>
2. Assign a transaction priority to each transaction in the pool.<br>
3. Select transactions to include in the current block using probability in=
transaction priority order until the target block size is met.<br>
5. Solve block.<br>
6. Broadcast the next target block size with the current block when it is s=
olved.<br>
7. Block is received.<br>
8. Block verification process.<br>
9. Accept/reject block based on verification result.<br>
10. Repeat.<br>
<br>
## Closing comments:<br>
It may be possible to verify blocks conform to the proposal by showing that=
the probability for all transactions included in the block statistically c=
onforms to a probability distribution curve, *if* the individual transactio=
n priority can be recreated. I am
not that deep into the mathematics; however, it may also be possible to us=
e a similar method to do this just based on the fee, that statistically, th=
e blocks conform to a fee distribution. Any zero fee transactions would hav=
e to be ignored. This solution needs
a clever mathematician.<br>
<br>
I implore, at the very least, that we use some method that validates full t=
ransaction reliability and enables scalability of block sizes. If not this =
proposal, an alternative.<br>
<br>
Regards,<br>
Damian Williamson</div>
<p></p>
</div>
</div>
</div>
</div>
</body>
</html>
--_000_PS2P216MB01795BFC05612E021CCEDD7C9D0B0PS2P216MB0179KORP_--
|