Git Product home page Git Product logo

proxypool's Issues

IOException in DB: connect: does not exist (Connection refused)

Hi,

I have compiled with success the sources but when I start the "server" I see this error

[2014-03-01 07:07:57][db][INFO] Connecting to localhost
[2014-03-01 07:07:57][db][WARNING] IOException in DB: connect: does not exist (Connection refused)
[2014-03-01 07:07:57][db][WARNING] Sleeping for 5 seconds before reconnection

What kind of DB must I have ?

Thanks,
Amaury

IOException in client: <socket: 32>: Data.ByteString.hGetLine: end of file

Hi,

Reguliary, I see this messages in debug mode (I have plenty of small cpu miner)

2014-03-02 05:33:10][client][INFO] Client (435) from "91.183.65.xxx" connected
[2014-03-02 05:33:11][client][INFO] Client (436) from "109.88.93.xxx" connected
[2014-03-02 05:33:11][client][INFO] IOException in client: <socket: 32>: Data.ByteString.hGetLine: end of file
[2014-03-02 05:33:11][client][INFO] IOException in client: <socket: 40>: Data.ByteString.hGetLine: end of file
[2014-03-02 05:33:16][client][INFO] Client (437) from "87.66.208.xxx" connected
[2014-03-02 05:33:16][client][INFO] IOException in client: <socket: 32>: Data.ByteString.hGetLine: end of file

I have tested with p2pool (litecoin) and hypernova (standard pool) and same messages appear. Globally it work but I think that certains miners can't give works to the proxy.

Thanks a lot for this fantastic work,
Mo

Redirect cgminer 3.7.2 & static diff

Thank you very much for your great work on this proxy!! Two questions:

1. Is it possible to disable vardiff and set a static diff?

Feasable workaround? => set vardiffInitial to desired fixed diff and vardiffAllowance to 99999999

2. Loosing miners with buggy cgminer 3.7.2 is too bad:

Best solution would be to detect cgminer 3.7.2 users through the version string during mining subscribe:
{"id": 0, "method": "mining.subscribe", "params": ["cgminer/3.7.2"]}

And send them a {"params": ["192.168.1.1","4444"], "id": null, "method": "client.reconnect"} command in order to connect to annother port (backup stratum) which supports cgminer 3.7.2.

I would love to code it myself, but i am not used to haskell. I suppose, this will take you only 20 minutes to implement.

Thank you very much for your consideration!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.