[FR] - Pending ledger-state dependencies
External otherwise.
Background:
< Please correct if I misrepresent any information below >
During initial implementation , few of the protocol information that were not present in blocks were lumped together in ledger-state - but this was asked not to be used , being a debug-only interface. Absence of this information left holes in various tools built around in Cardano ecosystem, which meant folks had to work with this increasingly humongous ledger-state dumps, or let go of some information.
Recently, efforts are being made to make these available outside of ledger-state , with stake-snapshot already being tackled.
Feature Request:
Note: The request is NOT for exposing stuff via CLI, but for any 'supported' means that is lightweight enough (eg: via mini protocol)
This issue aims to simply list any other information that might still only be available within ledger-state itself. Depending on plans, there can perhaps be further individual issues created to track each individual item.
- [ ] Querying individual Stake Snapshots for
delegationMap,stakeMapandpoolParamsforstakeGoandstakeMark. (WIP tracked via #4982) - [ ] Proposed Protocol Param updates
- [ ] Treasury
- [ ] Epoch Fees
- [ ] Reserves
- [ ] Hit Rate estimates (apparent pool performance)
Describe alternatives you've considered
Dumping ledger-state (with/without JSON), but that was never sustainable, not supported.
Additional context / screenshots
Follow discussion in #3691
Various Tools this would be beneficial to:
- Ogmios (and thus, kupo)
- CNCLI
- Carp
- Scrolls
- Yaci
- DBSync (currently already parses ledger-state, which ends up using humongous amounts of memory. Could possibly reduce it's memory footprint by ~70%)
- Marconi(?) - not sure if they plan to be a complete chain indexing solution
- All tools/solutions that use above behind the scenes
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
https://github.com/input-output-hk/cardano-node/issues/4984#issuecomment-1507815579
No. Be nice bot.