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

historic pool_list #208

Closed
gufmar opened this issue Jul 4, 2023 · 1 comment · Fixed by #238
Closed

historic pool_list #208

gufmar opened this issue Jul 4, 2023 · 1 comment · Fixed by #238
Labels
good first issue Good for newcomers queries
Milestone

Comments

@gufmar
Copy link

gufmar commented Jul 4, 2023

Is your feature request related to a problem? Please describe.
pool_info .pool_status values shows registered and retiring as values but no retired
Now there are several history endpoints offering _epoch_no as a query parameter, such as pool_history and pool_delegator_history
But without a complete list of pools for that epoch, I can't dig into historic informations.

Describe the solution you'd like
get a complete list of a specific historic epochs pool landscape

Describe alternatives you've considered
One idea is to query all pool updates since ep207, and then walk through from oldest to newest to build a temp set of pool_ids active in a certain epoch.
Ideally this comes cached and precalculated from an the existing pool_list or a new endpoint

@rdlrt rdlrt added this to the Koios vNext milestone Aug 2, 2023
@rdlrt rdlrt moved this to Next Up in Koios Project Aug 2, 2023
@rdlrt rdlrt added queries good first issue Good for newcomers labels Aug 2, 2023
@rdlrt rdlrt mentioned this issue Aug 11, 2023
@rdlrt rdlrt moved this from Next Up to Testing in Koios Project Aug 15, 2023
@rdlrt
Copy link
Contributor

rdlrt commented Aug 25, 2023

Fixed in #227

@rdlrt rdlrt closed this as completed Aug 25, 2023
@rdlrt rdlrt mentioned this issue Oct 6, 2023
59 tasks
rdlrt added a commit that referenced this issue Oct 13, 2023
## Description
<!--- Describe your changes -->
[Re-created from #227 post renaming base-branch]

- [x] pool_list: Return all fields from pool_info_cache (latest pool entry)
- [x] Remove filter for returning only 'registered' pools from pool_list, pool_relays and pool_metadata endpoints
- [x] Few more linting polishing (remove trailing spaces, move single column/table references onto same line)
- [x] Update pool_info to return same metadata as pool_list and pool_metadata (latest w/o fallback)
- [x] Update all tx_in joins to use the new tx_out.consumed_by_tx_in_id
- [x] Dont include epoch_params in epoch_info_cache, update references accordingly
- [x] Update `*_txs` as per #186 (point 4)
- [x] Update `*_utxos` as per #186 (point 3)
  - [x] credential_utxos
  - [x] address_utxos
  - [x] account_utxos
  - [x] utxo_info
  - [x] asset_utxos
  - [x] script_utxos
- [x] Add script_info and align all endpoints for scripts
- [x] Add temporary cron for fixing epoch count mismatch
- [x] Add pool_registrations/pool_deregistrations endpoint
- [x] Add retired txs to `pool_updates` (other fields for such transactions will return `null`)
- [x] Add reward_withdrawals/treasury_withdrawals endpoint
- [x] Simplify address_assets and account_assets heirarchy to return flat table (helps do horizontal filtering as desired)
- [x] API Spec updates:
  - [x] Add section for Authentication
  - [x] Bump Koios version
  - [x] pool_list
  - [x] pool_metadata
  - [x] pool_relay
  - [x] `*_txs`
  - [x] `*_utxos`
  - [x] `address_assets`
  - [x] `account_assets`
  - [x] `epoch_params`
  - [x] `pool_registrations`/`pool_deregistrations`
  - [x] `reward_withdrawals`/`treasury_withdrawals`
  - [x] All script-related endpoints
  - [x] Update examples
  - [x] Check re-usability
  - [x] Check schemathesis
    - [x] guild
    - [x] preview
    - [x] preprod
    - [x] mainnet
- [x] Add v0 vs v1 to monitoring
  - [x] guild
  - [ ] preview (post merge)
  - [ ] preprod (post merge)
  - [ ] mainnet (post 1.1.0 - instead of 1.1.0rc) release

- [x] Ogmios
  - [x] Add integration for tx Evaluation and submission using ogmios path
  - [x] Add health check based on /health (`version` and `networkSynchronization`)
- [x] Update CHANGELOG
- [x] Bump final specs version number to v1 

## Which issue it fixes?
<!--- Link to issue: Closes #issue-number -->
- [x] Closes #208
- [x] Closes #218
- [x] Closes #186 
- [x] Closes #221
- [x] Closes #224
- [x] Closes #191
- [x] Closes #232
- [x] Closes #240 #241

---------

Co-authored-by: KoT_B_KocMoce <[email protected]>
Co-authored-by: Ola [AHLNET] <[email protected]>
@rdlrt rdlrt moved this from Testing to Completed in Koios Project Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers queries
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

2 participants