ceremonyclient/node/consensus/time/time_reel.go

15 lines
318 B
Go
Raw Normal View History

2024-02-13 07:04:56 +00:00
package time
import (
"source.quilibrium.com/quilibrium/monorepo/node/protobufs"
)
type TimeReel interface {
Start() error
Stop()
2024-03-17 21:14:37 +00:00
Insert(frame *protobufs.ClockFrame, isSync bool) error
2024-02-13 07:04:56 +00:00
Head() (*protobufs.ClockFrame, error)
NewFrameCh() <-chan *protobufs.ClockFrame
BadFrameCh() <-chan *protobufs.ClockFrame
}