Closed samcm closed 4 months ago
Hey @samcm, I'm so sorry to come late to check this, but it looks really good! I'll be working on a refactor/update of the crawler over this and the next week, so I'll try to extend the number of stream events as we previously talked
Motivation
Publishes Server Sent Events (SSE) allowing external consumers to listen for events created by Armiarma.
Using https://github.com/r3labs/sse
Description
Creates a new
events
package, with aForwarder
struct that listens for "internal" events, annotates them with extra data, and published a new event over SSE that is sanitized. Attempting to avoid importing "internal" structs in these events so we have a clear seperation of concerns.Created 2 initial events:
ethereum_attestation
- A raw Ethereum attestationtimed_ethereum_attestation
- An Ethereum attestation with additional data like peer/timing infoTasks
Unknown
Proof of Success