forked from BitDesert/txhighway-nano
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·413 lines (369 loc) · 16.8 KB
/
index.html
File metadata and controls
executable file
·413 lines (369 loc) · 16.8 KB
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta content="IE=11" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Dash 0.13 Stress Test in December 2018</title>
<meta content="Analyze Dash and Bitcoin transactions in our highway themed transaction visualizer." name="description">
<!-- Search Engine -->
<meta name="description" content="Analyze Dash and Bitcoin transactions in our highway themed transaction visualizer.">
<!-- Schema.org for Google -->
<meta itemprop="name" content="Dash Stress Test">
<meta itemprop="description" content="Analyze Dash and Bitcoin transactions in our highway themed transaction visualizer.">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Dash Stress Test">
<meta name="twitter:description" content="Analyze Dash and Bitcoin transactions in our highway themed transaction visualizer.">
<!-- Open Graph general (Facebook, Pinterest & Google+) -->
<meta name="og:title" content="Dash Stress Test">
<meta name="og:description" content="Analyze Dash and Bitcoin transactions in our highway themed transaction visualizer.">
<meta name="og:site_name" content="Dash Stress Test">
<meta name="og:type" content="website">
<link href="style.css?v=1.25" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.slim.js"></script>
<script src="https://mydashwallet.org:3001/socket.io/socket.io.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="icon" href="assets/favicon.ico" />
<script>
if (window.location.protocol == "http:") {
console.log("Reloading the page to a Secure Connection...")
window.location = document.URL.replace("http://", "https://");
}
// internet explorer check
function Check_Version() {
var rv = -1; // Return value assumes failure.
if (navigator.appName == 'Microsoft Internet Explorer') {
var ua = navigator.userAgent,
re = new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})");
if (re.exec(ua) !== null) {
rv = parseFloat(RegExp.$1);
}
}
else if (navigator.appName == "Netscape") {
/// in IE 11 the navigator.appVersion says 'trident'
/// in Edge the navigator.appVersion does not say trident
if (navigator.appVersion.indexOf('Trident') === -1) rv = 12;
else rv = 11;
}
return rv;
}
if (Check_Version() < 12) alert("This application does not support Internet Explorer. Please use a different browser");
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js"></script>
</head>
<body>
<div id="page">
<canvas id="renderCanvas"></canvas>
<span class="divider"></span>
<span class="lane-size one"></span>
<span class="lane-size two"></span>
<span class="lane-size three"></span>
<span class="lane-size four"></span>
<span class="lane-size five"></span>
<span class="lane-size six"></span>
<span class="lane-size seven"></span>
<span class="lane-size eight"></span>
<span class="lane-size one-core"></span>
<span class="lane-size two-core"></span>
<div class="fees-bch fees-toll">
<span class="avg rotate">Fees</span>
<span class="fee-title">Fees</span>
<span class="fee-title secondary">Fees</span>
<span id="fees-bch" class="rotate">$0.00</span>
</div>
<div class="fees-btc fees-toll">
<span class="avg rotate">Fees</span>
<span class="fee-title">Fees</span>
<span class="fee-title secondary">Fees</span>
<span id="fees-btc" class="rotate">$0</span>
</div>
<div class="bitcoin-cash"></div>
<div class="bs"></div>
<div class="road-bg"></div>
<div class="road-bg-bs"></div>
<div class="lane one"></div>
<div class="lane two"></div>
<div class="lane three"></div>
<div class="lane four"></div>
<div class="lane five"></div>
<div class="lane six"></div>
<div class="lane seven"></div>
<div class="lane core"></div>
<div class="titleDash">
<h2>Dash Transaction Visualizer</h2>
</div>
<div class="titleBtc">
<h4>Bitcoin Transaction Visualizer</h4>
</div>
<div class="title2">
<h3>Dash 0.13 Stress Test 5M TX<br />Coming December 2018<br /><span id="countdown">Countdown</span></h3>
<script>
var countDownDate = new Date("2018-11-11").getTime();
var x = setInterval(function() {
var now = new Date().getTime();
var distance = countDownDate - now;
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
document.getElementById("countdown").innerHTML = "Countdown: "+ days + "d " + hours + "h "
+ minutes + "m (UTC)";
if (days < -1) {
clearInterval(x);
document.getElementById("countdown").innerHTML = "0.12.3 Stress Test is over, 3m tx reached!";
}
else if (distance < 0) {
clearInterval(x);
document.getElementById("countdown").innerHTML = "Stress Test is LIVE!";
}
}, 1000);
</script>
<div class="title-links">
<a href="https://chain.so/dash" target="_blank">Explorer 1</a>
<a href="https://insight.dash.org/" target="_blank">Explorer 2</a>
<a href="https://chainz.cryptoid.info/dash/" target="_blank">Explorer 3</a>
<a href="https://explorer.dash.org" target="_blank">Explorer 4</a>
<a href="https://andyfreer.github.io/dash-machine/index.html" target="_blank">Dash Machine (3D)</a>
<a href="https://dashradar.com/graph" target="_blank">DashRadar</a>
<a href="http://udjinm6.github.io/bitlisten/" target="_blank">DashListen</a>
<a href="https://dash-news.de/dashtv" target="_blank">DashTV</a>
<a href="https://MyDashWallet.org/" target="_blank">MyDashWallet.org</a>
<a href="https://dash.org" target="_blank">Dash.org</a>
</div>
</div>
<div class="nav">
<a href="#" class="settings" data-modal='modal-settings'>
<i class="fa fa-cog" aria-hidden="true"></i>
</a>
<a href="#" class="legend" data-modal='modal-legend'>
<i class="fa fa-car" aria-hidden="true"></i>
</a>
<div class="global-mute">
<a href="#">
<i class="fa fa-volume-off pulse-off" aria-hidden="true"></i>
</a></div>
<a href="#" class="info" data-modal='modal-info'>
<i class="fa fa-question-circle" aria-hidden="true"></i>
</a>
<a href="#" class="tx-list-link" id="tx-list-button">
<i class="fa fa-list" aria-hidden="true"></i>
</a>
</div>
<div id="modal-settings" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Settings</h2>
<p>Modify audio, speed, and monitor a receiving address.</p>
</div>
<div class="modal-body">
<div class="row">
<div class="col-6">
<!-- Rectangular switch -->
<div class="switch-wrap">
<label class="switch">
<input type="checkbox" checked class="overlay-switch">
<span class="switcher"></span>
</label>
<h5>Hide Overlays</h5>
</div>
</div>
<div class="col-6">
<div id="slidecontainer">
<label>Vehicle Speed</label>
<input type="range" min="20" max="100" value="50" class="slider" id="speedSlider">
<label>Volume</label>
<input type="range" min="1" max="100" value="50" class="slider" id="volumeSlider">
</div>
</div>
<div class="col-12 text-center">
<hr>
<h4>Address Monitoring</h4>
</div>
<div class="col-6">
<fieldset>
<img src="assets/dash.png" class="logo-label" alt="Dash">
<label>
<i class="fa fa-search" aria-hidden="true"></i> Dash Address</label>
<input id="cash-address-input" placeholder="Input Dash Wallet Adddress" size="34" type="text" />
</fieldset>
</div>
<div class="col-6">
<fieldset>
<img src="assets/btc.png" class="logo-label" alt="Bitcoin Core">
<label>
<i class="fa fa-search" aria-hidden="true"></i> Bitcoin Core Address</label>
<input id="core-address-input" placeholder="Input BTC Wallet Adddress" size="34" type="text" />
</fieldset>
</div>
</div>
<div class="col-12 text-center">
<p>Input your public wallet address to monitor for incoming transactions.</p>
</div>
</div>
</div>
</div>
<div id="modal-legend" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Legend</h2>
<p>Spot the differences in the value of each transaction.</p>
</div>
<div class="modal-body">
<div class="row">
<div class="col-3 col-6-sm legend-item">
<h6>Micro TX
<span>($0 - $10.00 USD)</span>
</h6>
<img src="assets/sprites/core-micro.png" alt="Micro" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>Tiny TX
<span>($10 - $1,000 USD)</span>
</h6>
<img src="assets/sprites/core-small.png" alt="Tiny" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>Small TX
<span>($1,000 - $10,000 USD)</span>
</h6>
<img src="assets/sprites/core-small-med.png" alt="Small" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>Medium TX
<span>($10,000 - $100,000 USD)</span>
</h6>
<img src="assets/sprites/core-medium.png" alt="Medium" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>Large TX
<span>($100,000 - $500,000 USD)</span>
</h6>
<img src="assets/sprites/core-large.png" alt="Large" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>Extra Large TX
<span>($500,000 - $1,000,000 USD)</span>
</h6>
<img src="assets/sprites/core-xlarge.png" alt="Extra large" />
</div>
<div class="col-3 col-12-sm legend-item whale-col">
<h6>Whale TX
<span>($1,000,000 + USD)</span>
</h6>
<img src="assets/sprites/core-whale.png" alt="Whale" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>
Dash TX
<span>(any amount)</span>
</h6>
<img src="assets/sprites/DashPlane.png" alt="Dash" />
</div>
<div class="col-3 col-6-sm legend-item">
<h6>Monitored Address</h6>
<img src="assets/sprites/tx-taxi.png" alt="Monitored Address" />
</div>
<div class="col-3 col-12-sm legend-item">
<h6>Segwit TX</h6>
<img src="assets/sprites/segwit.png" alt="Segwit" />
</div>
</div>
</div>
<div class="modal-footer">
<h3>Made by <a href="https://MyDashWallet.org" target="_blank">MyDashWallet.org</a></h3>
</div>
</div>
</div>
<div id="modal-info" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>What is Dash Stress Test?</h2>
<p>Dash and Bitcoin Transaction Visualizer</p>
</div>
<div class="modal-body">
<p>The Dash Stress Test is a community driven stress test of the Dash blockchain. Everyone is welcome to participate in the stress test. The event was originally planned for the 0.12.4 release, which is now called 0.13 and much bigger in scope, especially for the changes with InstantSend and performance fixes to high transaction counts. However we only tested the current code for the current 0.12.3 Dash version (as of early November 2018), thus we want to run a test now and later once 0.13 is out run the whole thing again with improved code and knowledge. Details on our <a href="https://discord.gg/PPEaN9K">Dash Nation Discord</a>.
</p>
<p>
Also check out this great research funded by Dash: <a href="https://blockchain.asu.edu/block-propagation-applied-to-nakamoto-networks/">Block Propagation Applied to Nakamoto Networks</a> by Hunter Colleran at ASU | Jun 22, 2018
</p>
<p>
The first stress test in July 2018 reached over 700 000 transactions in a day, which was started more as a small test and mostly driven by community members using the !createtxspike command of the MyDashWallet Discord bot. At that time it was the highest number of transactions processed by any bitcoin based blockchain ever in a day. In September 2018 Bitcoin Cash reached 2.1 million transactions and we want to bring the Dash network really to its limits this time (which is around 4-5 million transactions by filling every 2mb block every 2.6 minutes for 24h).
</p>
<h4>Who made it?</h4>
<ul>
<li>Made by the MyDashWallet team October 2018 for the upcoming stress test.</li>
<li>This site is based on <a href="https://TxHighway.com">TxHighway.com</a>, which was made by Bitcoin Cash supporters</li>
<li>The highway comparison was originally shared by Eli Afram (
<a href="https://twitter.com/justicemate" target="_blank">@justicemate</a>), a contributor for CoinGeek. This highway metaphor is what spawned this whole project.
<a href="https://twitter.com/justicemate/status/923682942248927233" target="_blank">[Source]</a>
</li>
</ul>
</div>
<div class="modal-footer">
<h3>Visit
<a href="https://dash.org" target="_blank">Dash.org</a> or
<a href="https://MyDashWallet.org/" target="_blank">MyDashWallet.org</a> to create a Dash wallet today!</h3>
</div>
</div>
</div>
<div class="road-sign sign cash-road-sign">
<div class="sign-border">
<h4 class="sign-title">Dash is Digital Cash</h4>
<h5 class="highway-num">Dash</h5>
<div class="cash-pool">
<span id="cash-pool">UPDATING</span>TX in Transit
<h6></h6>
<span id="price_dash">UPDATING</span>Price Per Dash
</div>
</div>
</div>
<div class="road-sign sign core-road-sign">
<div class="sign-border">
<h4 class="sign-title">
Bitcoin is an innovative
<br />payment network</h4>
<h5 class="highway-num">BTC</h5>
<div class="core-pool">
<span id="core-pool">UPDATING</span>TX in Transit
<h6>Full Fee Confimation Time (Avg)
<span id="core-eta">24h</span>
</h6>
<span id="price_btc">UPDATING</span> Price Per BTC
</div>
</div>
</div>
<div class="waiting-sign">
<div class="sign-border">
<h5>
<span id="tx-waiting">100</span>
</h5>
<div class="sign-title">
TX Off-Screen
</div>
</div>
</div>
<div class="whitepaper">
<a href="https://bitcoin.com/bitcoin.pdf" target="_blank" title="Whitepaper">
<i class="fa fa-file-text-o" aria-hidden="true"></i>
</a>
</div>
<div id="confirmed-notify">
<div class="confirmed-text text-center">
<img src="assets/confirmed.png" alt="Confirmed">
<span id="confirmed-amount">100 BTC</span> Transactions Confirmed
</div>
</div>
</div>
<div id="tx-wrap" style="right:-151px;">
<h4><span class="live">Live</span> transactions</h4>
<ul id="transactions"></ul>
</div>
<script src="js/konami.min.js"></script>
<script src="js/txhighway.js?v=1.1"></script>
</body>
</html>