-
Notifications
You must be signed in to change notification settings - Fork 416
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
Active leases and balance details at height #2854
Comments
Hi. |
Still there's no such API in data services neither node. I agree with bodrych that it would be useful for leasing reward calculations |
Hi, yes. Soon the docs and howto will be available for this extension. |
btw, why do you need active leases at certain height ? |
that can be increased 🙃 |
yes. it can be increased even now with config file, but it will increase Node state size. |
@pivoo81 not extremely :) I have increased it to 3,000,000 blocks when waves-metrics was alive |
So what about the use case for active leases at height ? |
@bodrych in this case not only state size is increasing. In current implementation all operations (reading and writing) are slowering because of database size. |
In my case I have a telegram bot(@BoxiNodeBot), this bot is sending live messages of distributed rewards of the mined block for each leaser. So, the bot is monitoring blocks in real-time and calculating rewards in real-time(it's cool as leasers can see their rewards in real-time). |
Аbstract
There is no node API for obtaining active leases and balance details at a certain height
Motivation and Purposes
It would be useful for leasing reward calculations
Specification
/leasing/active/{address}/{height}
/addresses/balance/details/{address}/{height}
Backwards Compatibility
The proposition can't affect any existing features
The text was updated successfully, but these errors were encountered: