-
Notifications
You must be signed in to change notification settings - Fork 23
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
Pass continuation for handling ledger events #402
base: main
Are you sure you want to change the base?
Commits on Sep 20, 2023
-
Add 'AuxLedgerEvent' hook to ledgerDbSwitch
Now, needs to be threaded down to 'addBlockSync' and up back to 'runWith' to be usable from the node. The goal for now is simply to print ledger events on the console on a running node.
Configuration menu - View commit details
-
Copy full SHA for eb18a35 - Browse repository at this point
Copy the full SHA eb18a35View commit details -
Finish threading 'handleLedgerEvent' callback through the consensus s…
…tack - I've skipped 'chainSelectionForFutureBlocks' and 'addBlockAsync' which seem not relevant to the use case of streaming events down to clients. Those functions are used in anticipation when preparing blocks to apply from the mempool but should likely not lead to any event notification. - Similarly, the handler is set to 'const $ pure ()' on initialization functions which are simply replaying the database.
Configuration menu - View commit details
-
Copy full SHA for 852ae3d - Browse repository at this point
Copy the full SHA 852ae3dView commit details -
Bump CHaP and ouroboros-network in ouroboros-consensus-diffusion
So that we can use the newest 'local' ouroboros-consensus-diffusion for building the node, at the same time as our new patch consensus.
Configuration menu - View commit details
-
Copy full SHA for 971c1c9 - Browse repository at this point
Copy the full SHA 971c1c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1026b39 - Browse repository at this point
Copy the full SHA 1026b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57f56e9 - Browse repository at this point
Copy the full SHA 57f56e9View commit details
Commits on Sep 21, 2023
-
Wrap event handler as a newtype
This is to prepare adding arguments to index events by block hash/slot number
Configuration menu - View commit details
-
Copy full SHA for 34d185e - Browse repository at this point
Copy the full SHA 34d185eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68260b6 - Browse repository at this point
Copy the full SHA 68260b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26cfb96 - Browse repository at this point
Copy the full SHA 26cfb96View commit details
Commits on Oct 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 808b7f6 - Browse repository at this point
Copy the full SHA 808b7f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e39f524 - Browse repository at this point
Copy the full SHA e39f524View commit details -
Changed LedgerEventHandler to emit a list of AuxLedgerEvents so that …
…clients can now if a rollback occurred, or if they missed an event.
Configuration menu - View commit details
-
Copy full SHA for c478377 - Browse repository at this point
Copy the full SHA c478377View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c139ed - Browse repository at this point
Copy the full SHA 8c139edView commit details
Commits on Oct 5, 2023
-
Fix broken ouroboros-consensus-diffusion with missing 'blk' type para…
…meter for LedgerEventHandler
Configuration menu - View commit details
-
Copy full SHA for 2fe143f - Browse repository at this point
Copy the full SHA 2fe143fView commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ffb2fa - Browse repository at this point
Copy the full SHA 1ffb2faView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab42867 - Browse repository at this point
Copy the full SHA ab42867View commit details