forked from c00w/bitHopper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
84 lines (54 loc) · 3.04 KB
/
README
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
# License
bitHopper by Colin Rice is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License. Based on a work at
github.com.
# Instructions
In order to run bithopper you need twisted phython and pyopenssl installed with Python 2.7 (recommended):
http://python.org/download/
https://launchpad.net/pyopenssl/+download
http://pypi.python.org/pypi/zope.interface (for Windows)
http://twistedmatrix.com/trac
Copy "user.cfg.default" to a new file called "user.cfg" then modify the new
file to include your pool worker usernames and passwords, instead of mine.
Run "python bitHopper.py". After script updates info, please check if new pools
have been added correctly if not edit your "user.cfg" accordingly.
If you don't want to use a pool give it an invalid password (WARNING: some pools
ignore passwords from miners!), or go to http://localhost:8337/stats and switch its
role to disable, or just delete it from "user.cfg".
BitHopper listens on loopback interface so you should direct your miner to
localhost:8337 with any username and password (not blank).
BitHopper status page: http://localhost:8337/stats
# Windows installation
Download and install:
https://launchpad.net/pyopenssl
http://pypi.python.org/pypi/zope.interface
http://twistedmatrix.com/trac
Then follow the above instructions
# Switches
You can launch bH with the following parameters:
--list = List servers
--disable = Servers to disable. Get name from --list. Servera,Serverb,Serverc
--port = Port to listen on
--scheduler = Select an alternate scheduler
--listschedulers = List alternate schedulers available
--threshold = Override difficulty threshold (default 0.43)
--altslicesize = Override Default AltSliceScheduler Slice Size of 900
--altminslicesize = Override Default Minimum Pool Slice Size of 60 (AltSliceScheduler only)
--altslicejitter = Add some random variance to slice size, disabled by default (AltSliceScheduler only)
--startLP = Seeds the LP module with known pools.
--noLP = Turns off client side longpolling
--debug = Use twisted output
# Available Schedulers:
DefaultScheduler
The time based default scheduler. All that matters is time and it tries to be completely fair across all pools. A little less effective but thoroughly debugged.
AltSliceScheduler
Tries to be more aggressive at switching pools when thresholds are met rather than finishing a slice. Can be used with --altslicesize=xxx --altminslicesize=xxx (where you replace x with a number for slice size and min). Also slice size can be used with --altslicejitter=xx which adds some random variance to slice size. There can be issues with failing to re-slice often enough.
RoundTimeScheduler
Not currently in use.
RoundTimeDynamicPenaltyScheduler
Not currently in use.
# More help
You can go to https://github.com/c00w/bitHopper/wiki and start reading the bitHopper wiki or ask for help in the oficial forum
at https://bitcointalk.org/index.php?topic=26866
#Donations
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX