ceremonyclient/node/consensus/time/time_reel.go
2025-01-09 02:32:49 -06:00

17 lines
357 B
Go

package time
import (
"context"
"source.quilibrium.com/quilibrium/monorepo/node/protobufs"
)
type TimeReel interface {
Start() error
Stop()
Insert(ctx context.Context, frame *protobufs.ClockFrame) (<-chan struct{}, error)
Head() (*protobufs.ClockFrame, error)
NewFrameCh() <-chan *protobufs.ClockFrame
BadFrameCh() <-chan *protobufs.ClockFrame
}