summaryrefslogtreecommitdiff
path: root/2d/34d40b5642a21a37d2c09416aaad2207936e89
blob: 3a5590d330412336c8044af86f88d67344d60cd1 (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
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
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
Return-Path: <shiva@blockonomics.co>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 0C844A84
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  5 Sep 2017 07:10:39 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from blockonomics.co (blockonomics.co [52.10.115.182])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 66739124
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  5 Sep 2017 07:10:37 +0000 (UTC)
Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com
	[209.85.213.49])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by blockonomics.co (Postfix) with ESMTPSA id 7D1F91E0FC1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  5 Sep 2017 07:10:36 +0000 (UTC)
Received: by mail-vk0-f49.google.com with SMTP id v203so4542972vkv.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 05 Sep 2017 00:10:36 -0700 (PDT)
X-Gm-Message-State: AHPjjUjniC5LpxWyXoReOy1yU8UFFa6PYzxXr+dVdXGZ/L61T7y48uH4
	X1mAM+C1mbgC0jhF234gbSRtegeB9g==
X-Google-Smtp-Source: ADKCNb43bCoB3+yCUSssj03MTsdPnSBcZY/nihiEKYpfAY/vi71n/MQXG89yP+0ZNpin34IM9DuyyOMKs9uaDyj0wTA=
X-Received: by 10.31.204.194 with SMTP id c185mr1687927vkg.126.1504595435392; 
	Tue, 05 Sep 2017 00:10:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.75.9 with HTTP; Tue, 5 Sep 2017 00:10:15 -0700 (PDT)
From: shiva sitamraju <shiva@blockonomics.co>
Date: Tue, 5 Sep 2017 12:40:15 +0530
X-Gmail-Original-Message-ID: <CABuOfuiz9U=ZPWRUfVXHgBekZ74B4zkUikg6Svxbr6jrJA5Vyw@mail.gmail.com>
Message-ID: <CABuOfuiz9U=ZPWRUfVXHgBekZ74B4zkUikg6Svxbr6jrJA5Vyw@mail.gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary="94eb2c07d33a7515e905586beceb"
X-Spam-Status: No, score=0.5 required=5.0 tests=HTML_MESSAGE,
	RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=disabled version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
X-Mailman-Approved-At: Tue, 05 Sep 2017 14:36:59 +0000
Subject: Re: [bitcoin-dev] BIP49 Derivation scheme changes
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, 05 Sep 2017 07:10:39 -0000

--94eb2c07d33a7515e905586beceb
Content-Type: text/plain; charset="UTF-8"

Hi,

Thanks Thomas. The procedure described in
http://docs.electrum.org/en/latest/seedphrase.html is really what I was
looking for ! I really don't see any point of following BIP49, If possible
it would be great if you can propose an alternative to BIP49 that follows
similar structure to what is used in electrum.

I have proposed following changes to BIP32 serialization format
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format
to differentiate segwit xpub/xprv. Below the list of new version bytes,
resulting base58 prefix and network type:

0x042393df ,  sxpr ,   segwit mainnet private key
0x04239377 , sxpb , segwit mainnet public key
0x04222463 , stpb ,  segwit testnet public key
0x042224cc ,  stpr ,  segwit testnet private key

Let me know your thoughts

On Tue, Sep 5, 2017 at 12:12 AM, <
bitcoin-dev-request@lists.linuxfoundation.org> wrote:

> Send bitcoin-dev mailing list submissions to
>         bitcoin-dev@lists.linuxfoundation.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
> or, via email, send a message with subject or body 'help' to
>         bitcoin-dev-request@lists.linuxfoundation.org
>
> You can reach the person managing the list at
>         bitcoin-dev-owner@lists.linuxfoundation.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of bitcoin-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: Horizontal scaling of blockchain (Cserveny Tamas)
>    2. Re: Horizontal scaling of blockchain (Thomas Guyot-Sionnest)
>    3. Re: Horizontal scaling of blockchain (Tom Zander)
>    4. Re: BIP49 Derivation scheme changes (Thomas Voegtlin)
>    5. Re: Fwd:  "Compressed" headers stream (Peter Todd)
>    6. Re: "Compressed" headers stream (Peter Todd)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 01 Sep 2017 18:15:53 +0000
> From: Cserveny Tamas <cserveny.tamas+bc@gmail.com>
> To: Lucas Clemente Vella <lvella@gmail.com>, Tom Zander
>         <tomz@freedommail.ch>,  Bitcoin Protocol Discussion
>         <bitcoin-dev@lists.linuxfoundation.org>
> Subject: Re: [bitcoin-dev] Horizontal scaling of blockchain
> Message-ID:
>         <CACY+MSOPWhTnR-ZR67T1a5ZU2w4pWa6FkXsGF3_C+
> n3gKFCPSA@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Yes. I meant the single thread as an analogy, if a block is found, other
> blocks are worthless. (more or less) Longest chain wins.
>
> My line of though was, that currently the only way to scale with the
> traffic (and lowering the fees) is increasing the block size (which is hard
> as I learned from recent events), or reducing the complexity which is less
> secure (most likely more controversial)
>
> Splitting the chain is effectively increasing the block size, but without
> the increased hashing and validation overhead.
>
> The usage growth seems to be more of exponential rather than linear. Sooner
> or later the block size will need to be 4 mb then 40 mb, then what is the
> real limit? Otherwise waiting times and thus the fees will just grow
> rapidly. I don't think that it is desirable.
>
> With splitting the ledger, the block size can remain 1-2 mb for long time,
> only new partitions needs to be added on a schedule. This would also make
> better use of the hashing capacity.
>
> Cheers,
>
> Tamas
>
>
>
>
>
>
> On Fri, Sep 1, 2017 at 7:15 PM Lucas Clemente Vella <lvella@gmail.com>
> wrote:
>
> > > The current chain is effectively single threaded.
> >>
> >> This is not true, since xthin/compactblocks have been introduced we
> >> completely removed this bottle-neck.
> >> The transactions will be validated continuously, in parallel and not
> just
> >> when a block is found.
> >>
> >
> > If I understood correctly, OP was not talking about the process inside a
> > node being single threaded, but instead that the whole bitcoin
> distributed
> > system behaves as single threaded computation. OP seems to be describing
> a
> > system closer to what IOTA uses, by distributing among the miners the
> task
> > of validating the transactions. Although, without more specific details,
> it
> > is hard to judge the benefits.
> >
> > --
> > Lucas Clemente Vella
> > lvella@gmail.com
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/
> attachments/20170901/d908e965/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 1 Sep 2017 15:40:44 -0400
> From: Thomas Guyot-Sionnest <dermoth@aei.ca>
> To: Cserveny Tamas <cserveny.tamas+bc@gmail.com>,       Bitcoin Protocol
>         Discussion <bitcoin-dev@lists.linuxfoundation.org>,     Lucas
> Clemente
>         Vella <lvella@gmail.com>, Tom Zander <tomz@freedommail.ch>
> Subject: Re: [bitcoin-dev] Horizontal scaling of blockchain
> Message-ID: <e9531342-db9b-ffdf-5ada-0c143eb89d9e@aei.ca>
> Content-Type: text/plain; charset=windows-1252
>
> On 01/09/17 02:15 PM, Cserveny Tamas via bitcoin-dev wrote:
> > Yes. I meant the single thread as an analogy, if a block is found,
> > other blocks are worthless. (more or less) Longest chain wins.
> >
> > My line of though was, that currently the only way to scale with the
> > traffic (and lowering the fees) is increasing the block size (which is
> > hard as I learned from recent events), or reducing the complexity
> > which is less secure (most likely more controversial)
> >
>
> It wouldn't be less secure as long as you adjust the confirmation
> accordingly. If we decided to mine one block every minute, then your
> usual 6 confirmation should become 60 confirmation. In the end, the same
> amount of work will have been done to prove the transaction is legit and
> so it's just as secure... Actually, one could argue since the average
> hash rate over 60 block is more accurate than over 6, it's actually more
> secure if you also pay attention to hash rate variation as part of the
> confirmation... That help in the scenario a very large pool goes dark to
> mine a sidechain.
>
> --
> Thomas
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 02 Sep 2017 23:13:57 +0200
> From: Tom Zander <tomz@freedommail.ch>
> To: Cserveny Tamas <cserveny.tamas+bc@gmail.com>
> Cc: Bitcoin Protocol Discussion
>         <bitcoin-dev@lists.linuxfoundation.org>
> Subject: Re: [bitcoin-dev] Horizontal scaling of blockchain
> Message-ID: <3416963.LpSpYe5DLS@strawberry>
> Content-Type: text/plain; charset="us-ascii"
>
> On Friday, 1 September 2017 20:15:53 CEST Cserveny Tamas wrote:
> > The usage growth seems to be more of exponential rather than linear.
> > Sooner or later the block size will need to be 4 mb then 40 mb, then what
> > is the real limit? Otherwise waiting times and thus the fees will just
> > grow rapidly. I don't think that it is desirable.
>
> The real limit is set by the technology. Just like in 1990 we could not
> fathom having something like YouTube and high-res video streaming
> (Netflix),
> the limits of what is possible continually shifts.
>
> This is basically how any successful product has ever grown, I think that
> it
> is not just desirable, it is inevitable.
> --
> Tom Zander
> Blog: https://zander.github.io
> Vlog: https://vimeo.com/channels/tomscryptochannel
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 3 Sep 2017 07:19:12 +0200
> From: Thomas Voegtlin <thomasv@electrum.org>
> To: bitcoin-dev@lists.linuxfoundation.org
> Subject: Re: [bitcoin-dev] BIP49 Derivation scheme changes
> Message-ID: <5a27e555-173e-b5a7-8c05-5ee32e885ee2@electrum.org>
> Content-Type: text/plain; charset=utf-8
>
>
>
> On 30.08.2017 09:24, shiva sitamraju via bitcoin-dev wrote:
>
> >
> > 2. Segwit wallet seed words have a different format which is incompatible
> > with previous wallet seed words. This  encodes the information that this
> > wallet is segwit in the seed words itself. We need to define a structure
> > for this
> >
>
> That is what Electrum does.
> See http://docs.electrum.org/en/latest/seedphrase.html
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 4 Sep 2017 10:06:44 -0400
> From: Peter Todd <pete@petertodd.org>
> To: Gregory Maxwell <greg@xiph.org>,    Bitcoin Protocol Discussion
>         <bitcoin-dev@lists.linuxfoundation.org>
> Subject: Re: [bitcoin-dev] Fwd:  "Compressed" headers stream
> Message-ID: <20170904140644.GF1276@fedora-23-dvm>
> Content-Type: text/plain; charset="us-ascii"
>
> On Mon, Aug 28, 2017 at 05:12:15PM +0000, Gregory Maxwell via bitcoin-dev
> wrote:
> > You are leaving a lot of bytes on the table.
> >
> > The bits field can only change every 2016 blocks (4 bytes per header),
> > the timestamp can not be less than the median of the last 11 and is
> > usually only a small amount over the last one (saves 2 bytes per
> > header), the block version is usually one of the last few (save 3
> > bytes per header).
> >
> > But all these things improvements are just a constant factor. I think
> > you want the compact SPV proofs described in the appendix of the
> > sidechains whitepaper which creates log scaling proofs.
>
> Note that I'm already planning on OpenTimestamps having infrastructure for
> trusted validity attestations; log scaling proofs alone only prove total
> work,
> not validity. Timestamping has all kinds of very dubious security
> properties
> when done via proof-of-work, due to various ways that miners can get away
> with
> inaccurate block times. In particular, setting a block time backwards is
> something that miners can do, particularly with majority hashing power,
> which
> is the exact thing we're trying to prevent in a timestamp proof.
>
> This all makes me dubious about risking further weakening of this already
> weak
> security with compact SPV proofs; we'd need a lot more analysis to
> understand
> what we're risking. Also note that we can ship a known-good
> sum-merkle-tree tip hash with the software, which further reduces initial
> download bandwidth needed to get the block headers on top of this obviously
> safe eliding of redundant hashes.
>
> --
> https://petertodd.org 'peter'[:-1]@petertodd.org
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 455 bytes
> Desc: Digital signature
> URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/
> attachments/20170904/8be560f7/attachment-0001.sig>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 4 Sep 2017 10:10:17 -0400
> From: Peter Todd <pete@petertodd.org>
> To: Greg Sanders <gsanders87@gmail.com>,        Bitcoin Protocol
> Discussion
>         <bitcoin-dev@lists.linuxfoundation.org>
> Subject: Re: [bitcoin-dev] "Compressed" headers stream
> Message-ID: <20170904141017.GG1276@fedora-23-dvm>
> Content-Type: text/plain; charset="us-ascii"
>
> On Mon, Aug 28, 2017 at 12:26:48PM -0400, Greg Sanders via bitcoin-dev
> wrote:
> > Well, if anything my question may bolster your use-case. If there's a
> > heavier chain that is invalid, I kind of doubt it matters for
> timestamping
> > reasons.
>
> Timestamping can easily be *more* vulnerable to malicious miners than
> financial
> applications for a number of reasons, including the fact that there's no
> financial feedback loop of miners destroying the value of the coins they
> produce - timestamping is a non-financial piggy-back application that
> doesn't
> directly interact with the Bitcoin economy, beyond a trival number of
> timestamp
> transactions.
>
> --
> https://petertodd.org 'peter'[:-1]@petertodd.org
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 455 bytes
> Desc: Digital signature
> URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/
> attachments/20170904/818e9344/attachment.sig>
>
> ------------------------------
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
> End of bitcoin-dev Digest, Vol 28, Issue 3
> ******************************************
>

--94eb2c07d33a7515e905586beceb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Hi,<br><br></div>Thanks Thomas. The procedu=
re described in <a href=3D"http://docs.electrum.org/en/latest/seedphrase.ht=
ml">http://docs.electrum.org/en/latest/seedphrase.html</a> is really what I=
 was looking for ! I really don&#39;t see any point of following BIP49, If =
possible it would be great if you can propose an alternative to BIP49 that =
follows similar structure to what is used in electrum.<br><br></div>I have =
proposed following changes to BIP32 serialization format <a href=3D"https:/=
/github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-forma=
t">https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serializa=
tion-format</a> to differentiate segwit xpub/xprv. Below the list of new ve=
rsion bytes, resulting base58 prefix and network type:<br><br>0x042393df ,=
=C2=A0 sxpr ,=C2=A0=C2=A0 segwit mainnet private key <br>0x04239377 , sxpb =
, segwit mainnet public key <br>0x04222463 , stpb ,=C2=A0 segwit testnet pu=
blic key <br>0x042224cc ,=C2=A0 stpr ,=C2=A0 segwit testnet private key=C2=
=A0 <br><br></div>Let me know your thoughts<br><div><br><div><div><div><div=
><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Tue, Sep 5, 2017 =
at 12:12 AM,  <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev-request@l=
ists.linuxfoundation.org" target=3D"_blank">bitcoin-dev-request@lists.linux=
foundation.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">Send bitcoin-dev mailing list submissions to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:bitcoin-dev@lists.linuxfounda=
tion.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.linuxfoundation.org/ma=
ilman/listinfo/bitcoin-dev" rel=3D"noreferrer" target=3D"_blank">https://li=
sts.linuxfoundation.<wbr>org/mailman/listinfo/bitcoin-<wbr>dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:bitcoin-dev-request@lists.lin=
uxfoundation.org">bitcoin-dev-request@lists.<wbr>linuxfoundation.org</a><br=
>
<br>
You can reach the person managing the list at<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:bitcoin-dev-owner@lists.linux=
foundation.org">bitcoin-dev-owner@lists.<wbr>linuxfoundation.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of bitcoin-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
=C2=A0 =C2=A01. Re: Horizontal scaling of blockchain (Cserveny Tamas)<br>
=C2=A0 =C2=A02. Re: Horizontal scaling of blockchain (Thomas Guyot-Sionnest=
)<br>
=C2=A0 =C2=A03. Re: Horizontal scaling of blockchain (Tom Zander)<br>
=C2=A0 =C2=A04. Re: BIP49 Derivation scheme changes (Thomas Voegtlin)<br>
=C2=A0 =C2=A05. Re: Fwd:=C2=A0 &quot;Compressed&quot; headers stream (Peter=
 Todd)<br>
=C2=A0 =C2=A06. Re: &quot;Compressed&quot; headers stream (Peter Todd)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>-----=
-----<br>
<br>
Message: 1<br>
Date: Fri, 01 Sep 2017 18:15:53 +0000<br>
From: Cserveny Tamas &lt;<a href=3D"mailto:cserveny.tamas%2Bbc@gmail.com">c=
serveny.tamas+bc@gmail.com</a>&gt;<br>
To: Lucas Clemente Vella &lt;<a href=3D"mailto:lvella@gmail.com">lvella@gma=
il.com</a>&gt;, Tom Zander<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:tomz@freedommail.ch">tomz=
@freedommail.ch</a>&gt;,=C2=A0 Bitcoin Protocol Discussion<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a>&gt;<br>
Subject: Re: [bitcoin-dev] Horizontal scaling of blockchain<br>
Message-ID:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:CACY%2BMSOPWhTnR-ZR67T1a5=
ZU2w4pWa6FkXsGF3_C%2Bn3gKFCPSA@mail.gmail.com">CACY+MSOPWhTnR-<wbr>ZR67T1a5=
ZU2w4pWa6FkXsGF3_C+<wbr>n3gKFCPSA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=3D&quot;utf-8&quot;<br>
<br>
Yes. I meant the single thread as an analogy, if a block is found, other<br=
>
blocks are worthless. (more or less) Longest chain wins.<br>
<br>
My line of though was, that currently the only way to scale with the<br>
traffic (and lowering the fees) is increasing the block size (which is hard=
<br>
as I learned from recent events), or reducing the complexity which is less<=
br>
secure (most likely more controversial)<br>
<br>
Splitting the chain is effectively increasing the block size, but without<b=
r>
the increased hashing and validation overhead.<br>
<br>
The usage growth seems to be more of exponential rather than linear. Sooner=
<br>
or later the block size will need to be 4 mb then 40 mb, then what is the<b=
r>
real limit? Otherwise waiting times and thus the fees will just grow<br>
rapidly. I don&#39;t think that it is desirable.<br>
<br>
With splitting the ledger, the block size can remain 1-2 mb for long time,<=
br>
only new partitions needs to be added on a schedule. This would also make<b=
r>
better use of the hashing capacity.<br>
<br>
Cheers,<br>
<br>
Tamas<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Fri, Sep 1, 2017 at 7:15 PM Lucas Clemente Vella &lt;<a href=3D"mailto:l=
vella@gmail.com">lvella@gmail.com</a>&gt;<br>
wrote:<br>
<br>
&gt; &gt; The current chain is effectively single threaded.<br>
&gt;&gt;<br>
&gt;&gt; This is not true, since xthin/compactblocks have been introduced w=
e<br>
&gt;&gt; completely removed this bottle-neck.<br>
&gt;&gt; The transactions will be validated continuously, in parallel and n=
ot just<br>
&gt;&gt; when a block is found.<br>
&gt;&gt;<br>
&gt;<br>
&gt; If I understood correctly, OP was not talking about the process inside=
 a<br>
&gt; node being single threaded, but instead that the whole bitcoin distrib=
uted<br>
&gt; system behaves as single threaded computation. OP seems to be describi=
ng a<br>
&gt; system closer to what IOTA uses, by distributing among the miners the =
task<br>
&gt; of validating the transactions. Although, without more specific detail=
s, it<br>
&gt; is hard to judge the benefits.<br>
&gt;<br>
&gt; --<br>
&gt; Lucas Clemente Vella<br>
&gt; <a href=3D"mailto:lvella@gmail.com">lvella@gmail.com</a><br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href=3D"http://lists.linuxfoundation.org/pipermail/bitcoin-dev/=
attachments/20170901/d908e965/attachment-0001.html" rel=3D"noreferrer" targ=
et=3D"_blank">http://lists.linuxfoundation.<wbr>org/pipermail/bitcoin-dev/<=
wbr>attachments/20170901/d908e965/<wbr>attachment-0001.html</a>&gt;<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 1 Sep 2017 15:40:44 -0400<br>
From: Thomas Guyot-Sionnest &lt;<a href=3D"mailto:dermoth@aei.ca">dermoth@a=
ei.ca</a>&gt;<br>
To: Cserveny Tamas &lt;<a href=3D"mailto:cserveny.tamas%2Bbc@gmail.com">cse=
rveny.tamas+bc@gmail.com</a>&gt;,=C2=A0 =C2=A0 =C2=A0 =C2=A0Bitcoin Protoco=
l<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Discussion &lt;<a href=3D"mailto:bitcoin-dev@li=
sts.linuxfoundation.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a>&gt;=
,=C2=A0 =C2=A0 =C2=A0Lucas Clemente<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Vella &lt;<a href=3D"mailto:lvella@gmail.com">l=
vella@gmail.com</a>&gt;, Tom Zander &lt;<a href=3D"mailto:tomz@freedommail.=
ch">tomz@freedommail.ch</a>&gt;<br>
Subject: Re: [bitcoin-dev] Horizontal scaling of blockchain<br>
Message-ID: &lt;<a href=3D"mailto:e9531342-db9b-ffdf-5ada-0c143eb89d9e@aei.=
ca">e9531342-db9b-ffdf-5ada-<wbr>0c143eb89d9e@aei.ca</a>&gt;<br>
Content-Type: text/plain; charset=3Dwindows-1252<br>
<br>
On 01/09/17 02:15 PM, Cserveny Tamas via bitcoin-dev wrote:<br>
&gt; Yes. I meant the single thread as an analogy, if a block is found,<br>
&gt; other blocks are worthless. (more or less) Longest chain wins.<br>
&gt;<br>
&gt; My line of though was, that currently the only way to scale with the<b=
r>
&gt; traffic (and lowering the fees) is increasing the block size (which is=
<br>
&gt; hard as I learned from recent events), or reducing the complexity<br>
&gt; which is less secure (most likely more controversial)<br>
&gt;<br>
<br>
It wouldn&#39;t be less secure as long as you adjust the confirmation<br>
accordingly. If we decided to mine one block every minute, then your<br>
usual 6 confirmation should become 60 confirmation. In the end, the same<br=
>
amount of work will have been done to prove the transaction is legit and<br=
>
so it&#39;s just as secure... Actually, one could argue since the average<b=
r>
hash rate over 60 block is more accurate than over 6, it&#39;s actually mor=
e<br>
secure if you also pay attention to hash rate variation as part of the<br>
confirmation... That help in the scenario a very large pool goes dark to<br=
>
mine a sidechain.<br>
<br>
--<br>
Thomas<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 02 Sep 2017 23:13:57 +0200<br>
From: Tom Zander &lt;<a href=3D"mailto:tomz@freedommail.ch">tomz@freedommai=
l.ch</a>&gt;<br>
To: Cserveny Tamas &lt;<a href=3D"mailto:cserveny.tamas%2Bbc@gmail.com">cse=
rveny.tamas+bc@gmail.com</a>&gt;<br>
Cc: Bitcoin Protocol Discussion<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a>&gt;<br>
Subject: Re: [bitcoin-dev] Horizontal scaling of blockchain<br>
Message-ID: &lt;3416963.LpSpYe5DLS@strawberry<wbr>&gt;<br>
Content-Type: text/plain; charset=3D&quot;us-ascii&quot;<br>
<br>
On Friday, 1 September 2017 20:15:53 CEST Cserveny Tamas wrote:<br>
&gt; The usage growth seems to be more of exponential rather than linear.<b=
r>
&gt; Sooner or later the block size will need to be 4 mb then 40 mb, then w=
hat<br>
&gt; is the real limit? Otherwise waiting times and thus the fees will just=
<br>
&gt; grow rapidly. I don&#39;t think that it is desirable.<br>
<br>
The real limit is set by the technology. Just like in 1990 we could not<br>
fathom having something like YouTube and high-res video streaming (Netflix)=
,<br>
the limits of what is possible continually shifts.<br>
<br>
This is basically how any successful product has ever grown, I think that i=
t<br>
is not just desirable, it is inevitable.<br>
--<br>
Tom Zander<br>
Blog: <a href=3D"https://zander.github.io" rel=3D"noreferrer" target=3D"_bl=
ank">https://zander.github.io</a><br>
Vlog: <a href=3D"https://vimeo.com/channels/tomscryptochannel" rel=3D"noref=
errer" target=3D"_blank">https://vimeo.com/channels/<wbr>tomscryptochannel<=
/a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 3 Sep 2017 07:19:12 +0200<br>
From: Thomas Voegtlin &lt;<a href=3D"mailto:thomasv@electrum.org">thomasv@e=
lectrum.org</a>&gt;<br>
To: <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@li=
sts.<wbr>linuxfoundation.org</a><br>
Subject: Re: [bitcoin-dev] BIP49 Derivation scheme changes<br>
Message-ID: &lt;<a href=3D"mailto:5a27e555-173e-b5a7-8c05-5ee32e885ee2@elec=
trum.org">5a27e555-173e-b5a7-8c05-<wbr>5ee32e885ee2@electrum.org</a>&gt;<br=
>
Content-Type: text/plain; charset=3Dutf-8<br>
<br>
<br>
<br>
On 30.08.2017 09:24, shiva sitamraju via bitcoin-dev wrote:<br>
<br>
&gt;<br>
&gt; 2. Segwit wallet seed words have a different format which is incompati=
ble<br>
&gt; with previous wallet seed words. This=C2=A0 encodes the information th=
at this<br>
&gt; wallet is segwit in the seed words itself. We need to define a structu=
re<br>
&gt; for this<br>
&gt;<br>
<br>
That is what Electrum does.<br>
See <a href=3D"http://docs.electrum.org/en/latest/seedphrase.html" rel=3D"n=
oreferrer" target=3D"_blank">http://docs.electrum.org/en/<wbr>latest/seedph=
rase.html</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 4 Sep 2017 10:06:44 -0400<br>
From: Peter Todd &lt;<a href=3D"mailto:pete@petertodd.org">pete@petertodd.o=
rg</a>&gt;<br>
To: Gregory Maxwell &lt;<a href=3D"mailto:greg@xiph.org">greg@xiph.org</a>&=
gt;,=C2=A0 =C2=A0 Bitcoin Protocol Discussion<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a>&gt;<br>
Subject: Re: [bitcoin-dev] Fwd:=C2=A0 &quot;Compressed&quot; headers stream=
<br>
Message-ID: &lt;20170904140644.GF1276@fedora-<wbr>23-dvm&gt;<br>
Content-Type: text/plain; charset=3D&quot;us-ascii&quot;<br>
<br>
On Mon, Aug 28, 2017 at 05:12:15PM +0000, Gregory Maxwell via bitcoin-dev w=
rote:<br>
&gt; You are leaving a lot of bytes on the table.<br>
&gt;<br>
&gt; The bits field can only change every 2016 blocks (4 bytes per header),=
<br>
&gt; the timestamp can not be less than the median of the last 11 and is<br=
>
&gt; usually only a small amount over the last one (saves 2 bytes per<br>
&gt; header), the block version is usually one of the last few (save 3<br>
&gt; bytes per header).<br>
&gt;<br>
&gt; But all these things improvements are just a constant factor. I think<=
br>
&gt; you want the compact SPV proofs described in the appendix of the<br>
&gt; sidechains whitepaper which creates log scaling proofs.<br>
<br>
Note that I&#39;m already planning on OpenTimestamps having infrastructure =
for<br>
trusted validity attestations; log scaling proofs alone only prove total wo=
rk,<br>
not validity. Timestamping has all kinds of very dubious security propertie=
s<br>
when done via proof-of-work, due to various ways that miners can get away w=
ith<br>
inaccurate block times. In particular, setting a block time backwards is<br=
>
something that miners can do, particularly with majority hashing power, whi=
ch<br>
is the exact thing we&#39;re trying to prevent in a timestamp proof.<br>
<br>
This all makes me dubious about risking further weakening of this already w=
eak<br>
security with compact SPV proofs; we&#39;d need a lot more analysis to unde=
rstand<br>
what we&#39;re risking. Also note that we can ship a known-good<br>
sum-merkle-tree tip hash with the software, which further reduces initial<b=
r>
download bandwidth needed to get the block headers on top of this obviously=
<br>
safe eliding of redundant hashes.<br>
<br>
--<br>
<a href=3D"https://petertodd.org" rel=3D"noreferrer" target=3D"_blank">http=
s://petertodd.org</a> &#39;peter&#39;[:-1]@<a href=3D"http://petertodd.org"=
 rel=3D"noreferrer" target=3D"_blank">petertodd.org</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 455 bytes<br>
Desc: Digital signature<br>
URL: &lt;<a href=3D"http://lists.linuxfoundation.org/pipermail/bitcoin-dev/=
attachments/20170904/8be560f7/attachment-0001.sig" rel=3D"noreferrer" targe=
t=3D"_blank">http://lists.linuxfoundation.<wbr>org/pipermail/bitcoin-dev/<w=
br>attachments/20170904/8be560f7/<wbr>attachment-0001.sig</a>&gt;<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 4 Sep 2017 10:10:17 -0400<br>
From: Peter Todd &lt;<a href=3D"mailto:pete@petertodd.org">pete@petertodd.o=
rg</a>&gt;<br>
To: Greg Sanders &lt;<a href=3D"mailto:gsanders87@gmail.com">gsanders87@gma=
il.com</a>&gt;,=C2=A0 =C2=A0 =C2=A0 =C2=A0 Bitcoin Protocol Discussion<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfo=
undation.org">bitcoin-dev@lists.<wbr>linuxfoundation.org</a>&gt;<br>
Subject: Re: [bitcoin-dev] &quot;Compressed&quot; headers stream<br>
Message-ID: &lt;20170904141017.GG1276@fedora-<wbr>23-dvm&gt;<br>
Content-Type: text/plain; charset=3D&quot;us-ascii&quot;<br>
<br>
On Mon, Aug 28, 2017 at 12:26:48PM -0400, Greg Sanders via bitcoin-dev wrot=
e:<br>
&gt; Well, if anything my question may bolster your use-case. If there&#39;=
s a<br>
&gt; heavier chain that is invalid, I kind of doubt it matters for timestam=
ping<br>
&gt; reasons.<br>
<br>
Timestamping can easily be *more* vulnerable to malicious miners than finan=
cial<br>
applications for a number of reasons, including the fact that there&#39;s n=
o<br>
financial feedback loop of miners destroying the value of the coins they<br=
>
produce - timestamping is a non-financial piggy-back application that doesn=
&#39;t<br>
directly interact with the Bitcoin economy, beyond a trival number of times=
tamp<br>
transactions.<br>
<br>
--<br>
<a href=3D"https://petertodd.org" rel=3D"noreferrer" target=3D"_blank">http=
s://petertodd.org</a> &#39;peter&#39;[:-1]@<a href=3D"http://petertodd.org"=
 rel=3D"noreferrer" target=3D"_blank">petertodd.org</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 455 bytes<br>
Desc: Digital signature<br>
URL: &lt;<a href=3D"http://lists.linuxfoundation.org/pipermail/bitcoin-dev/=
attachments/20170904/818e9344/attachment.sig" rel=3D"noreferrer" target=3D"=
_blank">http://lists.linuxfoundation.<wbr>org/pipermail/bitcoin-dev/<wbr>at=
tachments/20170904/818e9344/<wbr>attachment.sig</a>&gt;<br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
<wbr>linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.<wbr>org=
/mailman/listinfo/bitcoin-<wbr>dev</a><br>
<br>
<br>
End of bitcoin-dev Digest, Vol 28, Issue 3<br>
******************************<wbr>************<br>
</blockquote></div><br></div></div></div></div></div></div></div>

--94eb2c07d33a7515e905586beceb--