wrote embassy journal emissions

This commit is contained in:
Jay
2026-05-09 19:08:16 -04:00
parent f96e872e4b
commit c0c23715e6
4 changed files with 169 additions and 12 deletions
+4 -4
View File
@@ -26,7 +26,7 @@ type JournalCollector struct {
type JournalEntry interface {
PeerID() string
SealedAt() time.Time
Author() component.Component
Component() component.Component
}
type entry struct {
@@ -35,9 +35,9 @@ type entry struct {
component component.Component
}
func (e *entry) PeerID() string { return e.peerID }
func (e *entry) SealedAt() time.Time { return e.sealedAt }
func (e *entry) Author() component.Component { return e.component }
func (e *entry) PeerID() string { return e.peerID }
func (e *entry) SealedAt() time.Time { return e.sealedAt }
func (e *entry) Component() component.Component { return e.component }
// ----------------------------------------------------------------------------
// Journal Collector