You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,17 @@ changes.
39
39
- Add support for `Conway` in `hydra-chain-observer`.
40
40
41
41
-**BREAKING** Change to the `hydra-node` logs, monitoring and removal of `log-filter` executable:
42
-
- We renamed the `Event` data types to `Input` and consequently log items like `BeginEvent` to `BeginInput`.
43
-
- In course of this, we also removed the `log-filter` executable as nobody is actively using it and we recommend using other off-the-shelf utilities to manipulate structured JSON logs (`jq` is already quite powerful).
42
+
- Renamed the `Event` data types to `Input` and consequently log items like `BeginEvent` to `BeginInput`.
43
+
- Changed structure of `LogicOutcome` entries.
44
+
- Added node-level log entry when an input was `DroppedFromQueue`.
45
+
- In course of this, the `log-filter` executable was removed as nobody is actively using it and other off-the-shelf utilities to manipulate structured JSON logs (`jq` is already quite powerful) are recommended.
- Introduce `EventSource` and `EventSink` interfaces in `hydra-node`:
49
+
- These handles can now be used as "extension points" to make the `hydra-node` store and load its state differently or expose `StateEvent`s to other, external services.
50
+
- Internal refactoring of persistence mechanism as event source and sink in a backward-compatible way.
51
+
- More details can be found in [ADR21](https://hydra.family/head-protocol/adr/21/)
52
+
46
53
## [0.15.0] - 2024-01-18
47
54
48
55
- Tested with `cardano-node 8.7.3` and `cardano-cli 8.17.0.0`.
Copy file name to clipboardexpand all lines: docs/adr/2023-11-07_029-event-source-sink.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@ slug: 29
3
3
title: |
4
4
29. EventSource & EventSink abstractions
5
5
authors: [cardenaso11, quantumplation, ch1bo]
6
-
tags: [Draft]
6
+
tags: [Accepted]
7
7
---
8
8
9
9
## Status
10
-
Draft
10
+
Accepted
11
11
12
12
## Context
13
13
@@ -42,12 +42,12 @@ Draft
42
42
```hs
43
43
dataHydraNodetxm=HydraNode
44
44
{-- ...
45
-
, eventSource::EventSource (StateChangedtx) m
46
-
, eventSinks:: [EventSink (StateChangedtx) m]
45
+
, eventSource::EventSource (StateEventtx) m
46
+
, eventSinks:: [EventSink (StateEventtx) m]
47
47
}
48
48
```
49
49
50
-
*The `hydra-node` will load events and__hydra_te its `HeadState` using `getEvents`of the single `eventSource`.
50
+
*The `hydra-node` will load events and`hydrate` its `HeadState` using `getEvents`of the single `eventSource`.
51
51
52
52
*The`stepHydraNode` main loop does call `putEvent` on all`eventSinks`insequence.Any failure will make the `hydra-node` process terminate and require a restart.
0 commit comments