AlgoNode / indexer-api-cdb

searchable history and current state
MIT License
1 stars 0 forks source link

Add ability to search for online accounts #4

Open urtho opened 2 months ago

urtho commented 2 months ago

Upstream issue : algorand/indexer#1629

Problem

There is no way to quickly fetch all online accounts[^1].

Solution

Response model should include:

Notes:

urtho commented 1 month ago

Let's wait a bit for a confirmation on how suspended accounts look like (is-online:false + valid keyreg ?) so that we can show paused accounts in the results as well.

urtho commented 1 month ago

Thinking we should publish new , not yet merged functionality under different prefix instead of /v2. This would allow us not to break apps that used bleeding-edge stuff after the feature got renamed during the final merge.

agodnic commented 1 month ago

Let's wait a bit for a confirmation on how suspended accounts look like (is-online:false + valid keyreg ?) so that we can show paused accounts in the results as well.

Do we have a confirmation of this?

Sorry if this is a dumb question, I don't know what suspended/paused accounts are. A quick google search yielded this:

[...] the network to suspend delinquent participants/ accounts from the staking set. Where that participant/account has failed to execute their incumbent responsibilities

urtho commented 1 month ago

still no confirmation. Lets assume for now that suspended account will have online = false and a valid (last key round greater than current round) key material still on the account.

We will also need a block search endpoint with filters like proposer , booted proposer - but will create a separate issue for that.