This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add epoch stakepool size indexer (#850)
* Add suffixes to sqlite databases * Add ledger state streaming, equivalent to foldBlocks defined in cardano-api - Cardano.Streaming.Callbacks: Add primitive callback based versions of local chainsync to Cardano.Streaming. `blocksCallback` and `blocksCallbackPipelined` both take a callback when iterating over the received blocks from local chainsync connection - Cardano.Streaming: streaming package's versions to stream blocks or ledger states. `foldLedgerState` does essentially what `foldBlocks` does in cardano-api:Cardano.Api.LedgerState, with the difference that it doesn't drop connection when it's up to date with regarding to the node, but keeps listening. * Add epoch stakepool size indexer The `toEvents` and `getStakeMap` make up the core of the implementation in Marconi.Index.EpochStakepoolSize. * Refactor marconi test for reuse in epoch stakepool size indexer * Add test for epoch stakepool size indexer * Add changelog entry * Disable test and add TODO * Fix warnings * Fix marconi.cabal
- Loading branch information
Showing
15 changed files
with
1,287 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
cardano-streaming/changelog.d/20221207_115251_markus.lall_plt_171_wip.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Added | ||
|
||
- Fold blocks into ledger state at client side using local chainsync protocol, both pipelined and non-pipelined versions are provided. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.