Author

Topic: POOL OPERATORS! A request... (Read 1576 times)

legendary
Activity: 1260
Merit: 1000
legendary
Activity: 1795
Merit: 1198
This is not OK.
May 22, 2012, 03:27:24 PM
#11
Good to see my pro-active attempt gained some interest (Sorry if it was spammy!) Grin

OK, how about something like this:
(We'll leave workers and previous blocks for later versions.)

block =
{
    "duration" = ,
    "shares_total" = ,
    "shares_submitted" = ,
    "reward" =
}

user =
{
    "API" = 1.0.0
    "current_round" = {},
    "hash_rate" = ,
    "last_activity" = ,
    "confirmed_reward" = =120 valid blocks) in Satoshis>,
    "unconfirmed_reward" = ,
    "total_payout" = ,
    "last_payout_value" = ,
    "last_payout_time" =
legendary
Activity: 2730
Merit: 1034
Needs more jiggawatts
May 22, 2012, 03:05:20 PM
#10
I'd be interested in supporting this.

How similar are the APIs of Deepbit and Slush? Perhaps a standard can be based off of those.
sr. member
Activity: 280
Merit: 250
Nom Nom Nom
May 22, 2012, 02:53:33 PM
#9
Watching.
I would be nice, but it is somewhat irrelevant
But if someone wants to write up a standard MtRed would support it.
hero member
Activity: 742
Merit: 500
May 22, 2012, 02:39:22 PM
#8
AFAIR, slush was the first one to implement JSON API, so I just used same keys when possible in my version of API.
That's why it says "confirmed_reward" instead of just "balance".
hero member
Activity: 742
Merit: 500
May 22, 2012, 02:23:04 PM
#7
I'll +1 this. I'm all about the infoporn and the sooner someone writes a standard for APIs the sooner I get my better quality infoporn.  Grin
legendary
Activity: 2576
Merit: 1186
May 22, 2012, 02:17:48 PM
#6
If someone wants to implement it for Eligius, feel free to email me for webserver access...
legendary
Activity: 1260
Merit: 1000
May 22, 2012, 09:52:07 AM
#5
I'd be happy to implement something if it were agreed upon.

sr. member
Activity: 438
Merit: 291
May 22, 2012, 02:24:18 AM
#4
p2pool is open source so you can do it yourself.
Also there would then be a reference implementation for others to copy..
legendary
Activity: 1795
Merit: 1198
This is not OK.
May 21, 2012, 07:45:05 PM
#3
No desire to do this at all from anyone?

 Cry

My suggested info:

API version
Current round duration
Current round shares total
Current round shares submitted
Current round estimated reward BTC
Current hash rate
Last activity
Confirmed BTC
Unconfirmed BTC
Total payout BTC
Last payout BTC
Last payout time
Payout threshold
legendary
Activity: 1795
Merit: 1198
This is not OK.
May 18, 2012, 07:40:16 PM
#2
I'll expand a little...

Provide a standard output with basic info about the user/worker, MAYBE pool as well.

You can decide among yourselves what this 'basic info' is.

This isn't to replace your current APIs but to add something standard that apps can receive and not have to worry about writing X number of decoders.

Thanks Smiley
legendary
Activity: 1795
Merit: 1198
This is not OK.
May 18, 2012, 07:32:29 PM
#1
Could you, between yourselves, sort out a standard JSON API interface.

K, thanks.
Jump to: