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

Feature request: add payouts from pools (total earnings) #23

Closed
ebojali opened this issue Aug 16, 2018 · 7 comments
Closed

Feature request: add payouts from pools (total earnings) #23

ebojali opened this issue Aug 16, 2018 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@ebojali
Copy link

ebojali commented Aug 16, 2018

Hi,

A feature request on the website, an earnings page where we can get a summarized graph of all payouts from the pool, filtering option to just see TX's from a pool or all together. That info can be gathered from the API call below. This is for zergpool, I guess the other pools got the same possibility?

I just checked at Ahashpool and Zpool, they don't seem to return the payouts in the API call. Perhpas we can start with zergpool support and then chase the other pools to implement it :)

http://api.zergpool.com:8080/api/walletEx?address=WALLET_ADDRESS

result:
{
"unsold": 0.00050362,
"balance": 0.00000000,
"unpaid": 0.00050362,
"paid24h": 0.00000000,
"paidtotal" : 0.00000000,
"total": 0.00050362,
"miners":[{
"version": "ccminer/1.8.2",
"password": "d=96",
"ID": "",
"algo": "decred",
"difficulty": 96,
"subscribe": 1,
"accepted": 82463372.083,
"rejected": 0
}],
"payouts": [{
"time": "1529749163",
"amount": 0.01714574,
"tx": "8a727e1b591034ad6bdea8be2d82849e8eeaeaf3427414c92327a77c9c56b667"
}, {
"time": "1529705825",
"amount": 0.02249281,
"tx": "491ed3628e7bc3349c7c8bae92baabdcd5edafd49e650c1d811e505a2afe5d93"
}]
}

@RainbowMiner RainbowMiner self-assigned this Aug 16, 2018
@RainbowMiner RainbowMiner added the enhancement New feature or request label Aug 16, 2018
@RainbowMiner
Copy link
Owner

Good idea. I will have a look into the divers APIs and see, what I can do.

RBM

@ebojali
Copy link
Author

ebojali commented Aug 20, 2018

Blazepool now added the payouts to their API call:

http://api.blazepool.com/wallet/<WALLET_ADDRESS>

@RainbowMiner
Copy link
Owner

Ah, super! Then we already have two. I think, now we could start showing the transactions.

@ebojali
Copy link
Author

ebojali commented Aug 21, 2018

Yeah. A plot of the payout would be great.
Individual pools as well as accumulated 👍😁

@Byrd1083
Copy link

Byrd1083 commented Aug 31, 2018

Very nice enhancement! Keep up the great work!

Would also be cool to take one step further and implement a read out of some kind of your daily real profits earned over some period of time. Basically some kind of reporting scrypt to see how accurate it is against the pools and to see your past daily or weekly or monthly earning from rainbow itself.

@RainbowMiner
Copy link
Owner

Oh! I did miss the last statement. Yes, that would be real cool. It looks like, that more and more pools show transactions to their API, so it would be good to start with this enhancement, now.
My plan is to add a database to collect those transactions, because most pools only show the last X transactions and not the full history. I give it a go, now.
RBM

@RainbowMiner
Copy link
Owner

This is now implemented - we need to wait for the pool owners to implement this feature to their APIs. I will contact them one be one and ask for implementation.

RainbowMiner added a commit that referenced this issue Jun 11, 2019
- Significant x25x speed increase

New features:

- Use environment variables in config files
- Use %YOUR_ENV_VAR% in any config file field and it will substitute it with the value of YOUR_ENV_VAR environment variable set in your system

Bug fixes:

- Temperature limit bug (GPU got disabled if there was problems with NVML)
- P2pool fix #23
- Show NVML errors and unsupported features
- Truncate MTP share log message when using --protocol-dump
- Fix start-up failure in some cases for CUDA 9.1 builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants