-
Notifications
You must be signed in to change notification settings - Fork 0
/
script_min.js
4191 lines (4191 loc) · 130 KB
/
script_min.js
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
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
var mde = "l",
$Q = {
pool: {
nme: "MoneroOcean",
},
clr: {
main: "208b8b",
secondary: "818181",
"back-l": "e8e8e8",
"back-d": "313131",
},
cur: {
nme: "Monero",
sym: "XMR",
conf: 30,
port: 18081,
reg: /^[4|8]{1}([A-Za-z0-9]{105}|[A-Za-z0-9]{94})$/,
},
api: "https://api.moneroocean.stream/",
fiat_name: "usd",
fiat_symbol: "$",
news: true,
email: true,
timer: 60,
pending_days: 30,
graph: {
hrs: 72,
pplns: false,
},
pay: {
min_auto: 0.003,
def_auto: 0.3,
max_fee: 4e-4,
zero_fee_pay: 4,
dec_auto: 4,
},
},
$$ = {
calc: {
1: "Per Day",
7: "Per Week",
30: "Per Month",
365: "Per Year",
},
page_sizes: [15, 50, 100],
hlp: {
head: "Welcome to " + $Q.pool.nme,
text: 'Getting started is easy and this pool has a large and friendly community that are happy to help you. You can check <a href="https://moneroocean.blogspot.com/" class="C1 hov">our mining guides</a>. The pool operator can be reached in the <a href="https://discordapp.com/invite/jXaR2kA" class="C1 hov">Discord</a>, <a href="https://twitter.com/MoneroOcean" class="C1 hov">Twitter</a> or at <a href="mailto:support@moneroocean.stream" class="C1 hov">support@moneroocean.stream</a>. Please be patient and someone will get back to you. Most of the time help can be found quicker in the chat. The pool has a quite stable and knowlegable community - you can join the chat and seek help and a friendly chat there :)',
},
msg: {
addr_invalid: {
head: "Invalid " + $Q.cur.nme + " Address",
text: "Double check that your address is complete.",
},
addr_nodata: {
head: "No Data",
text: "",
},
},
nav: {
home: "Home",
coins: "Coins",
blocks: "Blocks",
payments: "Payments",
help: "Help",
},
pay: {
DashDue: {
lbl: $Q.cur.sym + " Total Due",
var: "due",
tooltip: "Total due pool owes you",
},
DashPaid: {
lbl: $Q.cur.sym + " Paid",
var: "paid",
tooltip: "Amount pool already paid to you",
},
},
wm: {
on: 'Web mining: <span id="WebMinerHash">--</span>',
off: "Run Web Miner",
},
sts: function () {
return {
MinerWorkerCount:
'<div id="WebMinerBtn" class="BtnElem C0' +
mde +
' txttny C1bk C2bk_hov"></div>',
MinerHashes: 'Your <select id="HashSelect"></select> Hashrate',
MinerShares: 'Shares (Hashes: <span id="TotalHashes">--</span>)',
MinerCalc:
'<input type="text" id="MinerCalcHsh" size="3" /><select id="MinerCalcUnit"></select><select id="MinerCalcFld"></select>',
};
},
stsw: function () {
return {
MinerHashes: "Total Hashes",
MinerShares: "Valid / Invalid Shares",
};
},
tbl: {
coins: [
{
name: "name",
lbl: "Name",
cls: "min",
},
{
name: "algo",
lbl: "Algo",
cls: "min",
},
{
name: "profit",
lbl: "Profit",
tooltip: "Profit per hash in percent",
cls: "min",
},
{
name: "eff",
lbl: "Effort",
tooltip: "Current block effort in percent",
cls: "min",
},
{
name: "reward_perc",
lbl: "Reward",
tooltip: "Block reward in percent",
cls: "min",
},
{
name: "accounts",
lbl: "Accounts",
tooltip: "Account (Wallet) Count",
cls: "min",
},
{
name: "poolhashrate",
lbl: "Hashrate",
tooltip: "Pool hashrate",
cls: "min",
},
{
name: "worldhashrate",
lbl: "World Hash",
tooltip: "Coin world hashrate",
cls: "min",
},
{
name: "height",
lbl: "Top Height",
cls: "min",
},
{
name: "pplns",
lbl: "PPLNS",
tooltip: "Share in last block PPLNS window in percent",
cls: "min",
},
{
name: "notes",
lbl: "Notes",
cls: "trunc",
},
],
blocks: [
{
name: "num",
lbl: "#",
cls: "min",
},
{
name: "tme",
lbl: "Found",
cls: "min",
},
{
name: "coin",
lbl: "Coin name",
cls: "min",
},
{
name: "eff",
lbl: "Effort",
cls: "min",
},
{
name: "reward",
lbl: "Raw reward",
tooltip: "Raw block reward in native coin units",
cls: "min",
},
{
name: "payment",
lbl: "Payment (" + $Q.cur.sym + ")",
cls: "min",
},
{
name: "bheight",
lbl: "Height",
cls: "min",
},
{
name: "hash",
lbl: "Hash",
typ: "block",
cls: "trunc",
},
],
poolpay: [
{
name: "tme",
lbl: "Payment Sent",
cls: "min",
},
{
name: "payees",
lbl: "Payees",
cls: "min",
},
{
name: "amnt",
lbl: "Amount (" + $Q.cur.sym + ")",
cls: "min",
},
{
name: "fee",
lbl: "Fee (" + $Q.cur.sym + ")",
cls: "min",
},
{
name: "hash",
lbl: "Tx Hash",
typ: "tx",
cls: "trunc",
},
],
pay: [
{
name: "tme",
lbl: "Payment Sent",
cls: "min",
},
{
name: "amnt",
lbl: "Amount (" + $Q.cur.sym + ")",
cls: "min",
},
{
name: "hash",
lbl: "Tx Hash",
typ: "tx",
cls: "trunc",
},
],
blockpay: [
{
name: "tme",
lbl: "Block pay time",
cls: "min",
},
{
name: "tme_found",
lbl: "Block found time",
cls: "min",
},
{
name: "amnt",
lbl: "Amount (" + $Q.cur.sym + ")",
cls: "min",
},
{
name: "percent",
lbl: "Block share (percent)",
cls: "min",
},
{
name: "coin",
lbl: "Coin name",
cls: "min",
},
{
name: "hash_pay",
lbl: "Block Hash",
cls: "trunc",
},
],
},
trn: {
avgeff: "Avg Effort",
conf: "Confirmed",
eff: "Effort",
eml_on: "Email Alerts On",
eml_off: "Email Alerts Off",
min: "Minimum",
que: "Payment Queued",
rcnt: "Recent",
set: "Update threshold",
updt: "Threshold updated",
vwpy: "Show Your Payments",
vwpy2: "Show Your Block Payments",
},
faq: [
{
q: "What are available pool addresses?",
a:
"We recommend using <b>gulf.moneroocean.stream</b> as primary mining address because it will direct you to the closest alive pool server with the lowest latency. Other pool node servers you can use as backup:" +
"<ul>" +
"<li><b>us-or.moneroocean.stream</b>: USA West coast</li>" +
"<li><b>us-va.moneroocean.stream</b>: USA East coast</li>" +
"<li><b>us-oh.moneroocean.stream</b>: USA East coast</li>" +
"<li><b>de.moneroocean.stream</b>: Germany</li>" +
"<li><b>fi.moneroocean.stream</b>: Finland</li>" +
"<li><b>fr.moneroocean.stream</b>: France</li>" +
"<li><b>jp.moneroocean.stream</b>: Japan</li>" +
"<li><b>sg.moneroocean.stream</b>: Singapore</li>" +
"</ul>",
},
{
q: "Why xmrig miner shows so high ping to MoneroOcean pool nodes?",
a:
"xmrig miner includes time needed to verify your share into ping number it reports. " +
"Pool uses external share validator for non-critical shares (the ones that cannot be used to find a block), " +
"so that is why ping reported by xmrig is high. Critical shares are validated locally, " +
"so that guarantees that there will be no external share validator delay for them and no orphaned blocks because of this. " +
"So for our pool usual ping utility provides more accurate results.",
},
{
q: "What are available pool ports?",
a:
"Pool support many ports that are only different by their starting difficulty. Please select them based on your miner speed:" +
"<ul>" +
"<li><b>80</b> (SSL <b>443</b>): 100 diff (1-5 h/s)</li>" +
"<li><b>10001</b> (SSL <b>20001</b>): 1000 diff (5-50 h/s)</li>" +
"<li><b>10002</b> (SSL <b>20002</b>): 2000 diff (50-100 h/s)</li>" +
"<li><b>10004</b> (SSL <b>20004</b>): 4000 diff (100-150 h/s)</li>" +
"<li><b>10008</b> (SSL <b>20008</b>): 8000 diff (150-300 h/s)</li>" +
"<li><b>10016</b> (SSL <b>20016</b>): 16000 diff (300-500 h/s)</li>" +
"<li><b>10032</b> (SSL <b>20032</b>): 32000 diff (500-1000 h/s)</li>" +
"<li><b>10064</b> (SSL <b>20064</b>): 64000 diff (1000-2000 h/s)</li>" +
"<li><b>10128</b> (SSL <b>20128</b>): 128000 diff (2000-4000 h/s)</li>" +
"<li><b>10256</b> (SSL <b>20256</b>): 256000 diff (4000-8000 h/s)</li>" +
"<li><b>10512</b> (SSL <b>20512</b>): 512000 diff (8000-20000 h/s)</li>" +
"<li><b>11024</b> (SSL <b>21024</b>): 1024000 diff (20000-40000 h/s)</li>" +
"<li><b>12048</b> (SSL <b>22048</b>): 2048000 diff (40000-80000 h/s)</li>" +
"<li><b>14096</b> (SSL <b>24096</b>): 4096000 diff (80000-160000 h/s)</li>" +
"<li><b>18192</b> (SSL <b>28192</b>): 8192000 diff (160000+ h/s)</li>" +
"</ul>",
},
{
q: "Can I mine here using Tor .onion address?",
a: "Yes. You can mine on MoneroOcean pool using <b>mo2tor2amawhphlrgyaqlrqx7o27jaj7yldnx3t6jip3ow4bujlwz6id.onion</b> Tor address (and usual <b>10001</b>-<b>18192</b> http ports).",
},
{
q: "When payments happen?",
a: "Payments happen automatically in couple of hours when your total due reaches your payment threshold. By default payment threshold is <b>0.3</b> XMR but your can lower it in home page miner options.",
},
{
q: "What does raw hashrate means?",
a: "<b>Raw hashrate</b> is hashrate your miner produces on algo it mines. <b>Pay hashrate</b> is hashrate that is used to determine how much you will be payed (it is <b>raw hashrate</b> multiplied by profit factors from the coins page).",
},
{
q: "How set or update your email for notifications?",
a: "Go to home page miner options, put your new email into <b>Change email TO</b> field and press <b>Email alerts On/Off</b> button. You must correctly fill <b>Change email FROM</b> field if you have email previously set. If you can not remember your previous email please contact pool operator providing your XMR wallet address so he can reset your email address.",
},
{
q: "Is it possible to open pool home page on specific XMR address?",
a: "Yes. You can use <b>https://moneroocean.stream/#/dashboard?addr="xmr_address"</b> link for that. Moreover you can use this address to start web mining immediately without need to click the button: <b>https://moneroocean.stream/#/dashboard?addr="xmr_address"&web_miner</b>.",
},
{
q: "How pool determines the most profitable coin to mine for my algo switching miner?",
a: "During login your algo switching miner will report hashrates it can do for all algorithms it support. Pool use that data to offer your miner a coin with the best profit that is determined by multiplication of hashrate of your miner and current coin hash profit.",
},
{
q: "Can I mine coins supported here using miner that does not support algo switching?",
a: 'Yes. You can do that if you add name of your coin algorithm at the end of miner password field after <b>~</b> character, like this: <b>worker_name~k12</b>. The list of supported algorithms can be found at <u class="nav C1" data-tar="coins">coins page</u>.',
},
{
q: "Do I need to have altcoin wallets to mine them here?",
a: "No. Only Monero wallet is needed because pool does all payments in Monero (XMR).",
},
{
q: "Am I payed only for the coin blocks I mine?",
a: "No. Pool pays you your share from every block we find as before. Your pay share like before is based on amount of hashes you submitted in the PPLNS window on the moment block is found. In particulair that means that your are payed even after you stopped mining as long as your shares are within PPLNS window.",
},
{
q: "How can I verify my PPLNS reward for a particular XMR block?",
a:
"For each XMR block for the last month pool stores CSV file with shares used to determine block rewards to all miners on the pool. You can access this file using link from XMR height value or from <b>https://block-share-dumps.moneroocean.stream/"block hash".cvs.xz</b> location directly. Each line of this file corresponds to submitted share and has the following fields:" +
"<ul>" +
"<li><b>part_of_xmr_address</b> - last 16 characters of your XMR address used on the pool</li>" +
"<li><b>timestamp</b>: Linux timestamp in hex format</li>" +
"<li><b>raw_diff</b>: difficulty of this share</li>" +
"<li><b>count</b>: number of shares merged into this one (with cumulative raw_diff)</li>" +
"<li><b>coin</b>: name of the coin</li>" +
"<li><b>xmr_diff</b>: diff normalized to XMR profits using current profit factor for that coin</li>" +
"<li><b>xmr_diff_payed</b>: can be omitted if equal to xmr_diff</li>" +
"</ul>" +
"You can also use calc_mo_cvs.js script to parse this file like this on Linux:<br>" +
"<b>wget https://raw.githubusercontent.com/MoneroOcean/nodejs-pool/master/block_share_dumps/calc_mo_cvs.js<br>" +
"wget -O - https://block-share-dumps.moneroocean.stream/4900622681b754d56d5c93e1e4d010f6fc2097e2f2c1a0809e30b09b13f12472.cvs.xz | unxz -c | node calc_mo_cvs.js 89TxfrUmqJJcb1V124WsUzA78Xa3UYHt7Bg8RGMhXVeZYPN8cE5CZEk58Y1m23ZMLHN7wYeJ9da5n5MXharEjrm41hSnWHL<br>" +
"<br>" +
"PPLNS window size: 3.76 hours<br>" +
"PPLNS window size: 215549020500 xmr hashes<br>" +
"Pool XMR normalized hashrate: 15.94 MH/s<br>" +
"<br>" +
"Your submitted shares: 33578<br>" +
"Your payment: 0.346985% (747923823 xmr hashes)<br>" +
"Your XMR normalized hashrate: 55.32 KH/s<br>" +
"<br>" +
"You mined these coins:<br>" +
" LOKI: 244825043 raw coin hashes (37.478417% of XMR normalized hashrate)<br>" +
" MSR: 1809000 raw coin hashes (0.182182% of XMR normalized hashrate)<br>" +
" TUBE: 295000 raw coin hashes (0.095110% of XMR normalized hashrate)<br>" +
" XHV: 359000 raw coin hashes (0.119957% of XMR normalized hashrate)<br>" +
" XMR: 464642699 raw coin hashes (62.124335% of XMR normalized hashrate)</b>",
},
{
q:
"Can I have payment if I have less than <b>" +
$Q.pay.min_auto +
"</b> XMR?",
a:
"Sorry, no. Minimum payment of <b>" +
$Q.pay.min_auto +
"</b> XMR is hardcoded in the pool code and it is too much mess to workaround it. Please consider to accumulate <b>" +
$Q.pay.min_auto +
"</b> XMR to get payment.",
},
{
q: "Is there a way to change my wallet address (move total amount due from on wallet to another)?",
a: "Generally, no. However it can be reviewed on case by case basis if there is enough evidence that you are asking to move money from wallet you own. That includes you knowing email address for that wallet (if it is set); stopping ALL mining activity for at least one week to your old wallet; … other checks that we will not disclose now.",
},
{
q: "Why my miner recieves pool errors about throttled shares?",
a: "Because you are connecting too many miners with too low diff. Either increase miner diff or use mining proxy.",
},
{
q: "What is miner ban policy on this pool?",
a:
"In case of invalid shares pool can use temporary IP based bans that will be automatically removed.<br><br>" +
"Permanent XMR address ban can be only issued if we get enough evidence that any wallet address on the pool is used for malware/botnet activities. By enough evidence we mean at least several reports from different sources. And by address ban we mean that workers that try to use this address will be rejected. We do not plan to freeze already mined funds (total due), so they can be retrieved by setting lower payment threshold in home page miner options as usual.",
},
{
q: "Why some of my worker names are replaced by <b>all_other_workers</b> worker?",
a: "This is because you use too many worker names and to avoid DB / network channel overloads all extra miners are joined under <b>all_other_workers</b> worker name.",
},
{
q: "Why is the web miner not working (always shows zero hashrate)?",
a: "Try to use your browser's incognito mode or another browser. Also maybe your are blocked by your malware or antivirus software or by your ISP.",
},
{
q: "How can I uninstall miner installed using the MoneroOcean miner setup scripts?",
a:
"On Windows run this command: <b>powershell -Command "$wc = New-Object System.Net.WebClient; $tempfile = [System.IO.Path]::GetTempFileName(); $tempfile += '.bat'; $wc.DownloadFile('https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/uninstall_moneroocean_miner.bat', $tempfile); & $tempfile; Remove-Item -Force $tempfile"</b><br>" +
"On Linux run this command: <b>curl -s -L https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/uninstall_moneroocean_miner.sh | bash -s</b>",
},
{
q: "Are pool mining fees are really zero?",
a: "Yes, mining fee is zero. However please note that there is also withdrawal tx fee (that became also zero after <b>4.0</b> XMR). There is also small <b>0.4%</b>-<b>0.6%</b> TradeOgre exchange fee. Also web mining fee is <b>3%</b> (payed to web miner software developer).",
},
{
q: "Can I split/donate hashrate of my worker between several Monero addresses?",
a: "Yes. In your miner config add <b>%percent2%xmr_wallet_address2</b> after your <b>xmr_wallet_address1</b> address and pool will split <b>percent2</b> percent of your hashrate to <b>xmr_wallet_address2</b>. For example if you want to donate <b>0.1%</b> of your hashrate to support Monero developers then just add <b>%0.1%44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A</b> after your Monero wallet address. This split happens on per worker basis, so one of your workers can has split enabled and other can work without split.",
},
{
q: "Is this pool software open source?",
a: 'Yes. It is powered by software in <a href="https://github.com/MoneroOcean/nodejs-pool" target="_blank" class="C3l hov">nodejs-pool</a> and <a href="https://github.com/MoneroOcean/moneroocean-gui" target="_blank" class="C3l hov">moneroocean-gui</a> repositories.',
},
{
q: "Are you accepting cryptocurrency donations? What are pool wallet view keys?",
a:
"Yes. Why not =) Every bit helps especially with zero fee mining policy we use. If for some reason you feel grateful to a degree to donate some crypto then here are addresses you can use for that. These wallets are also used by the pool to recieve block rewards, so you can double check we not skimming any blocks by using wallet view keys listed below:" +
"<ul>" +
"<li><b>XMR</b>: 48VGGDaFWeedcSGkJ1Ww3eUnMxzGCgoMwV6ZS5enen9u1PjoWduKxszcy81zLCvoDEUmeBoGXu2adEqWV1Z6aGGHECnymR6<br>" +
"<b>View key</b>: 2f7c00584635ec0b51f0b40b92f1f4bdbc35c88ac5cfe8a4de86b40a56949f08</li>" +
"<li><b>ZEPH</b>: ZEPHYR2nic7ULkkmgZNX8a9i2tMbkxuCqjgWZYuee3awX7RhtmhoT98CwGEGrruWZVSKtA7Z7JC8m7oeYHtBD9cBEZzdEh9BSdq4q<br>" +
"<b>View key</b>: 5cd8b069bceefc6d22d50247c3260978e69abaf2c5d9cc5d1351c022343f5200</li>" +
"<li><b>AEON</b>: WmsEg3RuUKCcEvFBtXcqRnGYfiqGJLP1FGBYiNMgrcdUjZ8iMcUn2tdcz59T89inWr9Vae4APBNf7Bg2DReFP5jr23SQqaDMT<br>" +
"<b>View key</b>: edf3d3c64d6b9be56292bfa322a89ddc7dfa0e62c0339f6ef35fad5341243d06</li>" +
"<li><b>ETN</b>: etnkQMp3Hmsay2p7uxokuHRKANrMDNASwQjDUgFb5L2sDM3jqUkYQPKBkooQFHVWBzEaZVzfzrXoETX6RbMEvg4R4csxfRHLo1<br>" +
"<b>View key</b>: N/A (not mining for a long time)</li>" +
"<li><b>SUMO</b>: Sumoo1DGS7c9LEKZNipsiDEqRzaUB3ws7YHfUiiZpx9SQDhdYGEEbZjRET26ewuYEWAZ8uKrz6vpUZkEVY7mDCZyGnQhkLpxKmy<br>" +
"<b>View key</b>: 1e7fdff71c6904997ac8cba496e8f99130e0684678192d471d57e4537f48dd02</li>" +
"<li><b>GRFT</b>: GACadqdXj5eNLnyNxvQ56wcmsmVCFLkHQKgtaQXNEE5zjMDJkWcMVju2aYtxbTnZgBboWYmHovuiH1Ahm4g2N5a7LuMQrpT<br>" +
"<b>View key</b>: d0a73b92c7faa91cb5addab02b8490ccddf967234f1e4b91fcaf9b511d906c07</li>" +
"<li><b>MSR</b>: 5hnMXUKArLDRue5tWsNpbmGLsLQibt23MEsV3VGwY6MGStYwfTqHkff4BgvziprTitbcDYYpFXw2rEgXeipsABTtEmcmnCK<br>" +
"<b>View key</b>: d1a36b1507aa51f5d2e79f4b9c62dde26f95d4f41847345903a05ee3e84de50b</li>" +
"<li><b>LTHN</b>: iz53aMEaKJ25zB8xku3FQK5VVvmu2v6DENnbGHRmn659jfrGWBH1beqAzEVYaKhTyMZcxLJAdaCW3Kof1DwTiTbp1DSqLae3e<br>" +
"<b>View key</b>: 23ea2ca9ab13af03af7dc0ed09304c015ce804b798d5cca3ced67cfafcdddf0a</li>" +
"<li><b>WOW</b>: Wo3yjV8UkwvbJDCB1Jy7vvXv3aaQu3K8YMG6tbY3Jo2KApfyf5RByZiBXy95bzmoR3AvPgNq6rHzm98LoHTkzjiA2dY7sqQMJ<br>" +
"<b>View key</b>: ad58e5c8392fde2f48c37c7b0eb52d20ebf4e9ce14d425b564c8f48514a4700b</li>" +
"<li><b>XMV</b>: XvyVfpAYp3zSuvdtoHgnDzMUf7GAeiumeUgVC7RTq6SfgtzGEzy4dUgfEEfD5adk1kN4dfVZdT3zZdgSD2xmVBs627Vwt2C3Ey<br>" +
"<b>View key</b>: ad1c9295af1e52cd0d2ba3f4f798f79803d4ee01882b7972b23c1c55faa32f01</li>" +
"<li><b>RYO</b>: RYoLsi22qnoKYhnv1DwHBXcGe9QK6P9zmekwQnHdUAak7adFBK4i32wFTszivQ9wEPeugbXr2UD7tMd6ogf1dbHh76G5UszE7k1<br>" +
"<b>View key</b>: 8b26c787dc35b4e3176e1d42d699bc93af5293b9a68396edd68587a93445360d</li>" +
"<li><b>XLA</b>: SvkpUizij25ZGRHGb1c8ZTAHp3VyNFU3NQuQR1PtMyCqdpoZpaYAGMfG99z5guuoktY13nrhEerqYNKXvoxD7cUM1xA6Z5rRY<br>" +
"<b>View key</b>: d4104367a7ccf2583576611b30c118b116d7ba713fd6fc0e81e470da3dd6fb0c</li>" +
"<li><b>XHV</b>: hvxyEmtbqs5TEk9U2tCxyfGx2dyGD1g8EBspdr3GivhPchkvnMHtpCR2fGLc5oEY42UGHVBMBANPge5QJ7BDXSMu1Ga2KFspQR<br>" +
"<b>View key</b>: 4f9a33dacd1e69b6a60f360204577518dc1262951504383db06b1a314c34ac02</li>" +
"<li><b>TUBE</b>: TubedBNkgkTbd2CBmLQSwW58baJNghD9xdmctiRXjrW3dE8xpUcoXimY4J5UMrnUBrUDmfQrbxRYRX9s5tQe7pWYNF2QiAdH1Fh<br>" +
"<b>View key</b>: 6dd01f142ec89d84d4f7bde52909f7949a4196a909dd53750d6ccfd9e968240d</li>" +
"<li><b>LOKI</b>: L6XqN6JDedz5Ub8KxpMYRCUoQCuyEA8EegEmeQsdP5FCNuXJavcrxPvLhpqY6emphGTYVrmAUVECsE9drafvY2hXUTJz6rW<br>" +
"<b>View key</b>: d098d01706a1d9aa2a1b025b1171fb726611301ac027aa4a9637df42f2e8fe08</li>" +
"<li><b>TRTL</b>: TRTLv2x2bac17cngo1r2wt3CaxN8ckoWHe2TX7dc8zW8Fc9dpmxAvhVX4u4zPjpv9WeALm2koBLF36REVvsLmeufZZ1Yx6uWkYG<br>" +
"<b>View key</b>: 45917d1ce55822950bfe842cde8216911d4012ac8983be84ae9ff86b2d160600</li>" +
"<li><b>XTNC</b>: XtazhSxz1bbJLpT2JuiD2UWFUJYSFty5SVWuF6sy2w9v8pn69smkUxkTVCQc8NKCd6CBMNDGzgdPRYBKaHdbgZ5SNptVH1yPCTQ<br>" +
"<b>View key</b>: N/A (not mining for a long time)</li>" +
"<li><b>IRD</b>: ir3DHyB8Ub1aAHEewMeUxQ7b7tQdWa7VL8M5oXDPohS3Me4nhwvALXM4mym2kWg9VsceT75dm6XWiWF1K4zu8RVQ1HJD8Z3R9<br>" +
"<b>View key</b>: 51c009878bebf6c0bd74cc9c0462a72d0e87a52b1e97ffa9d3773be7688d930e</li>" +
"<li><b>ARQ</b>: ar4Ha6ZQCkKRhkKQLfexv7VZQM2MhUmMmU9hmzswCPK4T3o2rbPKZM1GxEoYg4AFQsh57PsEets7sbpU958FAvxo2RkkTQ1gE<br>" +
"<b>View key</b>: ed87009c609adc6e66a4ba2e41f6a2bda95be2e453c54d8c08859e317bfc5e06</li>" +
"<li><b>XWP</b>: fh4MCJrakhWGoS6Meqp6UxGE1GNfAjKaRdPjW36rTffDiqvEq2HWEKZhrbYRw7XJb3CXxkjL3tcYGTT39m5qgjvk1ap4bVu1R<br>" +
"<b>View key</b>: 5b33addab62f45d41408b58a310fcfddf60715308c5c5a1444729c5d228ebe02</li>" +
"<li><b>XEQ</b>: Tvzp9tTmdGP9X8hCEw1Qzn18divQajJYTjR5HuUzHPKyLK5fzRt2X73FKBDzcnHMDJKdgsPhUDVrKHVcDJQVmLBg33NbkdjQb<br>" +
"<b>View key</b>: d76f65dab320b9ef36aecf025b6b9e0acccc0e6dbaa21cd0222b09c71eaa640b</li>" +
"<li><b>XTA</b>: ipN5cNhm7RXAGACP4ZXki4afT3iJ1A6Ka5U4cswE6fBPDcv8JpivurBj3vu1bXwPyb8KZEGsFUYMmToFG4N9V9G72X4WpAQ8L<br>" +
"<b>View key</b>: ffd55911bbc5efe654b60b7fcad99c0857e78ce3877d8947e8334899595d0600</li>" +
"<li><b>DERO</b>: dero1qygrgnz9gea2rqgwhdtpfpa3mvagt5uyq0g92nurwrpk6wnn7hdnzqgudsv6t<br>" +
"<b>View key</b>: 10344c45467aa1810ebb561487b1db3a85d38403d0554f8370c36d3a73f5db3101</li>" +
"<li><b>CCX</b>: ccx7dmnBBoRPuVcpKJSAVZKdSDo9rc7HVijFbhG34jsXL3qiqfRwu7A5ecem44s2rngDd8y8N4QnYK6WR3mXAcAZ5iXun9BQBx<br>" +
"<b>View key</b>: f7f9a43be2780137a2b7e3b2f9cefcc54087fa0bf33f2a5008e0225f93093b0b</li>" +
"<li><b>BLOC</b>: abLoc5iUG4a6oAb2dqygxkS5M2uHWx16zHb9fUWMzpSEDwm6T7PSq2MLdHonWZ16CGfnJKRomq75aZyviTo6ZjHeYQMzNAEkjMg<br>" +
"<b>View key</b>: 84d70052d80c4dda33f1ad34c7a6e5ee3e23defa17c6f8afbc039e9c0bfe5b0f</li>" +
"<li><b>RVN</b>: RLVJv9rQNHzXS3Zn4JH8hfAHmm1LfECMxy</li>" +
"<li><b>RTM</b>: RUCyaEZxQu3Eure73XPQ57si813RYAMQKC</li>" +
"<li><b>ERG</b>: 9fe533kUzAE57YfPP6o3nzsYMKN2W2uCxvg8KG8Vn5DDeJGetRw</li>" +
"<li><b>BTC</b>: 3HRbMgcvbqHVW7P34MNGvF2Gh3DE26iHdw</li>" +
"<li><b>BCH</b>: 18sKoDSjLCFW9kZrXuza1qzEERnKi7bx8S</li>" +
"<li><b>ETH</b>: 0xfE23a61548FCCE159a541FAe9e16cEB92Da650ed</li>" +
"<li><b>ETC</b>: 0x4480Ad73a113BEFf05B2079E38D90c9757Ecb063</li>" +
"<li><b>LTC</b>: MGj8PU1PpTNDDqRHmuEqfDpH3gxp6cJrUU</li>" +
"</ul>",
},
],
};
var COINS = {
18081: {
name: "XMR",
divisor: 1e12,
url: "https://xmrchain.net",
time: 120,
},
19734: {
name: "SUMO",
divisor: 1e9,
url: "https://explorer.sumokoin.com",
time: 240,
},
12211: {
name: "RYO",
divisor: 1e9,
url: "https://explorer.ryo-currency.com",
time: 240,
},
18981: {
name: "GRFT",
divisor: 1e10,
url: "https://blockexplorer.graft.network",
time: 120,
},
38081: {
name: "MSR",
divisor: 1e12,
url: "https://explorer.getmasari.org",
time: 60,
},
48782: {
name: "LTHN",
divisor: 1e8,
url: "https://lethean.io/explorer",
time: 120,
},
19281: {
name: "XMV",
divisor: 1e11,
url: "https://explorer.monerov.online",
time: 60,
unit: "G",
factor: 16,
},
9231: {
name: "XEQ",
divisor: 1e4,
url: "https://explorer.equilibria.network",
time: 120,
},
19950: {
name: "XWP",
divisor: 1e12,
url: "https://explorer.xwp.one",
time: 15,
unit: "G",
factor: 32,
},
8766: {
name: "RVN",
divisor: 1e8,
url: "https://ravencoin.network",
time: 60,
unit: "H",
factor: 0x10000000000000000 / 4278190080,
},
9998: {
name: "RTM",
divisor: 1e8,
url: "https://explorer.raptoreum.com",
time: 120,
},
9053: {
name: "ERG",
divisor: 1e9,
url: "https://explorer.ergoplatform.com/en",
time: 120,
unit: "H",
factor: 1,
},
8645: {
name: "ETC",
divisor: 1e18,
url: "https://etcblockexplorer.com",
time: 13,
unit: "H",
factor: 1,
},
17750: {
name: "XHV",
divisor: 1e12,
url: "https://explorer.havenprotocol.org",
time: 120,
},
25182: {
name: "TUBE",
divisor: 1e9,
url: "https://explorer.bittube.cash",
time: 15,
unit: "G",
factor: 40,
},
11812: {
name: "XLA",
divisor: 100,
url: "https://explorer.scalaproject.io",
time: 120,
},
33124: {
name: "XTNC",
divisor: 1e9,
url: "https://explorer.xtendcash.com",
time: 120,
unit: "G",
factor: 32,
},
2086: {
name: "BLOC",
divisor: 1e4,
url: "https://bloc-explorer.com",
time: 120,
},
13007: {
name: "IRD",
divisor: 1e8,
url: "https://explorer.ird.cash",
time: 175,
},
19994: {
name: "ARQ",
divisor: 1e9,
url: "https://explorer.arqma.com",
time: 120,
},
16e3: {
name: "CCX",
divisor: 1e6,
url: "https://explorer.conceal.network",
time: 120,
},
17767: {
name: "ZEPH",
divisor: 1e12,
url: "https://explorer.zephyrprotocol.com",
time: 120,
},
};
var addr = UrlVars().addr || "",
pref = "LNA",
mport = $Q.cur.port,
cookieprefix = $Q.pool.nme.replace(/[ ,;]/g, ""),
resizeTimer,
updateTimer = $Q.timer,
updateCounter,
outoffocus = 0,
now = Rnd(new Date().getTime() / 1e3),
width =
window.innerWidth ||
document.documentElement.clientWidth ||
document.body.clientWidth,
netpop_open = "",
miner_setup_open = false,
blocks_page_size = 15,
poolpay_page_size = 15,
blocks_port = mport,
$WM = {
enabled: false,
addr: "",
prev_hashes: 0,
status_timer: false,
update_sec: 2,
},
$A = {},
$C = {
TogMode: "",
Timer: "",
NetStats: "",
Addr: "",
Stage: "",
DashPayBtn: "",
AddrField: "",
TimerPie: "",
TimerText: "",
TimerRefresh: "",
},
$U = {
netstats: 0,
poolstats: 0,
news: 0,
},
$P = {},
$L = {
perc: "9 %",
thou: ",",
dec: ".",
tme: "G:i",
},
$D = {
news: {},
coins: [[]],
blocks: [],
poolpay: [],
poolstats: {},
pay: {},
blockpay: {},
netstats: {},
hashconv: {
TH: 1e12,
GH: 1e9,
MH: 1e6,
KH: 1e3,
H: 1,
},
miner_hash_avg: 0,
},
$I = {
l: '<svg viewBox="0 0 99 99"><circle opacity=".6" cx="49.5" cy="49.5" r="31.5"/><path d="M87.6 57.1L99 49.5 87.7 42l7.5-11.3L82 27.9l2.6-13.4-13.4 2.7-2.6-13.4L57 11.4 49.5 0 42 11.3 30.6 3.8 27.9 17l-13.4-2.6 2.7 13.4-13.4 2.6L11.4 42 0 49.5 11.3 57 3.8 68.4 17 71.1l-2.6 13.4 13.4-2.7 2.6 13.4L42 87.6 49.5 99 57 87.7l11.3 7.5L71.1 82l13.4 2.6-2.7-13.4 13.4-2.6L87.6 57zM49.5 80a30.5 30.5 0 1 1 0-61 30.5 30.5 0 0 1 0 61z"/></svg>',
d: '<svg viewBox="0 0 99 99"><path d="M25.2 19.6l5.3 10.6 11.7 1.7-8.5 8.3 2 11.6-10.5-5.5-10.4 5.5 2-11.6-8.5-8.3L20 30.2l5.2-10.6zm29.6-3.4l2.7 5.5 6 .9-4.3 4.2 1 6-5.4-2.8-5.5 2.9 1-6-4.3-4.3 6-1 2.8-5.4zM64.8 0A46 46 0 0 1 0 64.4 50.9 50.9 0 1 0 64.6 0z"/></svg>',
settings:
'<svg viewBox="0 0 99 99"><path d="M19.7 50.74V10.92l-6.4 1.69v38.12a16.1 16.1 0 0 0 0 31.53v4.17l6.4 1.65v-5.82a16.09 16.09 0 0 0 0-31.52zm-3.2 25.34a9.58 9.58 0 1 1 0-19.16 9.58 9.58 0 0 1 0 19.16zm36.2-59.51S52.66 0 52.7 0h-6.4v16.57a16.09 16.09 0 0 0 0 31.53V99h6.4V48.1a16.09 16.09 0 0 0 0-31.53zm-3.2 25.35a9.58 9.58 0 1 1 0-19.17 9.58 9.58 0 0 1 0 19.17zm36.2-1.18V12.62l-6.4-1.7v29.81a16.09 16.09 0 0 0 0 31.53v15.82l6.4-1.68V72.26a16.09 16.09 0 0 0 0-31.52zm-3.2 25.34a9.58 9.58 0 1 1 0-19.16 9.58 9.58 0 0 1 0 19.16z"/></svg>',
loadico:
'<svg viewBox="0 0 99 99"><path d="M49.5 0A49.5 49.5 0 0199 49.5c0 5.8-1.6 15.8-4.7 19.6a50.2 50.2 0 01-50.2 8.6c19.5 3.4 34.1-12.3 34.1-28.2a28.7 28.7 0 10-57.4 0c0 24.3 33.8 47 70.7 26.1A49.5 49.5 0 1149.5 0z"/><path opacity=".08" fill="#000" d="M44.1 77.7c41.9 5.9 60.6-41.7 35-68C91 18.9 99 33.3 99 49.6c0 5.8-1.6 15.8-4.7 19.6a50.2 50.2 0 01-50.2 8.6z"/></svg>',
arrow:
'<svg viewBox="0 0 99 99"><path d="M27 78l28-29-28-28C17 10 33-8 45 4l35 37c5 5 5 12 0 17L45 95c-12 12-29-6-18-17z"/></svg>',
check:
'<svg viewBox="0 0 99 99"><path d="M97 21l-8-9c-3-3-7-3-9 0L38 55 19 36c-2-3-6-3-8 0l-9 9c-3 3-2 7 0 9l23 24 9 9c2 3 6 3 8 0l9-9 46-48c3-3 3-7 0-9z"/></svg>',
sort: '<svg viewBox="0 0 99 99"><path d="M56 45L35 25 15 45C8 52-6 40 3 32L29 6c4-3 9-3 12 0l27 26c9 8-4 20-12 13zm-13 9l21 20 20-20c7-7 21 5 12 13L70 93c-4 3-9 3-12 0L31 67c-9-8 4-20 12-13z"/></svg>',
refresh:
'<svg viewBox="0 0 99 99"><path d="M0 55.7v31l9.2-8.5a49.5 49.5 0 0 0 89.4-22.5H86.1a37.1 37.1 0 0 1-67.7 14l15.3-14H0zM49.5 0C24.3 0 3.5 18.9.4 43.3h12.5a37.1 37.1 0 0 1 68.3-13.1L68.1 43.3H99v-31l-8.9 9A49.4 49.4 0 0 0 49.5 0z"/></svg>',
x: '<svg viewBox="0 0 99 99"><path d="M99 77L71 50l28-28L77 0 50 28 22 0 0 22l28 28L0 77l22 22 28-28 27 28"/></svg>',
delete:
'<svg viewBox="0 0 99 99"><path d="M8 28L7 15h86l-2 13H8zM31 0l-1 10h39L68 0H31zM10 33l9 66h61l9-66H10zm18 56l-3-47h8l3 47h-8zm26 0h-9V42h9v47zm17 0h-8l3-47h8l-3 47z"/></svg>',
};
$I.load = '<div class="LoadCon C1fl o9 Loader">' + $I.loadico + "</div>";
window.addEventListener("resize", function () {
Resize();
});
document.body.addEventListener(
"change",
function (e) {
var id = [
"#HeadMenu select",
"#TblPagBox",
"#AddrField",
"#AddrRecent select",
"#MinerCalcHsh",
"#MinerCalcUnit",
"#MinerCalcFld",
"#HashSelect",
"#PageSize",
"#BlockType",
"#AutoPayFld",
];
for (var i = 0; i < id.length; i++) {
var el = e.target.matches(id[i]);
if (el) {
if (id[i] === "#HeadMenu select") {
Navigate(document.querySelector(id[i]).value);
} else if (id[i] === "#TblPagBox") {
var pge = parseInt(e.target.value.replace(/\D/g, ""));
switch (e.target.getAttribute("data-func")) {
case "blocks":
dta_Blocks(pge);
break;
case "poolpay":
dta_Payments(pge);
break;
}
} else if (id[i] === "#AddrField" || id[i] === "#AddrRecent select") {
addr = document.querySelector(id[i]).value;
SaveAddr(addr, "add");
} else if (
id[i] === "#MinerCalcHsh" ||
id[i] === "#MinerCalcUnit" ||
id[i] === "#MinerCalcFld"
) {
Dash_calc();
} else if (id[i] === "#HashSelect") {
Dash_load("refresh");
} else if (id[i] === "#PageSize") {
var ps = parseInt(document.querySelector(id[i]).value);
switch (
document.getElementById("TblPagBox").getAttribute("data-func")
) {
case "blocks":
blocks_page_size = ps;
dta_Blocks(1);
break;
case "poolpay":
poolpay_page_size = ps;
dta_Payments(1);
break;
}
} else if (id[i] === "#BlockType") {
blocks_port = parseInt(document.querySelector(id[i]).value);
dta_Blocks(1);
} else if (id[i] === "#AutoPayFld") {
AutoPayCheck();
}
}
}
},
false
);
function PaymentHistoryButtonHTML() {
return (
'<div class="LR50">' +
'<div id="PaymentHistoryBtn" class="BtnElem C0' +
mde +
' txtmed C1bk C2bk_hov">' +
$$.trn.vwpy +
"</div>" +
"</div>"
);
}
function BlockPaymentHistoryButtonHTML() {
return (
'<div class="LR50">' +
'<div id="BlockPaymentHistoryBtn" class="BtnElem C0' +
mde +
' txtmed C1bk C2bk_hov">' +
$$.trn.vwpy2 +
"</div>" +
"</div>"
);
}
document.body.addEventListener(
"click",
function (e) {
var id = [
"#TogMode",
"#Timer",
"#DashPayBtn",
"#NetGraphClose",
"#NewsClose",
"#AutoPayBtn",
"#PaymentHistoryBtn",
"#BlockPaymentHistoryBtn",
"#WebMinerBtn",
"#PaymentHistoryBtnClose",
"#EmailSubscribeBtn",
"#AddrDelete",
"#WorkerPopClose",
"#WorkerSortName",
"#WorkerSortRate",
"#MinerSetupShowBtn",
"#MinerSetupHideBtn",
"#WinCmdTextArea",
"#LinCmdTextArea",
".nav",
".PagBtn",
".Worker",
".blockgroup",
".helptitle",
".helptitle2",
];
for (var i = 0; i < id.length; i++) {
var el = e.target.closest(id[i]);
if (el) {
if (id[i] === "#TogMode") {
mde = mde === "d" ? "l" : "d";
SwitchMode();
SavePref("mode", mde.toUpperCase());
} else if (id[i] === "#Timer") {
TimerLoading("on");
setTimeout(function () {
TimerUpdateData();
}, 1500);
} else if (id[i] === "#DashPayBtn") {
MinerPayments();
} else if (id[i] === "#NetGraphClose") {
netpop_open = "";
document.getElementById("GPop").classList.add("hide");
} else if (id[i] === "#NewsClose") {
document.getElementById("News").className = "hide";
setCookie("News", $D.news.created);
} else if (id[i] === "#AutoPayBtn") {
AutoPay();
} else if (id[i] === "#PaymentHistoryBtn") {
document.getElementById("PaymentHistory").innerHTML =
PaymentHistoryButtonHTML();
document.getElementById("BlockPaymentHistory").innerHTML =
BlockPaymentHistoryButtonHTML();
MinerPaymentHistory(1);
} else if (id[i] === "#BlockPaymentHistoryBtn") {
document.getElementById("PaymentHistory").innerHTML =
PaymentHistoryButtonHTML();
document.getElementById("BlockPaymentHistory").innerHTML =
BlockPaymentHistoryButtonHTML();
MinerBlockPaymentHistory(1);
} else if (id[i] === "#PaymentHistoryBtnClose") {
MinerPayments("back");
} else if (id[i] === "#EmailSubscribeBtn") {
EmailSubscribe();
} else if (id[i] === "#WebMinerBtn") {
WebMiner();
} else if (id[i] === "#MinerSetupShowBtn") {
MinerSetupScriptsBtn(true);
} else if (id[i] === "#MinerSetupHideBtn") {
MinerSetupScriptsBtn(false);
} else if (id[i] === "#WinCmdTextArea") {
document.getElementById("WinCmdTextArea").select();
document.execCommand("copy");
} else if (id[i] === "#LinCmdTextArea") {
document.getElementById("LinCmdTextArea").select();
document.execCommand("copy");
} else if (id[i] === "#AddrDelete") {
SaveAddr($C.AddrField.value, "del");
} else if (id[i] === "#WorkerPopClose") {
Workers_detail();
} else if (id[i] === "#WorkerSortName") {
SavePref("sort", "N" + el.getAttribute("data-ord"));
Workers_init();
} else if (id[i] === "#WorkerSortRate") {
SavePref("sort", "R" + el.getAttribute("data-ord"));
Workers_init();
} else if (id[i] === ".nav") {
var tar = el.getAttribute("data-tar");
if (tar == "old") {
window.location.href = "https://old.moneroocean.stream";
} else {
Navigate(tar);
}
} else if (id[i] === ".PagBtn") {
var p = parseInt(el.getAttribute("data-page"));
switch (el.getAttribute("data-func")) {
case "blocks":
dta_Blocks(p);
break;
case "poolpay":
dta_Payments(p);
break;
case "pay":
MinerPaymentHistory(p);
break;
case "blockpay":
MinerBlockPaymentHistory(p);
break;
}
} else if (id[i] === ".Worker") {
Workers_detail(el.getAttribute("data-key"));
} else if (id[i] === ".helptitle") {
var b = el.querySelector(".btnback"),
b_cl = "btnback",
c_cl = "helpcontent",
t_cl = "helpteaser";
if (b.classList.contains("rot90")) {
c_cl += " hide";
} else {
b_cl += " rot90";
t_cl += " hide";
}
b.className = b_cl;
el.parentNode.querySelector(".helpcontent").className = c_cl;
el.parentNode.querySelector(".helpteaser").className = t_cl;
} else if (id[i] === ".helptitle2") {
var b = el.querySelector(".btnback"),
b_cl = "btnback",
c_cl = "helpcontent";
if (b.classList.contains("rot90")) {
c_cl += " hide";
} else {
b_cl += " rot90";