SockThing
SockThing copied to clipboard
Submitting a block says "Block sumitted:"
Instead of "submit" not sure if this is a spelling error. Found when I got a block with SockThing yesterday :)
I actually just fixed that yesterday I think.
On Tue, Dec 10, 2013 at 10:19 PM, sigkill [email protected] wrote:
Instead of "submit" not sure if this is a spelling error. Found when I got a block with SockThing yesterday :)
— Reply to this email directly or view it on GitHubhttps://github.com/fireduck64/SockThing/issues/4 .
Joseph, another bug found: on coin other then BTC, very offten.
No more witty remarks {"id":1,"result":49790,"error":null} Update triggered. Clean: true org.json.JSONException: JSONObject["result"] is not a number. at org.json.JSONObject.getDouble(JSONObject.java:517) at sockthing.StratumServer.updateDifficulty(StratumServer.java:435) at sockthing.StratumServer.triggerUpdate(StratumServer.java:447) at sockthing.StratumServer.access$700(StratumServer.java:21) at sockthing.StratumServer$NewBlockThread.doRun(StratumServer.java:403) at sockthing.StratumServer$NewBlockThread.run(StratumServer.java:381) {"id":1,"result":49790,"error":null}
seems bug here.
public double getDifficulty()
throws java.io.IOException, org.json.JSONException
{
JSONObject post;
post = new
JSONObject(bitcoin_rpc.getSimplePostRequest("getdifficulty")); return bitcoin_rpc.sendPost(post).getDouble("result"); # << }
2nd.
I Implement MySQL handler socket connection. Work in times faster with less SQL load. https://code.google.com/p/hs4j/ https://code.google.com/p/hs4j/ https://code.google.com/p/handlersocketforjava/
Here about hander sockets http://www.slideshare.net/akirahiguchi/handlersocket-20100629en-5698215?from_search=4
On Wed, Dec 11, 2013 at 8:38 AM, Joseph Gleason [email protected]:
I actually just fixed that yesterday I think.
On Tue, Dec 10, 2013 at 10:19 PM, sigkill [email protected] wrote:
Instead of "submit" not sure if this is a spelling error. Found when I got a block with SockThing yesterday :)
— Reply to this email directly or view it on GitHub< https://github.com/fireduck64/SockThing/issues/4> .
— Reply to this email directly or view it on GitHubhttps://github.com/fireduck64/SockThing/issues/4#issuecomment-30298114 .