Pfool (OP)
|
|
July 02, 2014, 02:54:07 PM |
|
cloud add muti-profies? can change profie live?
Could you expand on that ?
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
Pfool (OP)
|
|
July 03, 2014, 04:01:32 PM |
|
0.4.0 version released: https://github.com/Stratehm/stratum-proxy/releases/tag/0.4.0-Add a GUI available by default at http://127.0.0.1:8888-Add the --validate-sha256-getowrk-shares option to check the share validity of getwork miners before submitting to a pool. If share is not valid, it is not submitted. Only works for sha256 based pool. -Fix a bug on the timer task management (may lead to some odd behaviors) -Add some missing headers to Getwork responses -Add isEnabled pool configuration property in configuration file. -Fix an exception with --help option -Fix an Exception on pool reconnection -Fix the timer tasks cancel (general stability) -Fix getwork job no more updated after a while. Several Getwork connections where created when getwork requests are received in burst. -Add --conf-file (-f) option on command line to use a configuration file (sample files available in the package). -Send a reply on worker subscribe extranonce request (Stratum). -Improve error management on getwork connections. -Fix some pool reconnection problem (an issue is still openned). -Add a NeoDatis database to store hashrate history for users and pools. -Update dependencies versions. -Add midstate and hash1 in getwork resposne for old SHA256 miners. -Fix a bug when shutdown is requested. Example of the GUI:
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
cayars
|
|
July 03, 2014, 04:40:16 PM |
|
First off. Very nice JOB!
I'm confused by the graph.
It appears to be showing the hashrate but instead it is plotting the TOTAL SHARES or something.
I was just testing JHA (JackPot Coin) with 3 GPUs and it's showing over 400G hashrate in the graph (I wish).
Also I noticed it if you click on the Pool menu multiple times it keeps adding the same pool over and over to the webpage.
Carlo
|
|
|
|
Pfool (OP)
|
|
July 03, 2014, 05:20:32 PM |
|
First off. Very nice JOB!
I'm confused by the graph.
It appears to be showing the hashrate but instead it is plotting the TOTAL SHARES or something.
I was just testing JHA (JackPot Coin) with 3 GPUs and it's showing over 400G hashrate in the graph (I wish).
Also I noticed it if you click on the Pool menu multiple times it keeps adding the same pool over and over to the webpage.
Carlo
The graph display a capture of the hashrate every minute (but can be modified with command line option --hashrate-database-sampling-period or hashrateDatabaseSamplingPeriod of the configuration file). The hashrate is computed based on the submitted shares difficulty over 10 minutes (but can be modified with command line option --pool-hashrate-sampling-period or poolHashrateSamplingPeriod of the configuration file. It seems that the Jackpot coin has a different difficulty-one target from bitcoin (the default proxy configuration). You may add the --scrypt option on your command line (or isScrypt in the configuration file) to modify this target and check if the reported hashrate is fine. If it does not solve the problem, I will add an option to modify the difficulty-one target for jackpot coin (or I will think about a better solution). In conclusion, try the --scrypt option. If it works, you can clear the hashrate database by removing the database folder in your proxy installation directory. Thank you for the pool menu button bug report. I will look at it.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
denned
Newbie
Offline
Activity: 50
Merit: 0
|
|
July 03, 2014, 06:13:30 PM |
|
work with getwork pool?
|
|
|
|
Pfool (OP)
|
|
July 03, 2014, 07:01:44 PM |
|
work with getwork pool?
No. Only stratum pools to stratum/getwork miners.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
arawrpc
Newbie
Offline
Activity: 41
Merit: 0
|
|
July 04, 2014, 06:49:16 AM |
|
Could this be made to work similar to the Stratum that betarigs uses?
|
|
|
|
Pfool (OP)
|
|
July 04, 2014, 01:57:05 PM |
|
Similar to betaris ? I do not understand
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
djbert
Member
Offline
Activity: 462
Merit: 10
|
|
July 04, 2014, 02:16:37 PM |
|
Similar to betaris ? I do not understand
They meant here.... https://www.betarigs.com/I ran into issues using your proxy on that site, but that was like the first version you had. I haven't tried since then, since I am back and running on nicehash again
|
|
|
|
qiufeng
Newbie
Offline
Activity: 59
Merit: 0
|
|
July 04, 2014, 03:08:22 PM |
|
cloud add muti-profies? can change profie live?
Could you expand on that ? i mean can add profies live, use your web ? and can active which profie to use or off
|
|
|
|
Pfool (OP)
|
|
July 04, 2014, 03:29:55 PM |
|
You can configure several pools and enable/disable them at demand through the API. You can also add/remove pools through this API. All these features will soon be integrated in the web client.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
not.you
Legendary
Offline
Activity: 1726
Merit: 1018
|
|
July 09, 2014, 09:04:10 PM |
|
I had a power outage and after I restarted the proxy would not run. It had a bunch of errors (which I did not record - sorry). I recopied the original files and deleted the database folder and it is working again. I am guessing it was the deleting of the database folder which actually fixed it but you may want to code for that kind of crash. You might even be able to reproduce it by killing the proxy miner processes.
|
|
|
|
Pfool (OP)
|
|
July 09, 2014, 10:04:05 PM |
|
Thank for the bug report. I will look at it. (Could you post the error message if it happens again ?)
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
not.you
Legendary
Offline
Activity: 1726
Merit: 1018
|
|
July 09, 2014, 10:12:43 PM |
|
Thank for the bug report. I will look at it. (Could you post the error message if it happens again ?)
I will but I also put the computer on a UPS so it's not likely to happen again for me.
|
|
|
|
cayars
|
|
July 10, 2014, 01:05:14 PM |
|
Any chance you might look into CryptoNight a bit closer?
I've been working with it a bit in ccminer.exe and it appears the only real changes are the use of JSON2. Other than this I'm not really seeing any differences.
Carlo
|
|
|
|
Pfool (OP)
|
|
July 10, 2014, 06:27:40 PM |
|
Any chance you might look into CryptoNight a bit closer?
I've been working with it a bit in ccminer.exe and it appears the only real changes are the use of JSON2. Other than this I'm not really seeing any differences.
Carlo
I have already looked at cpuminer-multi in the past to add the cryptonight currencies support to the proxy but unfortunately, the pool mining of these currencies use a stratum-like protocol, but not stratum (I don't know why). Stratum-like since it uses JSON-RPC (2.0 but it is not a problem) over a TCP connection, but all JSON-RPC methods are new (there is no mining.authorize but login, no mining.subscribe, no mining.notify but getwork and more...). I do not want to add overhead on the proxy to add cryptonight support. I think the best solution is to fork the project and modify the "stratum" connections handling for cryptonight pools/miners.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
catia
|
|
July 12, 2014, 07:33:42 PM |
|
This is a really nice project. I think it would be really cool if there were "groups" of connections. So when I want to switch my farm to another algo, I can switch the proxy to pools I like for that algo without remembering which ports and pools are associated with it. Just a suggestion Thanks for all the hard work.
|
|
|
|
djbert
Member
Offline
Activity: 462
Merit: 10
|
|
July 15, 2014, 11:29:30 AM |
|
Is it possible to run multiple instances of the proxy on the same computer? I tried and it just crashes. I want to run a proxy for my sha256 workers and the x11 proxy for my other ones, all on the same computer. I didn't see any options relating to this in the help. I am sure the crashes are due to the proxy using the same resources in each instance, since i can run one or the other no problem, just not both at the same time. thank you!
|
|
|
|
Pfool (OP)
|
|
July 15, 2014, 03:09:52 PM |
|
Is it possible to run multiple instances of the proxy on the same computer? I tried and it just crashes. I want to run a proxy for my sha256 workers and the x11 proxy for my other ones, all on the same computer. I didn't see any options relating to this in the help. I am sure the crashes are due to the proxy using the same resources in each instance, since i can run one or the other no problem, just not both at the same time. thank you!
Yes. You have to specify some parameters. On the command line, they are: --stratum-listen-port, --rest-listen-port, --getwork-listen-port and --database-directory. If you use the a configuration file, they are: "stratumListenPort", "getworkListenPort", "apiListenPort" and "databaseDirectory". All your instances have to have different values for all of these parameters.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
ghotiphry
Newbie
Offline
Activity: 30
Merit: 0
|
|
July 15, 2014, 07:57:23 PM |
|
Thank you for this, I'm using multiple proxy setups to maintain a single connection to a pool per algorithm. Seems I was setting off some flag with connecting from each miner that was setting a temporary ban, this is a wonderful way around it.
I do have a question about appendWorkerNames, in that I can't get it to work. Can you give me an example of how this should work, both from the stratum-proxy.conf file and how each miner would signify what name to append? I'm using config files both to start the proxy and to connect the miners.
|
|
|
|
|