Author

Topic: [DEAD] DeepBit.net PPS+Prop,instant payouts, we pay for INVALID BLOCKS too - page 242. (Read 1601352 times)

newbie
Activity: 5
Merit: 0
Can you please adjust the API to output JSON in an easier to use format?
Some people already asked me for that, but I can't just change it because that would break all the existing software.
May be it can be done as optional mode by additional key. (And I wanted to do JSONP too).

The existing JSON format is perfectly readable and valid. Do you need help with parsing it ? What programming language do you use ?

I'm using .NET and the current message format seems to be preventing me from using a DataContractJsonSerializer on the worker objects.  I'd like to avoid using the json serializer on codeplex and just do it natively.

It's not a big deal, really. No worries.

JSON parsing looks to be so simple that you are probably better off writing your own anyway since it should fit into your app exactly the way you intend and will be as lightweight as possible where caned code is possibly over engineered or over featured for what you want.   There is good code on Codeplex, but clearly you are suffering from a limitation now anyway :$

BTW, is there an official JSON spec?

Yes: http://www.json.org/javadoc/org/json/JSONArray.html
http://www.ietf.org/rfc/rfc4627.txt

A JSONArray is an ordered sequence of values. Its external text form is a string wrapped in square brackets with commas separating the values.  Smiley
member
Activity: 98
Merit: 10
Can you please adjust the API to output JSON in an easier to use format?
Some people already asked me for that, but I can't just change it because that would break all the existing software.
May be it can be done as optional mode by additional key. (And I wanted to do JSONP too).

The existing JSON format is perfectly readable and valid. Do you need help with parsing it ? What programming language do you use ?

I'm using .NET and the current message format seems to be preventing me from using a DataContractJsonSerializer on the worker objects.  I'd like to avoid using the json serializer on codeplex and just do it natively.

It's not a big deal, really. No worries.

JSON parsing looks to be so simple that you are probably better off writing your own anyway since it should fit into your app exactly the way you intend and will be as lightweight as possible where caned code is possibly over engineered or over featured for what you want.   There is good code on Codeplex, but clearly you are suffering from a limitation now anyway :$

BTW, is there an official JSON spec?
newbie
Activity: 5
Merit: 0
Can you please adjust the API to output JSON in an easier to use format?
Some people already asked me for that, but I can't just change it because that would break all the existing software.
May be it can be done as optional mode by additional key. (And I wanted to do JSONP too).

The existing JSON format is perfectly readable and valid. Do you need help with parsing it ? What programming language do you use ?

I'm using .NET and the current message format seems to be preventing me from using a DataContractJsonSerializer on the worker objects.  I'd like to avoid using the json serializer on codeplex and just do it natively.

It's not a big deal, really. No worries.
hero member
Activity: 742
Merit: 500
Can you please adjust the API to output JSON in an easier to use format?
Some people already asked me for that, but I can't just change it because that would break all the existing software.
May be it can be done as optional mode by additional key. (And I wanted to do JSONP too).

The existing JSON format is perfectly readable and valid. Do you need help with parsing it ? What programming language do you use ?
newbie
Activity: 5
Merit: 0
Can you please adjust the API to output JSON in an easier to use format?

current:
Code:
{
    "confirmed_reward":0.00486235,
    "hashrate":17.13793103,
    "ipa":false,
    "workers":{
        "workername1":{
            "alive":true,
            "shares":8,
            "stales":0
        },
        "workername2":{
            "alive":true,
            "shares":11,
            "stales":0
        },
        "workername3":{
            "alive":true,
            "shares":4,
            "stales":0
        }
    }
}

Proposed change:
Code:
{
    "confirmed_reward":0.00486235,
    "hashrate":17.13793103,
    "ipa":false,
    "workers":[{
            "name":"worker1",
            "alive":true,
            "shares":8,
            "stales":0
        },
        {
            "name":"worker2",
            "alive":true,
            "shares":11,
            "stales":0
        },
        {
            "name":"worker3",
            "alive":true,
            "shares":4,
            "stales":0
        }
    ]
}
newbie
Activity: 29
Merit: 0
Thanks Tycho.  You're a champ for replying so fast!
hero member
Activity: 742
Merit: 500
I just changed to PPS and now the Deepbit website right sidebar is showing that I'm contributing nothing each day and getting 0.00 BTC.  I had been in proportional mode and was getting 0.19 BTC per day after the recent difficulty change.
Your history column shows latest solved blocks and your part of those blocks if you are using Proportional mode.
With PPS mode your reward doesn't depends on blocks at all, so it's not shown there. Your balance will just increase each hour.
newbie
Activity: 29
Merit: 0
I just changed to PPS and now the Deepbit website right sidebar is showing that I'm contributing nothing each day and getting 0.00 BTC.  I had been in proportional mode and was getting 0.19 BTC per day after the recent difficulty change.

The number of shares completed by my worker are incrementing correctly.  I'm using poclbm 20110325 on Windows with nVidia 460.  Can I fix this?  Thanks.
hero member
Activity: 742
Merit: 500
I started mining last weekend, and I had a nice income with my cayman GPU with prop. mode.
Now I get like no income compared to what I used to get last weekend per hour? should I change to pps?
It's caused by recent difficulty adjustment.
hero member
Activity: 588
Merit: 500
Hey [Tycho], when I go into my worker's page and then hit 'Reset counters' I get the error 'Insufficient_magic!' and the counters do not reset. Where can I get some more magic?
Sorry for this, will add now.

EDIT: Fixed.

It worked, thanks for the extra magic!
newbie
Activity: 10
Merit: 0
I started mining last weekend, and I had a nice income with my cayman GPU with prop. mode.

Now I get like no income compared to what I used to get last weekend per hour? should I change to pps?
member
Activity: 82
Merit: 10
EDIT:

removed as i didn't notice [Tycho] has answered. I must be getting blind :O
hero member
Activity: 742
Merit: 500
I'm getting a lot more connection problem lately, not sure what is up? I'm using GUIminer, i didn't have connection problems before but it's been getting a lot lately.
PM me your login name please.
hero member
Activity: 742
Merit: 500
One more question and then i start preparing to format/change.
What happens if i don't manage to get bitcoin client back online when auto payment happens?
Is it in "bounce" and i receive it when client is online? Or is it lost cause?
You can be online or offline, it's almost the same.

If you are online, you will see the payment instantly and when it's included in some block it will be confirmed.
If you are offline, you will usually see the payment when it's confirmed.
hero member
Activity: 742
Merit: 500
Hey [Tycho], when I go into my worker's page and then hit 'Reset counters' I get the error 'Insufficient_magic!' and the counters do not reset. Where can I get some more magic?
Sorry for this, will add now.

EDIT: Fixed.
newbie
Activity: 42
Merit: 0
Hey [Tycho], when I go into my worker's page and then hit 'Reset counters' I get the error 'Insufficient_magic!' and the counters do not reset. Where can I get some more magic?
you can get some magic from creator. obviously for BitCoins Wink
/irony
probably its unfinished.
hero member
Activity: 588
Merit: 500
Hey [Tycho], when I go into my worker's page and then hit 'Reset counters' I get the error 'Insufficient_magic!' and the counters do not reset. Where can I get some more magic?
newbie
Activity: 23
Merit: 0
greetings all. i am brand spanking new and i'm unable to log in using RPCminer. i get the same response (see below) when i give my correct login and when i give it gibberish. this leads me to believe that i am entering the site name, port, username or password wrong. i can use the username and password to login to deepbit.net. if anyone sees anything in the printout below, please let me know. thanks for your time. happy mining.

RPCminer setup wizard
CPU based Bitcoin miner.
------------------------
Server host name or IP address: http://deepbit.net
Server port number: 8332
Miner username: username
Miner password: password


Starting RPCminer (CPU)...
--------------------------
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 6
No blocks are being hashed right now.  This can happen if the application is
still starting up, you supplied incorrect parameters, or there is a
communications error connecting to the RPC server.
Could not retrieve work from RPC server.
CURL return value = 6
member
Activity: 82
Merit: 10
One more question and then i start preparing to format/change.

What happens if i don't manage to get bitcoin client back online when auto payment happens?

Is it in "bounce" and i receive it when client is online? Or is it lost cause?
newbie
Activity: 54
Merit: 0
 I'm getting a lot more connection problem lately, not sure what is up? I'm using GUIminer, i didn't have connection problems before but it's been getting a lot lately.
Jump to: