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
|
Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
helo=mx.sourceforge.net)
by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <jtimon@monetize.io>) id 1Wany6-0007hK-KR
for bitcoin-development@lists.sourceforge.net;
Thu, 17 Apr 2014 15:11:14 +0000
Received: from mail-la0-f47.google.com ([209.85.215.47])
by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1Wany5-0006NR-8M
for bitcoin-development@lists.sourceforge.net;
Thu, 17 Apr 2014 15:11:14 +0000
Received: by mail-la0-f47.google.com with SMTP id pn19so496949lab.34
for <bitcoin-development@lists.sourceforge.net>;
Thu, 17 Apr 2014 08:11:06 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=1Jb+6t3fX8j3C4UwLD+ZpaCQ6b1EHdQBqon/1SV0Kqw=;
b=FSIppdmFbgJnyPpIyczyid4Kx93BrOsH2Veyj5XOi0dL2OGeZS+ZdS+JSr2z6rRKHr
+GZmwwuS99plsS1W0z5aRaYAknNrXWsVDmGV3uEJeSRTkSiC6XUKi+5ojgxuQXpo8skj
reKUWJdtYYZfMZmQRAZ1n2vSs2GQpZrnITE2fhyd3QyuB4J2nYNnGSt3fFFykQEnT+jE
akJpTrSKSwW8bfi/GHi15xW3bRScZqFmXnqp16SnRAoQREWexlGGivclVmRZlMIJ6gxr
LugeO7ZQj3OpXFtpzQRsxHgW4O5vsTPZOeovZxBywxU45Un6WdeTPBkq8rL1DDOF7uk7
XyWQ==
X-Gm-Message-State: ALoCoQkVoao6Ud5Pb6mwDP2hgGJH4NM2pnu6Y5iHC4xAZfnKetH2UjZp4Zsln94v62UvLnyQyBPP
MIME-Version: 1.0
X-Received: by 10.112.137.5 with SMTP id qe5mr7461495lbb.16.1397747465193;
Thu, 17 Apr 2014 08:11:05 -0700 (PDT)
Received: by 10.112.60.196 with HTTP; Thu, 17 Apr 2014 08:11:05 -0700 (PDT)
X-Originating-IP: [85.53.138.195]
In-Reply-To: <CABsx9T1HGwozy8pY+iStGZPmjenu0RQBVdtOy5ibiWG0BM4mZw@mail.gmail.com>
References: <CAC1+kJMrpx0tyE8d0wkwjBthhSPMCdr=9LrJHQFTF4G1vg4MAg@mail.gmail.com>
<CABsx9T1HGwozy8pY+iStGZPmjenu0RQBVdtOy5ibiWG0BM4mZw@mail.gmail.com>
Date: Thu, 17 Apr 2014 17:11:05 +0200
Message-ID: <CAC1+kJPvzxsSDg3joraZbv_r1RroK9d6-v9O_15g6S7B46TwQg@mail.gmail.com>
From: =?ISO-8859-1?Q?Jorge_Tim=F3n?= <jtimon@monetize.io>
To: Gavin Andresen <gavinandresen@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
X-Headers-End: 1Wany5-0006NR-8M
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Timed testing
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Thu, 17 Apr 2014 15:11:14 -0000
On 4/17/14, Gavin Andresen <gavinandresen@gmail.com> wrote:
> How is this different from just running in -regtest mode and asking the
> nodes to generate a block after 1 or 2 seconds?
There's no difference, the -timedtest mode does exactly that. But
automatically instead of having to manually ask for a new block every
second.
I assume your position is that the difference is too small to justify
a new mode, or that you just don't see any value in it.
The -private mode, on the other hand, would allow you to simulate
proof of work attacks as described in the previous post, but maybe
there's a simpler way to do the same solely using regtest/timedtest.
Maybe I should have asked the following questions before proposing anything:
1) How does someone simulate a pow race situation without doing any
pow right now?
Does anybody try these things? How?
2) If I wanted to measure validation performance, to get the number of
peak tps that could be processed without taking block sides or network
latency into account, how would I do that? Has anybody tried this
before?
|