That is a nice feature to build. Tomoyans tool shows delegate to him, maybe same way we can know delegates for other people.
RE: Condenser and Wallet Updates | Dev Update 2021-10-11
You are viewing a single comment's thread from:
Condenser and Wallet Updates | Dev Update 2021-10-11
I have opened and issue on GitLab to have this added to Blurt RPC nodes. It doesn't require a hardfork, so it should be easy enough to add. The database already keeps track of delegations. There is a method for getting outgoing delegations and expiring delegations, but no method for getting incoming delegations.
The same problem exists on Steem and Hive. Anyone that shows incoming delegations on their site, it's because they use their own solution for it.
Well that could work, I will examine the code and see if i can add.
Do you do C++?
Ohh that thing, no . But I was thinking if tomoyan added, I may add same through api
You would have to build a program that streams the blockchain for vesting_delegation operations, then put them in a database. Then build an API that will return delegations by incoming and outgoing.
It should be easy enough to do.
If I did it, I would do something similar to how I did the price info API.
Sounds easy from you , but yeah I will still try as I know you will anyways complete it if I fail
Thanks