SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.03k stars 124 forks source link

API to get current share size #177

Closed Titaniumtown closed 2 years ago

Titaniumtown commented 2 years ago

I can't seem to find any way for me to get the current share size that p2pool requires. Could this be added?

Titaniumtown commented 2 years ago

Never mind, I believe I can use: /api/shares_in_window

Titaniumtown commented 2 years ago

Nevermind actually, it seems to not work: https://p2pool.io/mini/api/shares_in_window/1

SChernykh commented 2 years ago

the current share size that p2pool requires

What exactly do you mean by that? There's no /api/shares_in_window

Titaniumtown commented 2 years ago

it says there should be on: https://p2pool.observer/api

I think https://p2pool.observer/api is seperate from the api provided by p2pool nodes. very confusing. I can just use that instead.