summaryrefslogtreecommitdiff
path: root/77/41e95cb05c8cf89e87525d0c0a45b5c3014325
blob: c270aeba1a3a4054661f770bb57a8f75cb31e840 (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
Return-Path: <amiller@cs.umd.edu>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 96FFA1BAA
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  6 Oct 2015 21:00:10 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from sausage.cs.umd.edu (sausage.cs.umd.edu [128.8.127.43])
	by smtp1.linuxfoundation.org (Postfix) with ESMTP id 591BC1DA
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  6 Oct 2015 21:00:09 +0000 (UTC)
Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com
	[209.85.214.176]) (Authenticated sender: amiller)
	by sausage.cs.umd.edu (Postfix) with ESMTPSA id D187E6C0EC7
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue,  6 Oct 2015 17:00:07 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.umd.edu; s=csmx;
	t=1444165207; bh=RMkGoZhbp0RLAPaAz/35Ffj5dQU2oJZrboB2kJ1/s20=;
	h=In-Reply-To:References:Date:Subject:From:To:Cc;
	b=0++tMXGBvs/lnwQGw/5ifGSBu3TtISLrm99eAMuQR4KYxjYfmldmbI/Bnqmx5Hkkh
	eNAYELw08IZMrWBkPAa1+7/WHOBTWw3M3272h4SVtY1lElIwPnF7E+raqAvkh8eLEi
	QOcL8uFOXpRDrDJ4H4vIOIkL6dZHaDQRlQVYInvU=
Received: by obcgx8 with SMTP id gx8so164205323obc.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 06 Oct 2015 14:00:07 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.60.118.137 with SMTP id km9mr2287331oeb.60.1444165207176;
	Tue, 06 Oct 2015 14:00:07 -0700 (PDT)
Received: by 10.202.61.135 with HTTP; Tue, 6 Oct 2015 14:00:07 -0700 (PDT)
Received: by 10.202.61.135 with HTTP; Tue, 6 Oct 2015 14:00:07 -0700 (PDT)
In-Reply-To: <E8AC44C1-310F-44AE-AB5E-63064A3DE1BE@gmail.com>
References: <CAOVG1oNimYpzSnB7NUuugagufbD1JnZmAWsuXhMjq45dEF=w-g@mail.gmail.com>
	<E8AC44C1-310F-44AE-AB5E-63064A3DE1BE@gmail.com>
Date: Tue, 6 Oct 2015 14:00:07 -0700
Message-ID: <CAF7tpEyPqMVXBmbNcSKKywo=sstWxca+4h6_-Tp3-5t_vofbWA@mail.gmail.com>
From: Andrew Miller <amiller@cs.umd.edu>
To: naama.kates@gmail.com
Content-Type: multipart/alternative; boundary=047d7b3a9bd02bc1c4052175eab3
X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, HTML_MESSAGE, RCVD_IN_DNSWL_MED,
	T_RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: "bitcoin-dev@lists.linuxfoundation.org"
	<bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Bitcoin network simulation testing?
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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, 06 Oct 2015 21:00:10 -0000

--047d7b3a9bd02bc1c4052175eab3
Content-Type: text/plain; charset=UTF-8

Shadow uses virtual time, entirely decoupled from real time. So while it
may slow down your machine, this would not affect the stats collected

(although it does make shadow somewhat unpleasant to run, unless you have a
fast machine,  compared to abstract simulators that avoid running the
actual Bitcoin code).
Hi Byron,

I've been using shadow a bit-- I think these simulators are important for
testing, but Shadow, at least, certainly seems to have limitations, in some
crucial respects.  Running shadow w Tor (which is only logical, because
many BCT transactions transpire over Tor) is not as 'light' as presented
and slows my own box down quite a bit, so the stats can't possibly be
accurate... I don't know if this answers any questions or if you've had
this experience at all -- perhaps it is negligible on a more powerful
machine than my own-- or perhaps there is an adjustment still unaccounted?

Regards,
Nina K

Sent from my iPhone

On Oct 4, 2015, at 2:04 PM, Byron Gibson via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

Hi all, is anyone using simulators like Shadow (https://shadow.github.io),
BTCSim (https://github.com/btcsuite/btcsim), etc. to test proposed changes
to Bitcoin?  I have a few questions about their capabilities and
limitations.

Byron Gibson
http://mirror.co/
https://keybase.io/byrongibson



_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev


_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev

--047d7b3a9bd02bc1c4052175eab3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Shadow uses virtual time, entirely decoupled from real time.=
 So while it may slow down your machine, this would not affect the stats co=
llected</p>
<p dir=3D"ltr"> (although it does make shadow somewhat unpleasant to run, u=
nless you have a fast machine,=C2=A0 compared to abstract simulators that a=
void running the actual Bitcoin code).</p>
<div class=3D"gmail_quot&lt;blockquote class=3D" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto"><div>Hi Byr=
on,=C2=A0</div><div><br></div><div>I&#39;ve been using shadow a bit-- I thi=
nk these simulators are important for testing, but Shadow, at least, certai=
nly seems to have limitations, in some crucial respects.=C2=A0 Running shad=
ow w Tor (which is only logical, because many BCT transactions transpire ov=
er Tor) is not as &#39;light&#39; as presented and slows my own box down qu=
ite a bit, so the stats can&#39;t possibly be accurate... I don&#39;t know =
if this answers any questions or if you&#39;ve had this experience at all -=
- perhaps it is negligible on a more powerful machine than my own-- or perh=
aps there is an adjustment still unaccounted?</div><div><br></div><div>Rega=
rds,</div><div>Nina K</div><div><br>Sent from my iPhone</div><div><br>On Oc=
t 4, 2015, at 2:04 PM, Byron Gibson via bitcoin-dev &lt;<a href=3D"mailto:b=
itcoin-dev@lists.linuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.l=
inuxfoundation.org</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><d=
iv><p dir=3D"ltr">Hi all, is anyone using simulators like Shadow (<a href=
=3D"https://shadow.github.io" target=3D"_blank">https://shadow.github.io</a=
>), BTCSim (<a href=3D"https://github.com/btcsuite/btcsim" target=3D"_blank=
">https://github.com/btcsuite/btcsim</a>), etc. to test proposed changes to=
 Bitcoin?=C2=A0 I have a few questions about their capabilities and limitat=
ions.<br></p>
<p dir=3D"ltr">Byron Gibson<br>
<a href=3D"http://mirror.co/" target=3D"_blank">http://mirror.co/</a><br>
<a href=3D"https://keybase.io/byrongibson" target=3D"_blank">https://keybas=
e.io/byrongibson</a><br></p>
<p dir=3D"ltr">=C2=A0=C2=A0=C2=A0 </p>
</div></blockquote><blockquote type=3D"cite"><div><span>___________________=
____________________________</span><br><span>bitcoin-dev mailing list</span=
><br><span><a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=
=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a></span><br><span><a hr=
ef=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" targe=
t=3D"_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev=
</a></span><br></div></blockquote></div><br>_______________________________=
________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
<br></div>

--047d7b3a9bd02bc1c4052175eab3--