Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ba0382b

Browse files
committed
Merge remote-tracking branch 'origin/master'
Conflicts: bin/php-proxy-stratum-daemon.php pub/php-proxy-stratum.php
2 parents 96eca57 + 31d7417 commit ba0382b

File tree

1 file changed

+42
-2
lines changed

1 file changed

+42
-2
lines changed

‎README.md‎

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,48 @@
11
# php-proxy-stratum
2-
Transparent **stratum+tcp** proxy between miners and pools.
2+
Transparent **stratum+tcp** proxy between miners and pools, with minimal web interface.
33
```
4-
$ php php-proxy-stratum.php
4+
$ php bin/php-proxy-stratum-daemon.php
55
```
6+
And feel free to connect your miners to your port ```3333```, also you can configure your webserver with ```pub/``` as the document root and ```php-proxy-stratum.php``` as the index file.
7+
8+
Currently the web interface have auto refresh and a snapshot may look like (yes, is just json output):
9+
```
10+
2015年11月17日 01:46:12
11+
wtfisconnected
12+
{
13+
"result": [
14+
{
15+
"user": "analpaper.2",
16+
"version": "cgminer\/4.8.0",
17+
"since": "2015年11月17日T01:36:26+0000",
18+
"pool": [
19+
"eu.stratum.bitcoin.cz",
20+
3333,
21+
"analpaper.0",
22+
"x"
23+
],
24+
"pending": [],
25+
"diff": 2940,
26+
"5min GHps avg": "5.440,40"
27+
},
28+
{
29+
"user": "analpaper.3",
30+
"version": "cgminer\/4.8.0",
31+
"since": "2015年11月17日T01:36:10+0000",
32+
"pool": [
33+
"eu.stratum.bitcoin.cz",
34+
3333,
35+
"analpaper.0",
36+
"x"
37+
],
38+
"pending": [],
39+
"diff": 903,
40+
"5min GHps avg": "1.194,73"
41+
}
42+
]
43+
}
44+
```
45+
646
Enjoy:exclamation:
747

848
#### Very special thanks to:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /