Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submitting a block says "Block sumitted:" #4

Open
sigkill opened this issue Dec 11, 2013 · 2 comments
Open

Submitting a block says "Block sumitted:" #4

sigkill opened this issue Dec 11, 2013 · 2 comments

Comments

@sigkill
Copy link

sigkill commented Dec 11, 2013

Instead of "submit" not sure if this is a spelling error. Found when I got a block with SockThing yesterday :)

@fireduck64
Copy link
Owner

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//issues/4
.

@sysmanalex
Copy link

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//issues/4#issuecomment-30298114
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants