-
Notifications
You must be signed in to change notification settings - Fork 0
/
networks.py
889 lines (883 loc) · 41.2 KB
/
networks.py
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
from p2pool.bitcoin import networks
from p2pool.util import math
# CHAIN_LENGTH = number of shares back client keeps
# REAL_CHAIN_LENGTH = maximum number of shares back client uses to compute payout
# REAL_CHAIN_LENGTH must always be <= CHAIN_LENGTH
# REAL_CHAIN_LENGTH must be changed in sync with all other clients
# changes can be done by changing one, then the other
nets = dict(
bitcoin=math.Object(
PARENT=networks.nets['bitcoin'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=3, # blocks
IDENTIFIER='fd70035c7a81bc6f'.decode('hex'),
PREFIX='24s2ef181efcd37b'.decode('hex'),
P2P_PORT=12024,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=True,
WORKER_PORT=12345,
BOOTSTRAP_ADDRS='forre.st vps.forre.st portals94.ns01.us 54.227.25.14 119.1.96.99 204.10.105.113 76.104.150.248 89.71.151.9 76.114.13.54 72.201.24.106 79.160.2.128 207.244.175.195 168.7.116.243 94.23.215.27 218.54.45.177 5.9.157.150 78.155.217.76 91.154.90.163 173.52.43.124 78.225.49.209 220.135.57.230 169.237.101.193:8335 98.236.74.28 204.19.23.19 98.122.165.84:8338 71.90.88.222 67.168.132.228 193.6.148.18 80.218.174.253 50.43.56.102 68.13.4.106 24.246.31.2 176.31.208.222 1.202.128.218 86.155.135.31 204.237.15.51 5.12.158.126:38007 202.60.68.242 94.19.53.147 65.130.126.82 184.56.21.182 213.112.114.73 218.242.51.246 86.173.200.160 204.15.85.157 37.59.15.50 62.217.124.203 80.87.240.47 198.61.137.12 108.161.134.32 198.154.60.183:10333 71.39.52.34:9335 46.23.72.52:9343 83.143.42.177 192.95.61.149 144.76.17.34 46.65.68.119 188.227.176.66:9336 75.142.155.245:9336 213.67.135.99 76.115.224.177 50.148.193.245 64.53.185.79 80.65.30.137 109.126.14.42 76.84.63.146'.split(' '),
ANNOUNCE_CHANNEL='#Digicoinp2p',
VERSION_CHECK=lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v,
VERSION_WARNING=lambda v: 'Upgrade Bitcoin to >=0.8.5!' if v < 80500 else None,
),
bitcoin_testnet=math.Object(
PARENT=networks.nets['bitcoin_testnet'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=60*60//10, # shares
REAL_CHAIN_LENGTH=60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=3, # blocks
IDENTIFIER='5fc2be2d4f0d6bfb'.decode('hex'),
PREFIX='3f6057a15036f441'.decode('hex'),
P2P_PORT=19333,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=19332,
BOOTSTRAP_ADDRS='forre.st vps.forre.st liteco.in'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: 50700 <= v < 60000 or 60010 <= v < 60100 or 60400 <= v,
),
myriadcoin=math.Object(
PARENT=networks.nets['myriadcoin'],
SHARE_PERIOD=10, # seconds
NEW_SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=50, # shares //with that the pools share diff is adjusting faster, important if huge hashing power comes to the pool
SPREAD=30, # blocks
NEW_SPREAD=30, # blocks
IDENTIFIER='fc70135c700a00ee'.decode('hex'),
PREFIX='9472ef181e88efcb'.decode('hex'),
P2P_PORT=5577,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True,
WORKER_PORT=5578,
BOOTSTRAP_ADDRS='birdspool.no-ip.org'.split(' '),
#ANNOUNCE_CHANNEL='#p2pool',
VERSION_CHECK=lambda v: True,
),
litecoin=math.Object(
PARENT=networks.nets['litecoin'],
SHARE_PERIOD=15, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=3, # blocks
IDENTIFIER='e037d5b8c6923410'.decode('hex'),
PREFIX='7208c1a53ef629b0'.decode('hex'),
P2P_PORT=9338,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True,
WORKER_PORT=9327,
BOOTSTRAP_ADDRS='forre.st vps.forre.st liteco.in 95.211.21.103 37.229.117.57 66.228.48.21 180.169.60.179 112.84.181.102 74.214.62.115 209.141.46.154 78.27.191.182 66.187.70.88 88.190.223.96 78.47.242.59 158.182.39.43 180.177.114.80 216.230.232.35 94.231.56.87 62.38.194.17 82.67.167.12 183.129.157.220 71.19.240.182 216.177.81.88 109.106.0.130 113.10.168.210 218.22.102.12 85.69.35.7:54396 201.52.162.167 95.66.173.110:8331 109.65.171.93 95.243.237.90 208.68.17.67 87.103.197.163 101.1.25.211 144.76.17.34 209.99.52.72 198.23.245.250 46.151.21.226 66.43.209.193 59.127.188.231 178.194.42.169 85.10.35.90 110.175.53.212 98.232.129.196 116.228.192.46 94.251.42.75 195.216.115.94 24.49.138.81 61.158.7.36 213.168.187.27 37.59.10.166 72.44.88.49 98.221.44.200 178.19.104.251 87.198.219.221 85.237.59.130:9310 218.16.251.86 151.236.11.119 94.23.215.27 60.190.203.228 176.31.208.222 46.163.105.201 198.84.186.74 199.175.50.102 188.142.102.15 202.191.108.46 125.65.108.19 15.185.107.232 108.161.131.248 188.116.33.39 78.142.148.62 69.42.217.130 213.110.14.23 185.10.51.18 74.71.113.207 77.89.41.253 69.171.153.219 58.210.42.10 174.107.165.198 50.53.105.6 116.213.73.50 83.150.90.211 210.28.136.11 86.58.41.122 70.63.34.88 78.155.217.76 68.193.128.182 198.199.73.40 193.6.148.18 188.177.188.189 83.109.6.82 204.10.105.113 64.91.214.180 46.4.74.44 98.234.11.149 71.189.207.226'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-ltc',
VERSION_CHECK=lambda v: True,
VERSION_WARNING=lambda v: 'Upgrade Litecoin to >=0.8.5.1!' if v < 80501 else None,
),
litecoin_testnet=math.Object(
PARENT=networks.nets['litecoin_testnet'],
SHARE_PERIOD=4, # seconds
CHAIN_LENGTH=20*60//3, # shares
REAL_CHAIN_LENGTH=20*60//3, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=3, # blocks
IDENTIFIER='cca5e24ec6408b1e'.decode('hex'),
PREFIX='ad9614f6466a39cf'.decode('hex'),
P2P_PORT=19338,
MIN_TARGET=2**256//50 - 1,
MAX_TARGET=2**256//50 - 1,
PERSIST=False,
WORKER_PORT=19327,
BOOTSTRAP_ADDRS='forre.st vps.forre.st'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
terracoin=math.Object(
PARENT=networks.nets['terracoin'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=24*60*60//30, # shares
REAL_CHAIN_LENGTH=24*60*60//30, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=15, # blocks
IDENTIFIER='a41b2356a1b7d46e'.decode('hex'),
PREFIX='5623b62178d2b9b3'.decode('hex'),
P2P_PORT=9323,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=True,
WORKER_PORT=9322,
BOOTSTRAP_ADDRS='seed1.p2pool.terracoin.org seed2.p2pool.terracoin.org forre.st vps.forre.st 93.97.192.93 66.90.73.83 67.83.108.0 219.84.64.174 24.167.17.248 109.74.195.142 83.211.86.49 94.23.34.145 168.7.116.243 94.174.40.189:9344 89.79.79.195 portals94.ns01.us'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: 80002 <= v,
VERSION_WARNING=lambda v: 'Upgrade Terracoin to >= 0.8.0.2!' if v < 80002 else None,
),
terracoin_testnet=math.Object(
PARENT=networks.nets['terracoin_testnet'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=60*60//30, # shares
REAL_CHAIN_LENGTH=60*60//30, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=15, # blocks
IDENTIFIER='b41b2356a5b7d35d'.decode('hex'),
PREFIX='1623b92172d2b8a2'.decode('hex'),
P2P_PORT=19323,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=19322,
BOOTSTRAP_ADDRS='seed1.p2pool.terracoin.org seed2.p2pool.terracoin.org forre.st vps.forre.st'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
VERSION_WARNING=lambda v: 'Upgrade Terracoin to >= 0.8.0.1!' if v < 80001 else None,
),
stablecoin=math.Object(
PARENT=networks.nets['stablecoin'],
SHARE_PERIOD=20,
CHAIN_LENGTH=12*60*60//20,
REAL_CHAIN_LENGTH=12*60*60//20,
TARGET_LOOKBEHIND=20,
SPREAD=5, # blocks
IDENTIFIER='e00007b8c60242af'.decode('hex'),
PREFIX='b666601991aa19a2'.decode('hex'),
P2P_PORT=7979,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=7977,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
zetacoin=math.Object(
PARENT=networks.nets['zetacoin'],
SHARE_PERIOD=20, # seconds
CHAIN_LENGTH=12*60*60//20, # shares
REAL_CHAIN_LENGTH=12*60*60//20, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=100, # blocks
IDENTIFIER='fee2135c7a81bddd'.decode('hex'),
PREFIX='ccc22f181efcd444'.decode('hex'),
P2P_PORT=9174,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=True,
WORKER_PORT=9374,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-zet',
VERSION_CHECK=lambda v: True,
),
feathercoin=math.Object(
PARENT=networks.nets['feathercoin'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=10, # blocks
IDENTIFIER='cc6561bb6865ff21'.decode('hex'),
PREFIX='aa31010baff4729a'.decode('hex'),
P2P_PORT=9339,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9357,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
digitalcoin=math.Object(
PARENT=networks.nets['digitalcoin'],
SHARE_PERIOD=10, # seconds target spacing
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares coinbase maturity
SPREAD=45, # blocks
IDENTIFIER='797EC5BC40AFA22E'.decode('hex'),
PREFIX='23CD74AF85036A9F'.decode('hex'),
P2P_PORT=23610,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=8810,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org xpool.net'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
worldcoin=math.Object(
PARENT=networks.nets['worldcoin'],
SHARE_PERIOD=15, # seconds target spacing
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares coinbase maturity
SPREAD=30, # blocks
IDENTIFIER='e021a7b8c602421f'.decode('hex'),
PREFIX='e280193ae6b8617b'.decode('hex'),
P2P_PORT=8377,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9377,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org 198.23.244.216:48907 178.94.109.250:48907 61.144.91.38:48907 173.67.61.119:8541 66.71.246.74:48907 178.94.42.157:48907 37.11.46.125:48907 66.172.10.55:48907 67.189.26.97:48907 178.94.105.190:48907 207.12.89.101:48907 110.174.192.158:48907 93.186.200.124:48907 216.177.81.88:48907 202.104.41.58:48907 76.74.238.175:18122 113.240.247.242:48907 37.11.60.222:48907 199.188.206.150:48907 113.240.247.246:48907 54.229.16.203:48907 78.27.191.182:18122 195.56.77.176:48907 93.186.200.124:18122 128.220.147.219:8541 76.74.238.175:48907 37.11.40.94:48907 173.67.61.119:8535 62.75.216.94:48907 212.48.67.50:8336 97.74.42.79:48907 0.0.0.0:48807 212.48.67.50:48907 207.12.89.112:48907 78.27.191.182:48907 216.177.81.88:48807 113.243.46.173:48907 66.172.10.55:19331'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
casinocoin=math.Object(
PARENT=networks.nets['casinocoin'],
SHARE_PERIOD=5, # seconds target spacing
CHAIN_LENGTH=3*60*60//5, # shares (3 hr PPLNS)
REAL_CHAIN_LENGTH=3*60*60//5, # shares (3 hr PPLNS)
TARGET_LOOKBEHIND=60, # shares coinbase maturity (5 min diff adj)
SPREAD=60, # blocks (share valid up to 60 blocks - better for smaller miners)
IDENTIFIER='7696C5EF0B281C2F'.decode('hex'),
PREFIX='4C2E2CD651764B9F'.decode('hex'),
P2P_PORT=23640,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=8840,
BOOTSTRAP_ADDRS='csc.xpool.net bigiron.homelinux.com p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
doubloons=math.Object(
PARENT=networks.nets['doubloons'],
SHARE_PERIOD=5, # seconds target spacing
CHAIN_LENGTH=12*60*60//5, # shares
REAL_CHAIN_LENGTH=12*60*60//5, # shares
TARGET_LOOKBEHIND=20, # blocks
SPREAD=30, # blocks
IDENTIFIER='fe43a6b9f6924a10'.decode('hex'),
PREFIX='fe8f19aba6d7729a'.decode('hex'),
P2P_PORT=8346,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=8345,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
bytecoin=math.Object(
PARENT=networks.nets['bytecoin'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=24*60*60//30, # shares
REAL_CHAIN_LENGTH=24*60*60//30, # shares
TARGET_LOOKBEHIND=10, # shares
SPREAD=12, # blocks
IDENTIFIER='b3f956dceaab0c5d'.decode('hex'),
PREFIX='2671ae5f267aafb6'.decode('hex'),
P2P_PORT=8743,
PERSIST=False,
WORKER_PORT=9743,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
asiccoin=math.Object(
PARENT=networks.nets['asiccoin'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=3, # blocks
IDENTIFIER='2c80035c7a81bc6f'.decode('hex'),
PREFIX='2472ef181efcd37c'.decode('hex'),
P2P_PORT=7432,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=9433,
BOOTSTRAP_ADDRS='japool.com:13432 p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-asc',
VERSION_CHECK=lambda v: True,
),
joulecoin=math.Object(
PARENT=networks.nets['joulecoin'],
SHARE_PERIOD=20, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=10, # blocks
IDENTIFIER='ac556af4e900ca61'.decode('hex'),
PREFIX='16ac009e4fa655ac'.decode('hex'),
P2P_PORT=7844,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=9844,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
unobtanium=math.Object(
PARENT=networks.nets['unobtanium'],
SHARE_PERIOD=30, # seconds
CHAIN_LENGTH=12*60*60//30, # shares
REAL_CHAIN_LENGTH=12*60*60//30, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=20, # blocks
IDENTIFIER='ab0b4afb40b4ca61'.decode('hex'),
PREFIX='b6a4b09e04a6504c'.decode('hex'),
P2P_PORT=8655,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=9655,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
dogecoin=math.Object(
PARENT=networks.nets['dogecoin'],
SHARE_PERIOD=15, # seconds target spacing
CHAIN_LENGTH=12*60*60//15, # shares
REAL_CHAIN_LENGTH=12*60*60//15, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=10, # blocks
IDENTIFIER='D0D1D2D3B2F68CD9'.decode('hex'),
PREFIX='D0D3D4D541C11DD9'.decode('hex'),
P2P_PORT=8555,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True,
WORKER_PORT=9555,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
billioncoin=math.Object( #565
PARENT=networks.nets['billioncoin'],
SHARE_PERIOD=15, # seconds target spacing
CHAIN_LENGTH=12*60*60//15, # shares
REAL_CHAIN_LENGTH=12*60*60//15, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=10, # blocks
IDENTIFIER='ccaa00ddff2211de'.decode('hex'),
PREFIX='fd44a21f66ac7709'.decode('hex'),
P2P_PORT=8565,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9565,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
mooncoin=math.Object( #565
PARENT=networks.nets['mooncoin'],
SHARE_PERIOD=25, # seconds target spacing
CHAIN_LENGTH=12*60*60//25, # shares
REAL_CHAIN_LENGTH=12*60*60//25, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=10, # blocks
IDENTIFIER='e8e8c0c0f7f7f9f9'.decode('hex'),
PREFIX='c0c0e8e8f7f7f9f9'.decode('hex'),
P2P_PORT=8664,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9664,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
catcoin=math.Object(
PARENT=networks.nets['catcoin'],
SHARE_PERIOD=15, # seconds target spacing
CHAIN_LENGTH=12*60*60//15, # shares
REAL_CHAIN_LENGTH=12*60*60//15, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=10, # blocks
IDENTIFIER='cacacacae0e0e0e0'.decode('hex'),
PREFIX='fefecfcf0e0f3434'.decode('hex'),
P2P_PORT=8333,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9333,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
dubstepcoin=math.Object(
PARENT=networks.nets['dubstepcoin'],
SHARE_PERIOD=25, # seconds target spacing
CHAIN_LENGTH=12*60*60//25, # shares
REAL_CHAIN_LENGTH=12*60*60//25, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=20, # blocks
IDENTIFIER='dcb7c1fcfbc0b6db'.decode('hex'),
PREFIX='bd6b0cbcffc1f0fd'.decode('hex'),
P2P_PORT=8033,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9033,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
monacoin=math.Object(
PARENT=networks.nets['monacoin'],
SHARE_PERIOD=15, # seconds target spacing
CHAIN_LENGTH=12*60*60//15, # shares
REAL_CHAIN_LENGTH=12*60*60//15, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=50, # blocks
IDENTIFIER='fbc0fbc0b6b6dbdb'.decode('hex'),
PREFIX='dbb6dbb6c0c0fbfb'.decode('hex'),
P2P_PORT=8904,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9904,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
luckycoin=math.Object(
PARENT=networks.nets['luckycoin'],
SHARE_PERIOD=10,
CHAIN_LENGTH=12*60*60//10,
REAL_CHAIN_LENGTH=12*60*60//10,
TARGET_LOOKBEHIND=20,
SPREAD=50,
IDENTIFIER='cdbb6c0fbc0b6dcb'.decode('hex'),
PREFIX='bbcd0f0f6d6dbcbc'.decode('hex'),
P2P_PORT=8817,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9817,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
giftcoin=math.Object(
PARENT=networks.nets['giftcoin'],
SHARE_PERIOD=10,
CHAIN_LENGTH=12*60*60//10,
REAL_CHAIN_LENGTH=12*60*60//10,
TARGET_LOOKBEHIND=20,
SPREAD=50,
IDENTIFIER='f0e77e5ea777f087'.decode('hex'),
PREFIX='aafe077ab57af772'.decode('hex'),
P2P_PORT=8777,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9777,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
pesetacoin=math.Object(
PARENT=networks.nets['pesetacoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='c0e0b0c0e0b0ffff'.decode('hex'),
PREFIX='e0e0c0c0b0b0eeee'.decode('hex'),
P2P_PORT=8637,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9637,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
coinye=math.Object(
PARENT=networks.nets['coinye'],
SHARE_PERIOD=15, # seconds
CHAIN_LENGTH=3*60*60//10, # shares
REAL_CHAIN_LENGTH=3*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=10, # blocks
IDENTIFIER='D0D1F1D3B2F68CDD'.decode('hex'),
PREFIX='F2D3D4D541C11DDD'.decode('hex'),
P2P_PORT=8557,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9557,
BOOTSTRAP_ADDRS='us-east1.cryptovein.com p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dndns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
lennycoin=math.Object(
PARENT=networks.nets['lennycoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='c1e2b3c4e0b5fefe'.decode('hex'),
PREFIX='e2e3c4c5b7b9e1ec'.decode('hex'),
P2P_PORT=8556,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9556,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
aliencoin=math.Object(
PARENT=networks.nets['aliencoin'],
SHARE_PERIOD=5, # seconds
CHAIN_LENGTH=12*60*60//5, # shares
REAL_CHAIN_LENGTH=12*60*60//5, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='cdfae2f0cf11040f'.decode('hex'),
PREFIX='c6fa0eb62b2524fa'.decode('hex'),
P2P_PORT=8241,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9241,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
usde=math.Object(
PARENT=networks.nets['usde'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='1f28fcfe0d56a1a1'.decode('hex'),
PREFIX='f163e0ac2fe68af2'.decode('hex'),
P2P_PORT=8448,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9448,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
rpcoin=math.Object(
PARENT=networks.nets['rpcoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='faf1e34fb0c7ef21'.decode('hex'),
PREFIX='e0ff56a1340e56f1'.decode('hex'),
P2P_PORT=8127,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9127,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
polcoin=math.Object(
PARENT=networks.nets['polcoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//30, # shares
REAL_CHAIN_LENGTH=12*60*60//30, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='f1f2f3aaa512598f'.decode('hex'),
PREFIX='e1e2e3b4381a47a0'.decode('hex'),
P2P_PORT=8883,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=9883,
BOOTSTRAP_ADDRS='wojenny.no-ip.biz wojenny2.no-ip.biz wojenny3.no-ip.biz p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dndns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
coin42=math.Object(
PARENT=networks.nets['coin42'],
SHARE_PERIOD=5, # seconds
CHAIN_LENGTH=12*60*60//5, # shares
REAL_CHAIN_LENGTH=12*60*60//5, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='ff42c01442c0c0ff'.decode('hex'),
PREFIX='ee42c014aa42c014'.decode('hex'),
P2P_PORT=8042,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9042,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
foxcoin=math.Object(
PARENT=networks.nets['foxcoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='fcfcd9d9b7b7dddd'.decode('hex'),
PREFIX='ddcfb7d9fcb7ddd9'.decode('hex'),
P2P_PORT=8199,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9199,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
argentum=math.Object(
PARENT=networks.nets['argentum'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='6d3511cbbed25932'.decode('hex'),
PREFIX='f63832c5c86038dd'.decode('hex'),
P2P_PORT=18012,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=8012,
BOOTSTRAP_ADDRS='p2pool.name p2poolmining.org althash.com coinworld.us p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
smartcoin=math.Object(
PARENT=networks.nets['smartcoin'],
SHARE_PERIOD=5, # seconds
CHAIN_LENGTH=12*60*60//5, # shares
REAL_CHAIN_LENGTH=12*60*60//5, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='defadefaced0ced0'.decode('hex'),
PREFIX='d0cededefafac0ce'.decode('hex'),
P2P_PORT=8585,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9585,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
kittehcoin=math.Object(
PARENT=networks.nets['kittehcoin'],
SHARE_PERIOD=5, # seconds
CHAIN_LENGTH=12*60*60//5, # shares
REAL_CHAIN_LENGTH=12*60*60//5, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='c0c1c2e3e6e9f1ab'.decode('hex'),
PREFIX='f1c3e9a023e0f078'.decode('hex'),
P2P_PORT=8566,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True,
WORKER_PORT=9566,
BOOTSTRAP_ADDRS='lovok.no-ip.com taken.pl meow-il.zapto.org p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: 80602 <= v,
VERSION_WARNING=lambda v: 'Upgrade KittehCoin to >= 0.8.6.2!' if v < 80602 else None,
),
leafcoin=math.Object(
PARENT=networks.nets['leafcoin'],
SHARE_PERIOD=10, # seconds target spacing
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=50, # blocks
IDENTIFIER='fc656166636f696e'.decode('hex'),
PREFIX='fe636f696e6c656a'.decode('hex'),
P2P_PORT=8166,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9166,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
ekrona=math.Object(
PARENT=networks.nets['ekrona'],
SHARE_PERIOD=10, # seconds target spacing
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=50, # blocks
IDENTIFIER='fe656b726f6e61fe'.decode('hex'),
PREFIX='fc656b726f6e61fd'.decode('hex'),
P2P_PORT=8344,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9344,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
reddcoin=math.Object(
PARENT=networks.nets['reddcoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='aad90ef5c6caba7e'.decode('hex'),
PREFIX='de161ae1bc2e58a0'.decode('hex'),
P2P_PORT=8443,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9443,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org redd.freily.com'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
tigercoin=math.Object(
PARENT=networks.nets['tigercoin'],
SHARE_PERIOD=5, # seconds
CHAIN_LENGTH=12*60*60//5, # shares
REAL_CHAIN_LENGTH=12*60*60//5, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='b5fafab5dbfdfdd5'.decode('hex'),
PREFIX='d5fddf5bb5faaffd'.decode('hex'),
P2P_PORT=8660,
MIN_TARGET=0,
MAX_TARGET=2**256//2**32 - 1,
PERSIST=False,
WORKER_PORT=9660,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org japool.com'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
frycoin=math.Object(
PARENT=networks.nets['frycoin'],
SHARE_PERIOD=10, # seconds target spacing
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=50, # blocks
IDENTIFIER='fd467279436f696e'.decode('hex'),
PREFIX='fe436f696e465259'.decode('hex'),
P2P_PORT=8900,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9900,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
digibyte=math.Object(
PARENT=networks.nets['digibyte'],
SHARE_PERIOD=10, # seconds target spacing
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares diff regulation
SPREAD=50, # blocks
IDENTIFIER='48a4ebc31b798115'.decode('hex'),
PREFIX='5685a276c2dd81db'.decode('hex'),
P2P_PORT=8022,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9022,
BOOTSTRAP_ADDRS='p2p.mine.bz pool2eu.dgbmining.com dgbpool.cloudapp.net pool2na.dgbmining.com pool2me.dgbmining.com p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
antikeiser=math.Object(
PARENT=networks.nets['antikeiser'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=50, # blocks
IDENTIFIER='a0ffe405a16b99fa'.decode('hex'),
PREFIX='afa00aeffe4004b9'.decode('hex'),
P2P_PORT=8918,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9918,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
polishcoin=math.Object(
PARENT=networks.nets['polishcoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=4*60*60//10, # shares
REAL_CHAIN_LENGTH=4*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=120, # blocks
IDENTIFIER='a0ffe405a16b99fb'.decode('hex'),
PREFIX='afa00aeffe4004c9'.decode('hex'),
P2P_PORT=4823,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9995,
BOOTSTRAP_ADDRS='p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl polishcoin.info pcc.paybtc.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
Coin=math.Object(
PARENT=networks.nets['Coin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=12*60*60//10, # shares
REAL_CHAIN_LENGTH=12*60*60//10, # shares
TARGET_LOOKBEHIND=20, # shares
SPREAD=30, # blocks
IDENTIFIER='a0cfe405c16bc9cb'.decode('hex'),
PREFIX='afcc0aecfe4c04c9'.decode('hex'),
P2P_PORT=24001,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=24002,
BOOTSTRAP_ADDRS='p2pool-us.coin-project.org p2pool-eu.coin-project.org p2pool-eu.gotgeeks.com p2pool-us.gotgeeks.com rav3n.dtdns.net doge.dtdns.net pool.hostv.pl p2pool.org p2pool.gotgeeks.com p2pool.dtdns.net solidpool.org taken.pl polishcoin.info pcc.paybtc.pl'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
fckbankscoin=math.Object(
PARENT=networks.nets['fckbankscoin'],
SHARE_PERIOD=10, # seconds #How often should P2Pool generate a new share (rule of thumb: 1/5 - 1/10 of the block period)
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares #CHAIN_LENGTH & REAL_CHAIN_LENGTH are set up to allow for 3 Hour PPLNS.
TARGET_LOOKBEHIND=30, # is set to 30 (shares) giving a 300 second (5min) difficulty adjustment.
SPREAD=30, # blocks #SPREAD=30 block every 60 seconds 600/60=10 10x3=30 because bitcoin's SPREAD=3 block every 600 seconds and litecoin'sSPREAD=12 block every 150 seconds 600/150=4 4x3=12
IDENTIFIER='41a7d0b44d0b3d36'.decode('hex'), #some random s-it (I think its used to identify others p2pool's mining this coin)
PREFIX='9117d0b44d0538cf'.decode('hex'), #IDENTIFIER & PREFIX: P2Pool will only sync with other nodes who have Identifier and Prefix matching yours (and using same p2p port).. if any of the above values change, a new identifier & prefix need to be created in order to prevent problems.
P2P_PORT=11779, #port that p2pool is comunicating on with other p2pools
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True, #this value tells the p2pool if it should mine solo or connect to other p2pools.
WORKER_PORT=19334,
BOOTSTRAP_ADDRS='hashattack.com b1czu.sytes.net 37.139.19.246'.split(' '), #here we need to add working p2pool fck nodes to allow others connecting
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: 10000 <= v,
VERSION_WARNING=lambda v: 'Upgrade FCKbankscoin to >=1.0.0.0!' if v < 10000 else None,
),
)
for net_name, net in nets.iteritems():
net.NAME = net_name